Re: [v3] build failures - amx-api-10.0-SNAPSHOT.jar artifact is missing
Get it. Thanks
Anissa
Jerome Dochez wrote:
> +1
>
> please don't use hardcoded versions in individual poms, versions
> should all be in the parent pom.xml
>
> thanks, jerome
>
> On Mar 27, 2008, at 5:25 PM, Shing Wai Chan wrote:
>
>> Anissa Lam wrote:
>>>
>>> Sirja,
>>> If you need it, this is how GUI specify the dependency.
>>>
>>> <dependency>
>>> <groupId>org.glassfish.common</groupId>
>>> <artifactId>amx-api</artifactId>
>>> <version>2.0-SNAPSHOT</version>
>> Instead of using ${project.parent.version} or hard-coded
>> 2.0-SNAPSHOT, you may like to use ${amx-api.version}
>>> </dependency>
>>>
>>> Anissa.
>>>
>>>
>>> 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
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>