[
https://jira.codehaus.org/browse/MNG-4893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MNG-4893.
-------------------------------
Resolution: Won't Fix
Please refer to
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
if you're wondering why this issue was closed out.
Assignee, if you think you can fix this bug anytime soon, please reopen and
proceed appropriately.
> [regression] Version x.y.z.SNAPSHOT resolution/deployment not handled
> correctly
> -------------------------------------------------------------------------------
>
> Key: MNG-4893
> URL: https://jira.codehaus.org/browse/MNG-4893
> Project: Maven
> Issue Type: Bug
> Components: Deployment
> Affects Versions: 3.0
> Reporter: Paul Gier
> Assignee: Benjamin Bentmann
> Priority: Critical
>
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)