Czollli wrote:
>
> Hello,
>
> The main task would be to generate jar files in the leaf projects:
>
> main (pom.xml)
> |
> |____ default (contains src and pom.xml)
> |
> |___ dev (only pom.xml)
> |
> |_____ dev1 (only pom.xml)
> |
> |_____ dev2 (only pom.xml)
>
> dev1 and dev2 should contain in their target dir the jar file, generated
> from src.
>
> Did anybody already meet this problem?
> Can anybody suggest a solution?
>
> Thanks a lot!
> Czollli
>
Hello,
thanks for all the help!
I have found a really simple solution with resource:
<resource>
<targetPath>.</targetPath>
<filtering>false</filtering>
<directory>${level2.default.target.dir}/classes</directory>
<includes>
<include>**/*.class</include>
</includes>
This excerpt should include in the bottom level (dev1, dev2) poms, where the
packaging runs again.
Again because first I had to package at the default level from the source
code.
main (pom.xml)
|
|____ default (contains src and pom.xml, packaging jar)
|
|___ dev (only pom.xml, packaging pom)
|
|_____ dev1 (only pom.xml, packaging jar)
|
|_____ dev2 (only pom.xml, packaging jar)
Main pom uses modules (default, dev).
Czollli
--
View this message in context:
http://www.nabble.com/Multimodule%2C-multilevel-project-tp21806770p21870699.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]