You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Steve Jerman (JIRA)" <ji...@codehaus.org> on 2010/10/19 22:57:32 UTC
[jira] Created: (MNG-4871) Can't get SNAPSHOT parent from
repository
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
[jira] Commented: (MNG-4871) Can't get SNAPSHOT parent from
repository
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240193#action_240193 ]
Benjamin Bentmann commented on MNG-4871:
----------------------------------------
bq.get an error from Nexus
Could be related to the [extended snapshot metadata|https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes#Maven3.xCompatibilityNotes-UniqueSnapshotVersionsandClassifiers] deployed by Maven 3.0 There a system property on the Maven side and a patch for Nexus on the server side that would help in that case.
> 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
[jira] Commented: (MNG-4871) Can't get SNAPSHOT parent from
repository
Posted by "Steve Jerman (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240194#action_240194 ]
Steve Jerman commented on MNG-4871:
-----------------------------------
Hum.. that may be the issue. I just rebuilt :
maven-metadata.xml Tue Oct 19 14:24:50 PDT 2010 1246
maven-metadata.xml.md5 Tue Oct 19 11:23:56 PDT 2010 33
maven-metadata.xml.sha1 Tue Oct 19 11:23:56 PDT 2010 41
but get a file not found error when I try to download. the file. Will get in touch with the people who manage our Nexus repo and see if they can help or patch.
Thanks.
> 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
[jira] Commented: (MNG-4871) Can't get SNAPSHOT parent from
repository
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240188#action_240188 ]
Benjamin Bentmann commented on MNG-4871:
----------------------------------------
bq. Downloading: http://nmtg-maven:9081/nexus/content/groups/nmtg-ifm-group/com/cisco/xmpim/generation-parent/0.6.204-SNAPSHOT/maven-metadata.xml
Can you share the contents of that remote file as well as its equivalent from the local repo (com/cisco/xmpim/generation-parent/0.6.204-SNAPSHOT/maven-metadata-nexus.xml)?
> 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
[jira] Commented: (MNG-4871) Can't get SNAPSHOT parent from
repository
Posted by "Steve Jerman (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Closed: (MNG-4871) Can't get SNAPSHOT parent from repository
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4871.
----------------------------------
Resolution: Not A Bug
Assignee: Benjamin Bentmann
> 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
> Assignee: Benjamin Bentmann
>
> 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
[jira] Issue Comment Edited: (MNG-4871) Can't get SNAPSHOT parent
from repository
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240188#action_240188 ]
Benjamin Bentmann edited comment on MNG-4871 at 10/19/10 4:38 PM:
------------------------------------------------------------------
bq. Downloading: http://nmtg-maven:9081/nexus/content/groups/nmtg-ifm-group/com/cisco/xmpim/generation-parent/0.6.204-SNAPSHOT/maven-metadata.xml
Can you share the contents of that remote file as well as its equivalent from the local repo (com/cisco/xmpim/generation-parent/0.6.204-SNAPSHOT/maven-metadata-nexus.xml)? Also, a debug log of the failing build would be highly appreciated.
was (Author: bentmann):
bq. Downloading: http://nmtg-maven:9081/nexus/content/groups/nmtg-ifm-group/com/cisco/xmpim/generation-parent/0.6.204-SNAPSHOT/maven-metadata.xml
Can you share the contents of that remote file as well as its equivalent from the local repo (com/cisco/xmpim/generation-parent/0.6.204-SNAPSHOT/maven-metadata-nexus.xml)?
> 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