mirror of https://github.com/apache/openjpa.git
minor pom updates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003634 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a4080f46f5
commit
c92c435728
|
@ -170,6 +170,7 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>${surefire.jvm.args}</argLine>
|
||||
<excludes>
|
||||
<!-- exclude classes that end with 'Test'; these
|
||||
are not test cases per OpenJPA standards -->
|
||||
|
|
|
@ -61,8 +61,8 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- Extract the common test support files from o-p-j-tests.jar -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
@ -90,38 +90,41 @@
|
|||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<!-- Use openjpa maven plugin to enhance the domain model classes -->
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>openjpa-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<includes>org/apache/openjpa/integration/jmx/*.class</includes>
|
||||
<addDefaultConstructor>true</addDefaultConstructor>
|
||||
<enforcePropertyRestrictions>true</enforcePropertyRestrictions>
|
||||
<!-- persistenceXmlFile>${project.basedir}/src/test/resources/META-INF/persistence.xml</persistenceXmlFile-->
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>enhancer</id>
|
||||
<phase>process-test-classes</phase>
|
||||
<goals>
|
||||
<goal>test-enhance</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-all</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- The surefire plugin is used to run the jUnit tests -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<plugin>
|
||||
<!-- Use openjpa maven plugin to enhance the domain model classes -->
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>openjpa-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<includes>org/apache/openjpa/integration/jmx/*.class</includes>
|
||||
<addDefaultConstructor>true</addDefaultConstructor>
|
||||
<enforcePropertyRestrictions>true</enforcePropertyRestrictions>
|
||||
<!-- persistenceXmlFile>${project.basedir}/src/test/resources/META-INF/persistence.xml</persistenceXmlFile-->
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>enhancer</id>
|
||||
<phase>process-test-classes</phase>
|
||||
<goals>
|
||||
<goal>test-enhance</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-all</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- The surefire plugin is used to run the jUnit tests -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>${surefire.jvm.args}</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
|
|
@ -137,6 +137,7 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>${surefire.jvm.args}</argLine>
|
||||
<excludes>
|
||||
<!-- exclude classes that end with 'Test'; these
|
||||
are not test cases per OpenJPA standards -->
|
||||
|
|
|
@ -194,7 +194,7 @@
|
|||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>test-compile</phase>
|
||||
<phase>process-test-classes</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<ant antfile="src/main/ant/enhancer.xml" target="enhance" inheritRefs="true">
|
||||
|
|
|
@ -55,6 +55,7 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>${surefire.jvm.args}</argLine>
|
||||
<includes>
|
||||
<include>org/apache/openjpa/persistence/enhance/DynamicEnhancementSuite.java</include>
|
||||
</includes>
|
||||
|
@ -775,7 +776,7 @@
|
|||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>test-compile</phase>
|
||||
<phase>process-test-classes</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<ant antfile="src/main/ant/enhancer.xml" target="enhance" inheritRefs="true">
|
||||
|
@ -798,6 +799,7 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>${surefire.jvm.args}</argLine>
|
||||
<excludes>
|
||||
<!-- exclude classes that end with 'Test'; these
|
||||
are not test cases per OpenJPA standards -->
|
||||
|
|
|
@ -724,7 +724,7 @@
|
|||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>test-compile</phase>
|
||||
<phase>process-test-classes</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<ant antfile="src/test/ant/enhancer.xml" target="enhance" inheritRefs="true">
|
||||
|
@ -747,6 +747,7 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>${surefire.jvm.args}</argLine>
|
||||
<excludes>
|
||||
<!--
|
||||
exclude classes that end with 'Test'; these are not test cases per OpenJPA standards
|
||||
|
|
|
@ -108,7 +108,7 @@
|
|||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>test-compile</phase>
|
||||
<phase>process-test-classes</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<ant antfile="src/main/ant/enhancer.xml" target="enhance" inheritRefs="true">
|
||||
|
|
10
pom.xml
10
pom.xml
|
@ -694,7 +694,7 @@
|
|||
<argLine>${surefire.jvm.args}</argLine>
|
||||
<useFile>false</useFile>
|
||||
<trimStackTrace>false</trimStackTrace>
|
||||
<useSystemClassLoader>true</useSystemClassLoader>
|
||||
<useSystemClassLoader>false</useSystemClassLoader>
|
||||
<systemProperties>
|
||||
<property>
|
||||
<name>openjpa.Log</name>
|
||||
|
@ -732,14 +732,6 @@
|
|||
<name>derby.locks.waitTimeout</name>
|
||||
<value>${derby.locks.waitTimeout}</value>
|
||||
</property>
|
||||
<property>
|
||||
<name>derby.storage.pageCacheSize</name>
|
||||
<value>10000</value>
|
||||
</property>
|
||||
<property>
|
||||
<name>derby.storage.initialPages</name>
|
||||
<value>10</value>
|
||||
</property>
|
||||
<property>
|
||||
<name>openjpa.ConnectionProperties</name>
|
||||
<value>${dbcp.args}</value>
|
||||
|
|
Loading…
Reference in New Issue