[ 
http://jira.codehaus.org/browse/MNG-4893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242794#action_242794
 ] 

Jason van Zyl commented on MNG-4893:
------------------------------------

Why exactly do you need x.y.z.SNAPSHOT instead of x.y.z-SNAPSHOT? If they are 
trying have OSGi versioning then we should probably have something that means 
something in OSGi which would be x.y.z.qualifier. We want to move toward OSGi 
and this could be the first step. But I think you just took advantage of 
something we were doing wrong. We can probably help Mark Proctor fix the Drools 
build.

> [regression] Version x.y.z.SNAPSHOT does not deploy correctly
> -------------------------------------------------------------
>
>                 Key: MNG-4893
>                 URL: http://jira.codehaus.org/browse/MNG-4893
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 3.0
>            Reporter: Paul Gier
>            Priority: Critical
>             Fix For: 3.0.1
>
>
> When using a version that ends with ".SNAPSHOT" instead of the usual 
> "-SNAPSHOT", Maven 3.0 changes the project version to the timestamped 
> version.  So "5.2.0.SNAPSHOT" becomes something like 
> "5.2.0.20101109.215833-1".  A Nexus snapshot repository will reject this 
> deployment because the version in the directory name does not end with 
> "SNAPSHOT".
> I tested that this works in Maven 2.2.1 and Maven 3.0-beta-1, but does not 
> work in Maven 3.0.  The build returns an HTTP 400 error when deploying to 
> Nexus.
> Error from Nexus log
> {noformat}
> 2010-11-09 22:02:23 INFO [1298122354-2147] - o.s.n.p.m.m.M2Repos~ - Storing 
> of item snapshots:/org/drools
> /drools/5.2.0.20101110.030222-361/drools-5.2.0.20101110.030222-361.pom is 
> forbidden by Maven Repository 
> policy. Because snapshots is a SNAPSHOT repository
> 2010-11-09 22:02:23 ERROR [1298122354-2147] - o.s.n.r.ContentPlex~ - Got 
> exception during processing 
> request "PUT 
> http://repository.jboss.org/nexus/content/repositories/snapshots/org/drools/drools
> /5.2.0.20101110.030222-361/drools-5.2.0.20101110.030222-361.pom": Storing of 
> item snapshots:/org/drools
> /drools/5.2.0.20101110.030222-361/drools-5.2.0.20101110.030222-361.pom is 
> forbidden by Maven Repository 
> policy. Because snapshots is a SNAPSHOT repository 
> {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to