2011/10/19 吴桐 <ab006343wut...@ab-insurance.com>:
> Hi all,
>
>
>
>         I have a question about using maven-war-plugin.I have a web project
> which can be packed as a war file with all biz class in
> artifactId/WEB-INF/classes/. Question is, is it possible to pack all biz
> classes into one or many jar files ( like companyBla-moduleA.jar,
> companyBla-moduleB.jar ) and put them into artifactId/WEB-INF/lib to
> deploy(meaning almost empty classes folder)?
>
>
>
>         Can I achieve it without divide current project (one pom only now )
> into several modules and separate poms? If there is,what is the best way to
> pack all my biz classes into jars and put into web-inf/lib to deploy?

Short answer is no.
Maven assume one pom, one artifact.  Its possible to attach other
things (like the source code) into this same namespace but you dont
want to be doing that with your modules as you are suggesting.

Why are you resisting splitting up your code into its dependencies?

I recommend you have a read of the freely available books at
http://maven.apache.org/articles.html.
That should help answer your questions.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to