Hello,

My project's packaging is jar. I'm trying to bind two antrun executions to the pre-site and post-site phase respectively with:

   <plugin>
     <artifactId>maven-antrun-plugin</artifactId>
     <executions>
       <execution>
         <id>antrun-copy-js-to-site</id>
         <phase>pre-site</phase>
         <configuration>
           <tasks>
             <!-- do something... -->
           </tasks>
         </configuration>
         <goals>
           <goal>run</goal>
         </goals>
       </execution>
       <execution>
         <id>antrun-create-zipped-site</id>
         <phase>post-site</phase>
         <configuration>
           <tasks>
             <!-- do something... -->
           </tasks>
         </configuration>
         <goals>
           <goal>run</goal>
         </goals>
       </execution>
     </executions>
  </plugin>


When running:

mvn clean install site


... the first execution bound to the pre-site phase runs fine, but the one bound to post-site is never called. What am I missing?


Thanks in advance,

Manos



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to