bind the execution to the pre-site phase

Sent from my [rhymes with myPod] ;-)

On 22 Apr 2009, at 22:40, huser <[email protected]> wrote:


Hi ,

I added maven ant run plugin to my project POM.xml. Then I ran mvn clean
install antrun:run.

I do not see the javadoc target getting generated. The plugin is not working
as expected. Any ideas ?

My project has various modules inside it. Following change was made in
project\pom.xml

           <plugin>
   <artifactId>maven-antrun-plugin</artifactId>
       <executions>
         <execution>
           <configuration>
   <tasks>
       <ant antfile="javadoc-gen.xml" target="javadoc"/>
      </tasks>

           </configuration>
           <goals>
             <goal>run</goal>
           </goals>
         </execution>
       </executions>
     </plugin>
</plugins>
--
View this message in context: 
http://www.nabble.com/maven-antrun-plugin-tp23176592p23176592.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to