On Tue, Jul 19, 2011 at 4:48 PM, Hansjoerg <[email protected]> wrote:
> Hi
>
> I'm trying to figure out, how I can exclude a child module from beeing
> released to our company repository during the execution of release:perform.
>
> The situation is this:
> parent pom
> ...
>  <modules>
>    <module>child1</module>
>    <module>child2</module>
>  <modules>
>
> child 2 shouldn't be put directly to the maven repository, so I tried to
> reconfigure the release plugin the child2 pom.xml.
[del]
> So my question: Does anybody have an idea, how I could exclude a
> Child-Module from beeing released to the company repository during the run
> of release:perform?

Its a module so it *should* be released at the same time.

I assume that child1 probably depends upon child2 in which case you
can't release because it depends on snapshots.

You can either delete the module declaration or change the
child2/pom.xml to be a non-snapshot version (in which case release
plugin won't release it)

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

Reply via email to