Leszek Gawron wrote:
[EMAIL PROTECTED] wrote:
Author: cziegeler
Date: Fri Oct  6 02:06:31 2006
New Revision: 453534

URL: http://svn.apache.org/viewvc?view=rev&rev=453534
Log:
Deployer plugin will run automatically

Modified:
cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/pom.xml

Modified: cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/pom.xml?view=diff&rev=453534&r1=453533&r2=453534 ============================================================================== --- cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/pom.xml (original) +++ cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/pom.xml Fri Oct 6 02:06:31 2006
@@ -37,6 +37,14 @@
         <groupId>org.apache.cocoon</groupId>
         <artifactId>cocoon-deployer-plugin</artifactId>
         <version>1.0.0-M2-SNAPSHOT</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>deploy</goal>
+            </goals>
+          </execution>
+        </executions>
       </plugin>
       <plugin>
         <groupId>org.mortbay.jetty</groupId>

This does not as expected. Probably because you are not able to specify the order of goals to be executed. So the order is:

war:war
cocoon:deploy
cocoon:deploy (again .. have no idea where that comes from)
my bad .. I had cocoon:deploy plugin defined at parent pom so it ran twice (still seems like a maven bug to me).

other problems still apply

--
Leszek Gawron, IT Manager                          MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Reply via email to