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

Steve Jerman commented on MNG-4871:
-----------------------------------

Oops... looking at the file now (or trying to) and get an error from Nexus. 
.... will investigate further. I wonder if the Nexus metadata is corrupted.

Will close the issue if it is repo error....

> Can't get SNAPSHOT parent from repository
> -----------------------------------------
>
>                 Key: MNG-4871
>                 URL: http://jira.codehaus.org/browse/MNG-4871
>             Project: Maven 2 & 3
>          Issue Type: Bug
>         Environment: Maven 3, Nexus repository
>            Reporter: Steve Jerman
>
> Sorry if this is a dupe... but I did a search :)
> I have a SNAPSHOT parent built to a repository:
> {pre}
> generation-parent-0.6.204-20101015.032109-1.pom        Thu Oct 14 20:21:09 
> PDT 2010    3203     
> generation-parent-0.6.204-20101015.032109-1.pom.md5   Tue Oct 19 03:18:12 PDT 
> 2010    32       
> generation-parent-0.6.204-20101015.032109-1.pom.sha1  Tue Oct 19 03:18:12 PDT 
> 2010    40       
> generation-parent-0.6.204-20101015.181631-2.pom       Fri Oct 15 11:16:31 PDT 
> 2010    3203     
> generation-parent-0.6.204-20101015.181631-2.pom.md5   Tue Oct 19 03:18:13 PDT 
> 2010    32       
> generation-parent-0.6.204-20101015.181631-2.pom.sha1  Tue Oct 19 03:18:13 PDT 
> 2010    40       
> generation-parent-0.6.204-20101015.185652-3.pom       Fri Oct 15 11:56:52 PDT 
> 2010    3203     
> generation-parent-0.6.204-20101015.185652-3.pom.md5   Tue Oct 19 03:18:13 PDT 
> 2010    32       
> ...
> {pre}
> and I declare it in my POM:
> {pre}
>    <parent>
>       <artifactId>generation-parent</artifactId>
>       <groupId>com.cisco.xmpim</groupId>
>       <version>0.6.204-SNAPSHOT</version>
>    </parent>
> {pre}
> I get the following error:
> {pre}
> sjc-stjerman-8712:rfm-im-module steve$ mvn -U install
> [INFO] Scanning for projects...
> Downloading: 
> http://nmtg-maven:9081/nexus/content/groups/nmtg-ifm-group/com/cisco/xmpim/generation-parent/0.6.204-SNAPSHOT/maven-metadata.xml
> Downloading: 
> http://nmtg-maven:9081/nexus/content/groups/nmtg-ifm-group/com/cisco/xmpim/generation-parent/0.6.204-SNAPSHOT/generation-parent-0.6.204-SNAPSHOT.pom
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project com.cisco.rfm.model:rfm-im-module:0.6.204-SNAPSHOT 
> (/Users/steve/Desktop/rfm-im-module/pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact 
> com.cisco.xmpim:generation-parent:pom:0.6.204-SNAPSHOT in nexus 
> (http://nmtg-maven:9081/nexus/content/groups/nmtg-ifm-group/) and 
> 'parent.relativePath' points at wrong local POM @ line 7, column 12 -> [Help 
> 2]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2] 
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> {pre}
> Seems like it is looking for 'SNAPSHOT' rather than the timstamp qualified 
> version. It seems to work with a release (ie not a SNAPSHOT)

-- 
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