geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject svn commit: r386775 - /geronimo/trunk/modules/tomcat/pom.xml
Date Sat, 18 Mar 2006 00:45:54 GMT
Author: jlaskowski
Date: Fri Mar 17 16:45:52 2006
New Revision: 386775

URL: http://svn.apache.org/viewcvs?rev=386775&view=rev
Log:
GERONIMO-1645 - Module migration to Maven2: tomcat
Submitted by: Anita Kulshreshtha

Modified:
    geronimo/trunk/modules/tomcat/pom.xml

Modified: geronimo/trunk/modules/tomcat/pom.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/pom.xml?rev=386775&r1=386774&r2=386775&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat/pom.xml (original)
+++ geronimo/trunk/modules/tomcat/pom.xml Fri Mar 17 16:45:52 2006
@@ -28,12 +28,11 @@
   <groupId>org.apache.geronimo</groupId>
   <artifactId>geronimo-tomcat</artifactId>
   <version>${geronimoVersion}</version>
-  <packaging>jar</packaging>
   <name>Geronimo :: Tomcat</name>
-  <!-- TODO: Find a way to get rid of that -->
   <properties>
-    <endorsedDir>target/endorsed</endorsedDir>
-    <localRepoDir>${user.home}/.m2/repository</localRepoDir>
+    <buildDir>${project.build.directory}</buildDir>
+    <endorsedDir>${buildDir}/endorsed</endorsedDir>
+    <localRepoDir>${settings.localRepository}</localRepoDir>
   </properties>
   <build>
     <resources>
@@ -42,6 +41,17 @@
       </resource>
     </resources>
     <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <systemProperties>
+            <java.endorsed.dirs>${endorsedDir}</java.endorsed.dirs>
+            <user.dir>${basedir}</user.dir>
+          </systemProperties>
+          <forkMode>once</forkMode>
+        </configuration>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-antrun-plugin</artifactId>



Mime
View raw message