On Apr 10, 2010, at 1:38 AM, Vijay Shanker Dubey
<[email protected]> wrote:
Hi,
I have a multi module web project. Four modules of the project are
packaged
as jar and added as dependency to the fifth module, which is
packaged as
war. When it is time to deploy the application i just run package on
the war
project and my war is created with all the dependencies.
This I'd your problem, you need to run package from a higher level.
Running package from the top-level of the multi-module project will
fix this.
Now there is a problem.
One of the my module have heavy changes. Now when i created war for my
projects these changes was not reflected in the output war file(the
jar in
lib folder of war has still the old code).
Can you please point the things i am missing from the release
process? Why
the old code is being packaged with the war?
Because you were running "package" in a single module, and Maven used
the version in the local repository. Run "mvn package" from a higher
level in the multimodule project.
Can you please point some good resource for real file build process
using
maven?
Regards,
Vijay Shanker Dubey
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]