<classes dir="${maven.build.dest}">
<exclude name="${maven.war.excludes} " />
</classes>
[EMAIL PROTECTED] wrote:
Hi everbody! I'm just downloaded and starting to learn maven and I'm right now exploring the war goal.The war goal seems to take its point of departure in a directory called webapp that should reside under src. However when compiling the default destination is target/classes. When I use the war goal there seem to be no relation between the compiled classes and above mentioned source directory and thus the war file does not contain any classes. The war:webapp goal creates new directory in the target directory containing the classes and lib. However the web.xml file is not copied and with the assumption made above it can not be used with the war goal (as the war goal works with the src dir). If one change the property maven.war.src to ${maven.build.dir}/<project name> the war goal will archive the directory but duplicate all dependencies as the war.bundle.jar property is set to true. If I set to false nor jars will be included in the war file. It seems to me that I must copy all classes to the src directory (maven.xml -> correct?) to war the application right. Is this correct or I'm totally lost? Best regards, Theis. -- To unsubscribe, e-mail: <mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:turbine-maven-user-help@;jakarta.apache.org>
-- To unsubscribe, e-mail: <mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:turbine-maven-user-help@;jakarta.apache.org>
