I'm using Maven to create distributions for several of our projects.  I'm
curious how people are including dependencies and configuration files in
their distributions?  So far I'm using a postGoal on the
prepare-bin-filesystem goal with a copy dependencies (I forgot the tag).
This copies ALL my JAR files.  My project needs websphere's j2ee.jar to
compile and run the unit tests, however I don't want to distribute this jar
with my project.  But I do want to distribute the other jars.  I know the
WAR plugin lets you set properties on the dependencies so they will be
included or not, but I haven't found this feature for a JAR distribution.

Also I have configuration files that I need to distribute.  This is easier
because I've separated them into different directories (src/conf.test and
src/conf.dist).

Any "best practices" here?  Any Maven features that can help me out?

Thanks,
Michael



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to