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:
Donald Woods 2010-10-01 20:24:41 +00:00
parent a4080f46f5
commit c92c435728
8 changed files with 49 additions and 49 deletions

View File

@ -170,6 +170,7 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<argLine>${surefire.jvm.args}</argLine>
<excludes> <excludes>
<!-- exclude classes that end with 'Test'; these <!-- exclude classes that end with 'Test'; these
are not test cases per OpenJPA standards --> are not test cases per OpenJPA standards -->

View File

@ -61,8 +61,8 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<!-- Extract the common test support files from o-p-j-tests.jar --> <!-- Extract the common test support files from o-p-j-tests.jar -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
@ -90,38 +90,41 @@
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<!-- Use openjpa maven plugin to enhance the domain model classes --> <!-- Use openjpa maven plugin to enhance the domain model classes -->
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>openjpa-maven-plugin</artifactId> <artifactId>openjpa-maven-plugin</artifactId>
<configuration> <configuration>
<includes>org/apache/openjpa/integration/jmx/*.class</includes> <includes>org/apache/openjpa/integration/jmx/*.class</includes>
<addDefaultConstructor>true</addDefaultConstructor> <addDefaultConstructor>true</addDefaultConstructor>
<enforcePropertyRestrictions>true</enforcePropertyRestrictions> <enforcePropertyRestrictions>true</enforcePropertyRestrictions>
<!-- persistenceXmlFile>${project.basedir}/src/test/resources/META-INF/persistence.xml</persistenceXmlFile--> <!-- persistenceXmlFile>${project.basedir}/src/test/resources/META-INF/persistence.xml</persistenceXmlFile-->
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<id>enhancer</id> <id>enhancer</id>
<phase>process-test-classes</phase> <phase>process-test-classes</phase>
<goals> <goals>
<goal>test-enhance</goal> <goal>test-enhance</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-all</artifactId> <artifactId>openjpa-all</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
<plugin> <plugin>
<!-- The surefire plugin is used to run the jUnit tests --> <!-- The surefire plugin is used to run the jUnit tests -->
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
</plugin> <configuration>
</plugins> <argLine>${surefire.jvm.args}</argLine>
</build> </configuration>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -137,6 +137,7 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<argLine>${surefire.jvm.args}</argLine>
<excludes> <excludes>
<!-- exclude classes that end with 'Test'; these <!-- exclude classes that end with 'Test'; these
are not test cases per OpenJPA standards --> are not test cases per OpenJPA standards -->

View File

@ -194,7 +194,7 @@
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>test-compile</phase> <phase>process-test-classes</phase>
<configuration> <configuration>
<tasks> <tasks>
<ant antfile="src/main/ant/enhancer.xml" target="enhance" inheritRefs="true"> <ant antfile="src/main/ant/enhancer.xml" target="enhance" inheritRefs="true">

View File

@ -55,6 +55,7 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<argLine>${surefire.jvm.args}</argLine>
<includes> <includes>
<include>org/apache/openjpa/persistence/enhance/DynamicEnhancementSuite.java</include> <include>org/apache/openjpa/persistence/enhance/DynamicEnhancementSuite.java</include>
</includes> </includes>
@ -775,7 +776,7 @@
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>test-compile</phase> <phase>process-test-classes</phase>
<configuration> <configuration>
<tasks> <tasks>
<ant antfile="src/main/ant/enhancer.xml" target="enhance" inheritRefs="true"> <ant antfile="src/main/ant/enhancer.xml" target="enhance" inheritRefs="true">
@ -798,6 +799,7 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<argLine>${surefire.jvm.args}</argLine>
<excludes> <excludes>
<!-- exclude classes that end with 'Test'; these <!-- exclude classes that end with 'Test'; these
are not test cases per OpenJPA standards --> are not test cases per OpenJPA standards -->

View File

@ -724,7 +724,7 @@
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>test-compile</phase> <phase>process-test-classes</phase>
<configuration> <configuration>
<tasks> <tasks>
<ant antfile="src/test/ant/enhancer.xml" target="enhance" inheritRefs="true"> <ant antfile="src/test/ant/enhancer.xml" target="enhance" inheritRefs="true">
@ -747,6 +747,7 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<argLine>${surefire.jvm.args}</argLine>
<excludes> <excludes>
<!-- <!--
exclude classes that end with 'Test'; these are not test cases per OpenJPA standards exclude classes that end with 'Test'; these are not test cases per OpenJPA standards

View File

@ -108,7 +108,7 @@
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>test-compile</phase> <phase>process-test-classes</phase>
<configuration> <configuration>
<tasks> <tasks>
<ant antfile="src/main/ant/enhancer.xml" target="enhance" inheritRefs="true"> <ant antfile="src/main/ant/enhancer.xml" target="enhance" inheritRefs="true">

10
pom.xml
View File

@ -694,7 +694,7 @@
<argLine>${surefire.jvm.args}</argLine> <argLine>${surefire.jvm.args}</argLine>
<useFile>false</useFile> <useFile>false</useFile>
<trimStackTrace>false</trimStackTrace> <trimStackTrace>false</trimStackTrace>
<useSystemClassLoader>true</useSystemClassLoader> <useSystemClassLoader>false</useSystemClassLoader>
<systemProperties> <systemProperties>
<property> <property>
<name>openjpa.Log</name> <name>openjpa.Log</name>
@ -732,14 +732,6 @@
<name>derby.locks.waitTimeout</name> <name>derby.locks.waitTimeout</name>
<value>${derby.locks.waitTimeout}</value> <value>${derby.locks.waitTimeout}</value>
</property> </property>
<property>
<name>derby.storage.pageCacheSize</name>
<value>10000</value>
</property>
<property>
<name>derby.storage.initialPages</name>
<value>10</value>
</property>
<property> <property>
<name>openjpa.ConnectionProperties</name> <name>openjpa.ConnectionProperties</name>
<value>${dbcp.args}</value> <value>${dbcp.args}</value>