You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rémy <re...@gmail.com> on 2010/01/05 12:32:36 UTC

Re: release:prepare and plugin in snapshot version

With 1.4.6-mycompany-1 in my repository, I've got this problem.

mvn help:effective-pom
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Internal error in the plugin manager getting plugin
'org.codehaus.mojo:jspc-maven-plugin': Plugin
'org.codehaus.mojo:jspc-maven-plugin:1.4.6-mycompany-1' has an invalid
descriptor:
1) Plugin's descriptor contains the wrong version: 1.4.7-SNAPSHOT

Thanks for your help.

Rémy


Stephen Connolly-2 wrote:
> 
> 2009/12/29 Stephen Connolly <st...@gmail.com>
> 
>>
>>
>> 2009/12/29 Rémy <re...@gmail.com>
>>
>>
>>> Hello,
>>>
>>> To compile the JSP I use the plugin
>>> org.apache.maven.plugins:jspc-maven-plugin:1.4.7-SNAPSHOT. I use version
>>> 1.4.7-SNAPSHOT and not 1.4.6 to exclude some JSP from compilation
>>> http://jira.codehaus.org/browse/MJSPC-8
>>> http://jira.codehaus.org/browse/MJSPC-8 . To my knowledge there is no
>>> release for v1.4.7.
>>>
>>> I can't make the release of my project. release:prepare detects that the
>>> plugin is in SNAPSHOT (There are still some remaining snapshot
>>> dependencies.: Do you want to resolve them now? (yes / no)), I answer
>>> yes
>>> or
>>> no, the build fails.
>>>
>>> I don't know how to get out. The solution is it to put it in my
>>> enterprise
>>> repository plugin version release (v1.4.6.1 for example).
>>>
>>
>> I would go with 1.4.6-yourcompany-1
>>
>> that is the correct solution
>>
>>
> 
> alternatively if you are not applying any patches, I would release it as
> 1.4.6-r837374 where the qualifier is the svn revision number
> 
> 
> 
>>
>>> Thank you for your help.
>>>
>>> Remy
>>> --
>>> View this message in context:
>>> http://old.nabble.com/release%3Aprepare-and-plugin-in-snapshot-version-tp26954720p26954720.html
>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/release%3Aprepare-and-plugin-in-snapshot-version-tp26954720p27026581.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: release:prepare and plugin in snapshot version

Posted by Rémy <re...@gmail.com>.
It's OK. I've to update version in the plugin.xml file in
jspc-maven-plugin-1.4.6-mycompany-1.jar. 

Rémy


Rémy wrote:
> 
> With 1.4.6-mycompany-1 in my repository, I've got this problem.
> 
> mvn help:effective-pom
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager getting plugin
> 'org.codehaus.mojo:jspc-maven-plugin': Plugin
> 'org.codehaus.mojo:jspc-maven-plugin:1.4.6-mycompany-1' has an invalid
> descriptor:
> 1) Plugin's descriptor contains the wrong version: 1.4.7-SNAPSHOT
> 
> Thanks for your help.
> 
> Rémy
> 
> 
> Stephen Connolly-2 wrote:
>> 
>> 2009/12/29 Stephen Connolly <st...@gmail.com>
>> 
>>>
>>>
>>> 2009/12/29 Rémy <re...@gmail.com>
>>>
>>>
>>>> Hello,
>>>>
>>>> To compile the JSP I use the plugin
>>>> org.apache.maven.plugins:jspc-maven-plugin:1.4.7-SNAPSHOT. I use
>>>> version
>>>> 1.4.7-SNAPSHOT and not 1.4.6 to exclude some JSP from compilation
>>>> http://jira.codehaus.org/browse/MJSPC-8
>>>> http://jira.codehaus.org/browse/MJSPC-8 . To my knowledge there is no
>>>> release for v1.4.7.
>>>>
>>>> I can't make the release of my project. release:prepare detects that
>>>> the
>>>> plugin is in SNAPSHOT (There are still some remaining snapshot
>>>> dependencies.: Do you want to resolve them now? (yes / no)), I answer
>>>> yes
>>>> or
>>>> no, the build fails.
>>>>
>>>> I don't know how to get out. The solution is it to put it in my
>>>> enterprise
>>>> repository plugin version release (v1.4.6.1 for example).
>>>>
>>>
>>> I would go with 1.4.6-yourcompany-1
>>>
>>> that is the correct solution
>>>
>>>
>> 
>> alternatively if you are not applying any patches, I would release it as
>> 1.4.6-r837374 where the qualifier is the svn revision number
>> 
>> 
>> 
>>>
>>>> Thank you for your help.
>>>>
>>>> Remy
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/release%3Aprepare-and-plugin-in-snapshot-version-tp26954720p26954720.html
>>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/release%3Aprepare-and-plugin-in-snapshot-version-tp26954720p27026617.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: release:prepare and plugin in snapshot version

Posted by Stephen Connolly <st...@gmail.com>.
because you did not update the pom before deploying

2010/1/5 Rémy <re...@gmail.com>:
>
> With 1.4.6-mycompany-1 in my repository, I've got this problem.
>
> mvn help:effective-pom
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager getting plugin
> 'org.codehaus.mojo:jspc-maven-plugin': Plugin
> 'org.codehaus.mojo:jspc-maven-plugin:1.4.6-mycompany-1' has an invalid
> descriptor:
> 1) Plugin's descriptor contains the wrong version: 1.4.7-SNAPSHOT
>
> Thanks for your help.
>
> Rémy
>
>
> Stephen Connolly-2 wrote:
>>
>> 2009/12/29 Stephen Connolly <st...@gmail.com>
>>
>>>
>>>
>>> 2009/12/29 Rémy <re...@gmail.com>
>>>
>>>
>>>> Hello,
>>>>
>>>> To compile the JSP I use the plugin
>>>> org.apache.maven.plugins:jspc-maven-plugin:1.4.7-SNAPSHOT. I use version
>>>> 1.4.7-SNAPSHOT and not 1.4.6 to exclude some JSP from compilation
>>>> http://jira.codehaus.org/browse/MJSPC-8
>>>> http://jira.codehaus.org/browse/MJSPC-8 . To my knowledge there is no
>>>> release for v1.4.7.
>>>>
>>>> I can't make the release of my project. release:prepare detects that the
>>>> plugin is in SNAPSHOT (There are still some remaining snapshot
>>>> dependencies.: Do you want to resolve them now? (yes / no)), I answer
>>>> yes
>>>> or
>>>> no, the build fails.
>>>>
>>>> I don't know how to get out. The solution is it to put it in my
>>>> enterprise
>>>> repository plugin version release (v1.4.6.1 for example).
>>>>
>>>
>>> I would go with 1.4.6-yourcompany-1
>>>
>>> that is the correct solution
>>>
>>>
>>
>> alternatively if you are not applying any patches, I would release it as
>> 1.4.6-r837374 where the qualifier is the svn revision number
>>
>>
>>
>>>
>>>> Thank you for your help.
>>>>
>>>> Remy
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/release%3Aprepare-and-plugin-in-snapshot-version-tp26954720p26954720.html
>>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/release%3Aprepare-and-plugin-in-snapshot-version-tp26954720p27026581.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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