dev@glassfish.java.net

Re: [v3] build failures - amx-api-10.0-SNAPSHOT.jar artifact is missing

From: Siraj Ghaffar <Siraj.Ghaffar_at_Sun.COM>
Date: Thu, 27 Mar 2008 16:34:12 -0700

This was fixed some time back.

There was a amx-api-10.0-SNAPSHOT.jar in my repository and mvn -U does
not remove that.

Dinesh Patil wrote:
> Looks like this checkin is causing this, thanks to Mitesh for pointing
> this.
>
> Siraj, can you pls check this.
>
> The error about missing dependencies (at bottom of the mail) is
> because of this checkin.
> http://fisheye4.cenqua.com/browse/glassfish-svn/trunk/v3/admin/cli/pom.xml?r1=19290&r2=19352
>
>
> There is no amx-api with with version 10.0-SNAPSNHOT in glassfish
> maven repos
>
> <dependency> 203 +
> <groupId>org.glassfish.common</groupId>
> 204 + <artifactId>amx-api</artifactId>
> 205 +
> <version>${project.parent.version}</version>
> 206 + </dependency>
>
>
> Lloyd L Chambers wrote:
>
>> Nothing should have changed, I can't explain the problem. Do you
>> need to do that maven -U thing?
>>
>> Lloyd
>>
>> On Mar 27, 2008, at 4:32 PM, Jane Young wrote:
>>
>>> Hi,
>>>
>>> I have a fresh v3 workspace and seeing this build error:
>>>
>>> Downloading:
>>> https://maven2-repository.dev.java.net/nonav/repository/org/glassfish/common/amx-api/10.0-SNAPSHOT/amx-api-10.0-SNAPSHOT.jar
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] Failed to resolve artifact.
>>>
>>> Missing:
>>> ----------
>>> 1) org.glassfish.common:amx-api:jar:10.0-SNAPSHOT
>>>
>>> Try downloading the file manually from the project website.
>>>
>>> Then, install it using the command:
>>> mvn install:install-file -DgroupId=org.glassfish.common -
>>> DartifactId=amx-api \
>>> -Dversion=10.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>>> Alternatively, if you host your own repository you can deploy the
>>> file there: mvn deploy:deploy-file -
>>> DgroupId=org.glassfish.common -DartifactId=amx-api \
>>> -Dversion=10.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
>>> -Durl=[url] -DrepositoryId=[id]
>>>
>>> Path to dependency:
>>> 1) org.glassfish.admin:admin-cli:hk2-jar:10.0-SNAPSHOT
>>> 2) org.glassfish.common:amx-api:jar:10.0-SNAPSHOT
>>>
>>> ----------
>>> 1 required artifact is missing.
>>>
>>> for artifact:
>>> org.glassfish.admin:admin-cli:hk2-jar:10.0-SNAPSHOT
>>>
>>> from the specified remote repositories:
>>> central (http://repo1.maven.org/maven2),
>>> maven2.java.net (http://download.java.net/maven/2),
>>> repo1.maven.org (http://repo1.maven.org/maven2),
>>> java-dev-repository
>>> (https://maven-repository.dev.java.net/nonav/repository ),
>>> glassfish-repository (http://download.java.net/maven/glassfish),
>>> maven2.java.net-backup
>>> (https://maven2-repository.dev.java.net/nonav/repository ),
>>> glassfish-repository-wsinterop (http://maven.dyndns.org/glassfish/)
>>>
>>>
>>> Where is amx-api-10.0-SNAPSHOT.jar ?
>>>
>>> Thanks,
>>> Jane
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---
>> Lloyd L Chambers
>> lloyd.chambers_at_sun.com
>> Sun Microsystems, Inc
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>