Generating Docs as part of Install...

2007-07-02 Thread Gary Kind
I have been given a requirement to put our tagdocs inside a project WAR file. Unfortunately, the tagdocs get generated as part of the "site" phase, which comes AFTER 'mvn install', which creates the desired war file. Does anybody have any ideas how to do this? ---

How do I zip up a source directory in my pom.xml?

2007-02-05 Thread Gary Kind
I need to zip up a source directory subtree within my pom.xml. Probably the best place to do this for me would be in the compile phase or when using the surefire plugin to to mvn test. How do I do this? I tried the assembly plugin, but I could not control the root directory in my zip file.