The warpath plugin is responsible for unpacking the dependent war files and
adding the contents of the WEB-INF/classes to the compile classpath. It
executes early to make it compatible with the eclipse/idea plugins. More
details on the plugin can be found here:
http://static.appfuse.org/plugins/maven-warpath-plugin/

Mike.


On 5/10/07, chino fish <[EMAIL PROTECTED]> wrote:



I found following line



      <phase>generate-sources</phase>



In the self-contain file  maven-warpath-plugin-1.0-m4.jar



;-)
 ------------------------------

*发件人:* chino fish [mailto:[EMAIL PROTECTED]
*发送时间:* 2007年5月10日 13:41
*收件人:* [email protected]
*主题:* [appfuse-user] the definition of --- the time or the order to
execute a maven goal ?



In pom.xml, I found a paragraph as follows:



            <plugin>

                <groupId>org.appfuse</groupId>

                <artifactId>maven-warpath-plugin</artifactId>

                <version>1.0-m4</version>

                <extensions>true</extensions>

                <executions>

                    <execution>

                        <goals>

                            <goal>add-classes</goal>

                        </goals>

                    </execution>

                </executions>

                <configuration>

                    <warpathExcludes>

                        applicationContext-resources.xml
,ApplicationResources*.properties,ehcache.xml,

                        hibernate.cfg.xml,jdbc.properties,log4j.xml,
mail.properties,persistence.xml

                    </warpathExcludes>

                </configuration>

            </plugin>



And I found the goal "warpath:add-classes" always executed very early.



I know that a goal should be bound to a phase in the lifecycle, but where
to define the bound ?



Why does goal warpath:add-classes always execute so early ?



Thanks for your advice !!



Chino

2007-5-10

Reply via email to