dev@glassfish.java.net

Re: maven-istack-commons-plugin

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Tue, 01 Mar 2011 11:02:47 -0800

Sorry, you're right, I misread the pom.

Here's the real problem I'm having. I'm trying to build grizzly:

[INFO] ------------------------------------------------------------------------
[INFO] Building grizzly-utils
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
Downloading:
http://gf-maven.us.oracle.com/nexus/content/groups/internal-gf-nexus//com/sun/istack/istack-commons/1.1-SNAPSHOT/istack-commons-1.1-SNAPSHOT.pom
[INFO] Unable to find resource 'com.sun.istack:istack-commons:pom:1.1-SNAPSHOT'
in repository java.net maven 2 repository (http://download.java.net/maven/2)
Downloading:
http://gf-maven.us.oracle.com/nexus/content/groups/internal-gf-nexus//com/sun/istack/istack-commons/1.1-SNAPSHOT/istack-commons-1.1-SNAPSHOT.pom
[INFO] Unable to find resource 'com.sun.istack:istack-commons:pom:1.1-SNAPSHOT'
in repository glassfish (http://download.java.net/maven/2/)
Downloading:
http://gf-maven.us.oracle.com/nexus/content/groups/internal-gf-nexus//com/sun/istack/istack-commons/1.1-SNAPSHOT/istack-commons-1.1-SNAPSHOT.pom
[INFO] Unable to find resource 'com.sun.istack:istack-commons:pom:1.1-SNAPSHOT'
in repository java.net (http://download.java.net/maven/2)
Downloading:
http://gf-maven.us.oracle.com/nexus/content/groups/internal-gf-nexus//com/sun/istack/istack-commons/1.1-SNAPSHOT/istack-commons-1.1-SNAPSHOT.pom
[INFO] Unable to find resource 'com.sun.istack:istack-commons:pom:1.1-SNAPSHOT'
in repository codehaus (http://repository.codehaus.org)
Downloading:
http://gf-maven.us.oracle.com/nexus/content/groups/internal-gf-nexus//com/sun/istack/istack-commons/1.1-SNAPSHOT/istack-commons-1.1-SNAPSHOT.pom
[INFO] Unable to find resource 'com.sun.istack:istack-commons:pom:1.1-SNAPSHOT'
in repository glassfish-maven2-repository.dev.java.net
(http://download.java.net/maven/glassfish/)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: com.sun.istack:maven-istack-commons-plugin:maven-plugin:0.1

Reason: Cannot find parent: com.sun.istack:istack-commons for project:
com.sun.istack:maven-istack-commons-plugin:maven-plugin:0.1 for project
com.sun.istack:maven-istack-commons-plugin:maven-plugin:0.1


What am I doing wrong? Is this because gf-maven doesn't have any
snapshot artifacts? (Should this really be depending on a snapshot
artifact?)

How do I configure my maven mirrors so that I get all non-snapshot
artifacts from gf-maven but can still access snapshot artifacts from
(e.g.) download.java.net?


Martin Grebac wrote on 03/01/2011 10:30 AM:
> Hi,
> I do see it refers to the parent 1.1-SNAPSHOT pom, but the version itself is redefined to 0.1.
> MartiNG
> --
> Martin Grebac
> GlassFish/Metro/JAXB/Tooling at Oracle
> http://blogs.sun.com/mgrebac
> ICQ: 93478885
>
> On Feb 23, 2011, at 10:47 PM, Bill Shannon wrote:
>
>> Who owns the maven-istack-commons-plugin?
>>
>> The version published in the repository as the 0.1 version claims to
>> be version 1.1-SNAPSHOT:
>>
>> http://download.java.net/maven/2/com/sun/istack/maven-istack-commons-plugin/0.1/maven-istack-commons-plugin-0.1.pom
>