You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by mathapfahl <Ni...@dekra.com> on 2006/05/11 14:05:09 UTC

I have a problem executing the maven-release-plugin

I have copied the maven-release-plugin jar into maven2/lib
now I want to execute mvn release:prepare
In the component, I want to release, I declared 
<build>
  <plugins>
    <plugin>
      <groupId>maven</groupId>
      <artifactId>maven--release-plugin</artifactId>
      <version>1.4</version>

But I get a Build Error:
maven-release.plugin does not exit or no valid version could be found.
What is the problem ?

--
View this message in context: http://www.nabble.com/I-have-a-problem-executing-the-maven-release-plugin-t1600159.html#a4339090
Sent from the Maven - Dev forum at Nabble.com.


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


Re: I have a problem executing the maven-release-plugin

Posted by Brett Porter <br...@apache.org>.
Emmanuel Venisse wrote:
> it's maven-release-plugin and not maven--release-plugin

and:
- it's org.apache.maven.plugins for the group
- the version is 2.0-beta-3
- you don't need to put it in $M2_HOME/lib

These questions should be asked of users@maven.apache.org.

- Brett

> 
> Emmanuel
> 
> mathapfahl a écrit :
>> I have copied the maven-release-plugin jar into maven2/lib
>> now I want to execute mvn release:prepare
>> In the component, I want to release, I declared <build>
>>   <plugins>
>>     <plugin>
>>       <groupId>maven</groupId>
>>       <artifactId>maven--release-plugin</artifactId>
>>       <version>1.4</version>
>>
>> But I get a Build Error:
>> maven-release.plugin does not exit or no valid version could be found.
>> What is the problem ?
>>
>> -- 
>> View this message in context: 
>> http://www.nabble.com/I-have-a-problem-executing-the-maven-release-plugin-t1600159.html#a4339090 
>>
>> Sent from the Maven - Dev forum at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
> 

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


Re: I have a problem executing the maven-release-plugin

Posted by mathapfahl <Ni...@dekra.com>.
Thanks 
You are right.
groupId and version weren't correct.
But at www.ibilio.org/maven2/maven/maven-release-plugin there is a version
1.4 with a groupId maven.

I don't understand this.

--
View this message in context: http://www.nabble.com/I-have-a-problem-executing-the-maven-release-plugin-t1600159.html#a4340373
Sent from the Maven - Dev forum at Nabble.com.


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


Re: I have a problem executing the maven-release-plugin

Posted by mathapfahl <Ni...@dekra.com>.
thanks but this wasn't the problem !
--
View this message in context: http://www.nabble.com/I-have-a-problem-executing-the-maven-release-plugin-t1600159.html#a4339495
Sent from the Maven - Dev forum at Nabble.com.


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


Re: I have a problem executing the maven-release-plugin

Posted by Emmanuel Venisse <em...@venisse.net>.
you don't need to copy it in maven2/lib, the lib directory is for maven core lib. All plugins are 
downloaded by maven when it's necessary.

The groupId is org.apache.maven.plugins instead of maven and the version 1.4 doesn't exist, the 
latest is 2.0-beta-3, in few days, 2.0-beta-4 will be available

Emmanuel

Emmanuel Venisse a écrit :
> it's maven-release-plugin and not maven--release-plugin
> 
> Emmanuel
> 
> mathapfahl a écrit :
> 
>> I have copied the maven-release-plugin jar into maven2/lib
>> now I want to execute mvn release:prepare
>> In the component, I want to release, I declared <build>
>>   <plugins>
>>     <plugin>
>>       <groupId>maven</groupId>
>>       <artifactId>maven--release-plugin</artifactId>
>>       <version>1.4</version>
>>
>> But I get a Build Error:
>> maven-release.plugin does not exit or no valid version could be found.
>> What is the problem ?
>>
>> -- 
>> View this message in context: 
>> http://www.nabble.com/I-have-a-problem-executing-the-maven-release-plugin-t1600159.html#a4339090 
>>
>> Sent from the Maven - Dev forum at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 
> 
> 


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


Re: I have a problem executing the maven-release-plugin

Posted by Emmanuel Venisse <em...@venisse.net>.
it's maven-release-plugin and not maven--release-plugin

Emmanuel

mathapfahl a écrit :
> I have copied the maven-release-plugin jar into maven2/lib
> now I want to execute mvn release:prepare
> In the component, I want to release, I declared 
> <build>
>   <plugins>
>     <plugin>
>       <groupId>maven</groupId>
>       <artifactId>maven--release-plugin</artifactId>
>       <version>1.4</version>
> 
> But I get a Build Error:
> maven-release.plugin does not exit or no valid version could be found.
> What is the problem ?
> 
> --
> View this message in context: http://www.nabble.com/I-have-a-problem-executing-the-maven-release-plugin-t1600159.html#a4339090
> Sent from the Maven - Dev forum at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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