http://maven.apache.org/reference/project-descriptor.html#sourceModifications
-- gd
Matt Raible wrote:
Doing two subprojects seems like a lot of work to me - if it's not, please provide a link (or short howto) on how I can do this. In the meantime, here's what I've done:
1. Include **/example from the war.src, excluded everything else 2. Excluded **/example from the jar.src
It seems like it should be pretty easy to just make the war goal depend on jar and then have the jar included in WEB-INF/lib of the war. Is this not possible? It seems like a quick and easy solution.
Matt
On Oct 29, 2003, at 7:45 PM, matt wrote:
Recommend two subprojects - one for the tag library and one for the example web application, with the web application having a dependency on the tag library. This would make repository management easier, too.
Matt Raible wrote:
I am using Maven to build struts-menu (http://sf.net/projects/struts-menu). Since this is a tag library - I want to build the struts-menu.jar from my target/struts-menu/classes directory, but I don't want to include net/sf/navigator/example/* classes. I want the example classes to remain in WEB-INF/classes and move the rest to WEB-INF/lib/struts-menu.jar before deployment. This will allow the struts-menu.war (example app) to use the same setup that users will use. What is the best place to do this - in a <preGoal> of webapp:war? Does anyone have any samples of this lying around?
Thanks,
Matt
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- 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]
