Eugeny N Dzhurinsky wrote:
Hello!

Could somebody please explain how is it possible to create WAR file from WEB
application, but instead of having Java sources compiled and placed into
WEB-INF/classes - package those classes as a JAR file and place it into
WEB-INF/lib/?

<archiveClasses>true</archiveClasses> in the plugin config.

http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#archiveClasses
Also I need to include some external resources (properties, XML configuration
files etc) into WEB-INF/classes, how would I do that?
Put them either in src/main/resources/ or src/main/webapp/WEB-INF/classes/.
Thank you in advance!


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

Reply via email to