> Yes, you are right, but I need to install several jars form other modules to
> the local repository, skipping the installation of the war modules. All this
> form the parent pom.xml.

Others have asked this question, and when pressed on the matter, they
realized that they simply did not WANT the Wars installed to the local
repo cache, and did not truly have an absolute business requirement
that they not be installed. As a result, no one has bothered to change
the functionality to enable this.

If you truly want this to happen, you will probably have to hack the
source code or something. You might be able to set <skip>true in the
m-install-p for the War modules but I'm not sure if that would work,
and even if it did, there may be other things that simply don't work
right because Maven expects that all modules are always available in
the repo cache. So you might "fix" this but then inadvertantly break
something else down the road because your Wars are not available as
Maven expects.

For me at least, there's really no good reason for NOT installing Wars.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to