You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Dennis Lundberg <de...@apache.org> on 2007/03/31 22:48:11 UTC

Problems releasing our stuff non-recursively

Hi

I have stumbled upon a problem that I wanted to discuss. It is currently 
not possible to release our own products non-recursively. This is 
because of a configuration for maven-release-plugin in maven-parent 
version 5:

<configuration>
   ...
   <arguments>-Prelease</arguments>
</configuration>

This makes it impossible to add a "-N" argument to the release-plugin on 
the command line. This would be useful when you want to release e.g. a 
parent pom, but do not want to release the child projects.

Is there anything that can be done to fix this? Would it be possible to 
make <configuration>/<arguments> and -Darguments=... additive in the 
release-plugin?

I wanted to release the parent pom for skins, but I can't because of 
this problem.


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Problems releasing our stuff non-recursively

Posted by Jason van Zyl <ja...@maven.org>.
On 31 Mar 07, at 4:48 PM 31 Mar 07, Dennis Lundberg wrote:

> Hi
>
> I have stumbled upon a problem that I wanted to discuss. It is  
> currently not possible to release our own products non-recursively.  
> This is because of a configuration for maven-release-plugin in  
> maven-parent version 5:
>
> <configuration>
>   ...
>   <arguments>-Prelease</arguments>
> </configuration>
>
> This makes it impossible to add a "-N" argument to the release- 
> plugin on the command line. This would be useful when you want to  
> release e.g. a parent pom, but do not want to release the child  
> projects.
>
> Is there anything that can be done to fix this? Would it be  
> possible to make <configuration>/<arguments> and -Darguments=...  
> additive in the release-plugin?
>
> I wanted to release the parent pom for skins, but I can't because  
> of this problem.
>

The release plugin can't release parent POMs anyway. This is in JIRA  
for the release plugin so we can fix them both at the same time.

Jason.

>
> -- 
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


RE: Problems releasing our stuff non-recursively

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
Now I know why I couldn't correctly activate my profile to set my
altDeploymentRepository a while ago. 

-----Original Message-----
From: Dennis Lundberg [mailto:dennisl@apache.org] 
Sent: Saturday, March 31, 2007 4:48 PM
To: Maven Developers List
Subject: Problems releasing our stuff non-recursively

Hi

I have stumbled upon a problem that I wanted to discuss. It is currently

not possible to release our own products non-recursively. This is 
because of a configuration for maven-release-plugin in maven-parent 
version 5:

<configuration>
   ...
   <arguments>-Prelease</arguments>
</configuration>

This makes it impossible to add a "-N" argument to the release-plugin on

the command line. This would be useful when you want to release e.g. a 
parent pom, but do not want to release the child projects.

Is there anything that can be done to fix this? Would it be possible to 
make <configuration>/<arguments> and -Darguments=... additive in the 
release-plugin?

I wanted to release the parent pom for skins, but I can't because of 
this problem.


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org