maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paladine <yasinma...@yahoo.com>
Subject Re: maven-antrun-plugin
Date Tue, 26 Oct 2010 08:28:20 GMT

it is already on the last phase.
i am adding my <build> tag of pom.xml

thanks in advance 


<build>
        <finalName>asd</finalName>
             <plugins>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.0</version>
                <configuration>
                        <source>1.6</source>
                        <target>1.6</target>
                </configuration>
              </plugin>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.0</version>
                <configuration>
                        <warName>asd</warName>
                        <webResources>
                                <resource>
<!-- this is relative to the pom.xml directory -->
                                       
<directory>src/main/webapp</directory>
                                </resource>
                       </webResources>
                </configuration>
              </plugin>
              <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <version>1.6</version>
        <executions>
          <execution>
            <!--phase>generate-sources</phase-->
            <phase>deploy</phase>
            <configuration>
              <tasks>
                <exec
                      executable="src/main/files/script"
                      failonerror="true">
                </exec>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
-- 
View this message in context: http://maven.40175.n5.nabble.com/maven-antrun-plugin-tp3236582p3236700.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message