Hi Craig,

this doesn't build with me. Maybe this should be "copy" instead of "move":
<move file="target/${pom.build.finalName}.war" 
tofile="${deploy.dir}/${pom.build.finalName}.war"/>

 

Freundliche Grüße aus Essen

Christian Raschka
Diplomand

SOPTIM AG
Dietrich-Oppenberg-Platz 1
D-45127 Essen
Telefon: +49 (0) 201 / 8 42 10 - 573
Fax: +49 (0) 201 / 8 42 10 - 518

mailto:[EMAIL PROTECTED]
http://www.soptim.de

Die Essener SOPTIM Niederlassung am Dietrich-Oppenberg Platz findet Ihr 
Navigationssystem am einfachsten unter  Eingabe der "Herkulesstraße" Kreuzung 
"Steeler Straße".

Sitz der Gesellschaft: Aachen - Zweigniederlassung: Essen - Handelsregister 
Essen, HRB-Nr. 15946  
Vorstand: Dr. Hans Röllinger (Vors.), Dr. Heiner Halbach, Dr. Wolfgang Thiele 
Aufsichtsrat: H. Joachim Schoeller (Vors.) , Siegfried Kaufmann, Bernd A. Harren


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 06, 2008 10:55 PM
To: [EMAIL PROTECTED]
Subject: svn commit: r609419 - 
/portals/pluto/branches/1.1-286-trunk-merge/pluto-testsuite/pom.xml

Author: cdoremus
Date: Sun Jan  6 13:54:44 2008
New Revision: 609419

URL: http://svn.apache.org/viewvc?rev=609419&view=rev
Log:
Added integration-test goal to ease hot deployment of new war file.

Modified:
    portals/pluto/branches/1.1-286-trunk-merge/pluto-testsuite/pom.xml

Modified: portals/pluto/branches/1.1-286-trunk-merge/pluto-testsuite/pom.xml
URL: 
http://svn.apache.org/viewvc/portals/pluto/branches/1.1-286-trunk-merge/pluto-testsuite/pom.xml?rev=609419&r1=609418&r2=609419&view=diff
==============================================================================
--- portals/pluto/branches/1.1-286-trunk-merge/pluto-testsuite/pom.xml 
(original)
+++ portals/pluto/branches/1.1-286-trunk-merge/pluto-testsuite/pom.xml 
+++ Sun Jan  6 13:54:44 2008
@@ -77,6 +77,12 @@
       <version>${junit.version}</version>
       <scope>test</scope>
     </dependency>
+       <dependency>
+               <groupId>javax.xml.bind</groupId>
+               <artifactId>jaxb-api</artifactId>
+               <version>${jaxb.version}</version>
+               <scope>compile</scope>
+       </dependency>
   </dependencies>
   
   
@@ -126,6 +132,32 @@
                <source>1.5</source>
                <target>1.5</target>
        </configuration>
+      </plugin>
+       <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>integration-test</phase>
+            <configuration>
+              <tasks>
+                <!--
+                  Use this to build and deploy the testsuite war.
+                  PORTLET_DEPLOY_DIR is an environmental variable 
+                  pointing to the hot-deploy directory of your portal.
+                  You can also use -Ddeploy.dir=<path to deployment dir>
+                  on the command line when invoking maven:
+                  mvn -Ddeploy.dir=/pluto-1.1.4/webapps integration-test
+                -->
+                                       <property environment="env"/>
+                                       <property name="deploy.dir" 
value="${env.PORTLET_DEPLOY_DIR}"/>
+                                       <move 
file="target/${pom.build.finalName}.war" tofile="${deploy.dir}/testsuite.war"/>
+=              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
       </plugin>
     </plugins>
   </build>


Reply via email to