Hi,

I'm using the following version:
Maven version: 2.0.7
Java version: 1.6.0_02-ea
OS name: "windows xp" version: "5.1" arch: "x86"

I placed the following code in the parent pom.xml file. When I run "mvn
-Dmaven.test.skip=true site", maven executes the code in the pre-site
phase, but it never executes the code in the post-site phase? 

Do I need to setup something, or is there is something wrong with my
settings?


            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>exec-maven-plugin</artifactId>
              <executions>
                <execution>
                  <phase>pre-site</phase>        
                  <goals>
                    <goal>exec</goal>
                  </goals>
                </execution>
              </executions>
              <inherited>false</inherited>
              <configuration>
                <executable>BuildNumber_Update.pl</executable>
                <arguments>
                  <argument>${project.version}.0</argument>
                  <argument>50</argument>
                </arguments>
              </configuration>
            </plugin>

            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>exec-maven-plugin</artifactId>
              <executions>
                <execution>
                  <phase>post-site</phase>        
                  <goals>
                    <goal>exec</goal>
                  </goals>
                </execution>
              </executions>
              <inherited>false</inherited>
              <configuration>
                <executable>Jar_Update.pl</executable>
                <arguments>
                  <argument>${project.version}.0</argument>
                  <argument>50</argument>
                </arguments>
              </configuration>
            </plugin>


  Thanks,

     Sameh
This email and any files transmitted with it are confidential, proprietary
and intended solely for the individual or entity to whom they are addressed.
If you have received this email in error please delete it immediately.


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

Reply via email to