You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rm...@apache.org on 2011/08/29 15:56:27 UTC
svn commit: r1162805 - in /openejb/trunk/openejb3:
container/openejb-core/pom.xml pom.xml
Author: rmannibucau
Date: Mon Aug 29 13:56:26 2011
New Revision: 1162805
URL: http://svn.apache.org/viewvc?rev=1162805&view=rev
Log:
adding endorsed lib in openejb-core (setting a property in openejb parent pom useable everywhere)
Modified:
openejb/trunk/openejb3/container/openejb-core/pom.xml
openejb/trunk/openejb3/pom.xml
Modified: openejb/trunk/openejb3/container/openejb-core/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/pom.xml?rev=1162805&r1=1162804&r2=1162805&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/pom.xml (original)
+++ openejb/trunk/openejb3/container/openejb-core/pom.xml Mon Aug 29 13:56:26 2011
@@ -79,6 +79,18 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ <compilerArguments>
+ <endorseddirs>${openejb.build.endorsed}</endorseddirs>
+ </compilerArguments>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
@@ -106,7 +118,7 @@
<configuration>
<forkMode>pertest</forkMode>
<testNGArtifactName>none:none</testNGArtifactName>
- <argLine>-Xmx256m "-javaagent:${basedir}/target/openejb-javaagent-${project.version}.jar" -enableassertions</argLine>
+ <argLine>-Xmx256m -Djava.endorsed.dirs=${openejb.build.endorsed} "-javaagent:${basedir}/target/openejb-javaagent-${project.version}.jar" -enableassertions</argLine>
<workingDirectory>${basedir}/target</workingDirectory>
<systemPropertyVariables>
<openejb.home>${basedir}/target/test-classes</openejb.home>
Modified: openejb/trunk/openejb3/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/pom.xml?rev=1162805&r1=1162804&r2=1162805&view=diff
==============================================================================
--- openejb/trunk/openejb3/pom.xml (original)
+++ openejb/trunk/openejb3/pom.xml Mon Aug 29 13:56:26 2011
@@ -170,7 +170,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
- <version>2.1</version>
+ <version>2.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -199,8 +199,33 @@
<target>1.6</target>
</configuration>
</plugin>
+ <plugin> <!-- maven-dependency-plugin:properties doesn't work as well as this one for us -->
+ <groupId>org.apache.geronimo.buildsupport</groupId>
+ <artifactId>geronimo-property-plugin</artifactId>
+ <version>3.0-M1</version>
+ <configuration>
+ <propertyName>openejb.build.endorsed</propertyName>
+ <listFiles>false</listFiles>
+ <classpath>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-annotation_1.1_spec</artifactId>
+ <version>1.0.1</version>
+ </dependency>
+ </classpath>
+ </configuration>
+ <executions>
+ <execution>
+ <id>set-endorsed-property</id>
+ <phase>initialize</phase>
+ <goals>
+ <goal>set-property</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>always</forkMode>