You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Craig <su...@gmail.com> on 2008/08/01 01:11:53 UTC

Re: Release Plugin - Resolving Snapshot Dependencies

Geoffrey,

Could it be this bug http://jira.codehaus.org/browse/MRELEASE-350 ?

Try choosing option '1' instead of option '0'.

regards,
Craig

On Thu, Jul 31, 2008 at 2:18 AM, Geoffrey Wiseman <
geoffrey.wiseman@gmail.com> wrote:

> When I'm using the Maven release plugin in a project that depends on
> snapshots, it offers me the ability to roll forward to the release.  That
> seems like a nice feature to have, but it never seems to work for me.  See
> below:
>
> [INFO] Resuming release from phase 'check-dependency-snapshots'
> [INFO] Checking dependencies and plugins for snapshots ...
> There are still some remaining snapshot dependencies.: Do you want to
> resolve them now? (yes/no) no: : yes
> Dependency type to resolve,: specify the selection number ( 0:All 1:Project
> Dependencies 2:Plugins 3:Reports 4:Extensions ): (0/1/2/3) 1: : 0
> Resolve All Snapshots.: 'com.feedroom.feedroom-commons:frc-test' set to
> release? (yes/no) yes: : yes
> What is the next development version? (1.4-SNAPSHOT) 1.4-SNAPSHOT: :
> 'com.feedroom.feedroom-commons:frc-common' set to release? (yes/no) yes: :
> yes
> What is the next development version? (1.4-SNAPSHOT) 1.4-SNAPSHOT: :
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Can't release project due to non released dependencies :
>    com.feedroom.feedroom-commons:frc-common:jar:1.3-SNAPSHOT:compile
>    com.feedroom.feedroom-commons:frc-test:jar:1.3-SNAPSHOT:test
>
> Am I missing something about how this is supposed to work?  It seems like
> it's trying and failing to resolve the dependencies and move forward.
>
>  - Geoffrey
> --
> Geoffrey Wiseman
>

Re: Release Plugin - Resolving Snapshot Dependencies

Posted by Geoffrey Wiseman <ge...@gmail.com>.
On Thu, Jul 31, 2008 at 7:11 PM, Craig <su...@gmail.com> wrote:

> Geoffrey,
>
> Could it be this bug http://jira.codehaus.org/browse/MRELEASE-350 ?
>
> Try choosing option '1' instead of option '0'.
>
> regards,
> Craig
>

I'm fairly certain I tried 1 as well, but without having done so in the last
12 hours, i'm not sure.  ;)  I'll try that next time, see if it helps.
-- 
Geoffrey Wiseman