Hi everybody,

 

I have a multi-moduled project that looks like this:

 

-parent

--submodule1

--submodule2

--submodule3

 

My questions are now:

 

1. How can I retrieve the name of the compiled jar from submodule2 & 3
in the parent's pom? (I think it's the finalname of submodule2 & 3)

Maybe I need an Ant-Script for this?

 

2. Can I forbid deploying on a submodules' level? I only want to allow
deploying the files from the parent's level. Can I let Maven throw an
error message or something like this if someone tries to deploy from a
submodule?

 

Thank you very much!

Matthias

Reply via email to