Yes, this would be the clean solution and I am refactoring the project
to go there. But first I have to separate integration and component
tests. Therefore I need the classes in the war module also available as
jar for those tests.
Oliver
Am 19.12.15 um 13:28 schrieb Tibor Digana:
@Oliver
What is your use case?
I want to know why you want to split classes/resources and web content. Is
not it more clean solution to have multi-module project where jar module
would contain Java files+resources and war module dependent on jar artifact?
On Sat, Dec 19, 2015 at 12:48 PM, Oliver B. Fischer <[email protected]>
wrote:
Hi,
my project is build as war but I need also a jar of the classes. Therefore
I build also a .jar and use the build-helper-maven-plugin to attach it to
artifacts to be installed. With this configuration the .jar will be
installed as .war and as .jar. The .war itself will be not installed.
Sounds like a bug or isn't it a bug?
I prepared an example project available at
https://bitbucket.org/obfischer/bug-maven-install-plugin/src
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]