Hi,

 

I 'm porting to a multimodule project with a config resembling:

 

proj (packaging: pom)

|- proj-core (type: jar)

||- NumberOne.class

|- proj-othermodule (type: jar)

||- NumberTwo.class

 

I was wondering how to (best) create a proj-1.0-SNAPSHOT.jar artifact in
the parent project (proj) containing the contents of proj-core and
including proj-othermodule as a jar (not expanding it into the proj
jar). Can't seem to solve this elegantly - not at all really at this
point. I was hoping I wouldn't have to resolve to using ant for this.

 

Although proj has pom packaging, I can't see this structure violating
the Maven principle of one project, one artifact.

 

Intended structure for proj jar:

 

- NumberOne.class

|- lib

||- proj-othermodule-1.0-SNAPSHOT.jar

 

 

-hg

Reply via email to