dev@glassfish.java.net

Re: V3 : AMX-API build fails for me

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Wed, 18 Jun 2008 20:05:33 -0700

amx-api has not changed recently.

Try removing your repository and rebuilding.

On Jun 18, 2008, at 8:05 PM, V B Kumar Jayanti wrote:

> On a freshly checkout V3 workspace i am getting the following build
> error on Windows :
>
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] Building AMX API
> [INFO] task-segment: [install]
> [INFO]
> -------------------------------------------------------------------------
> ---
> ......
> Downloading: http://repo1.maven.org/maven2/javax/transaction/transaction-api/$
> {t
> ransaction-api.version}/transaction-api-${transaction-api.version}.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) javax.xml:jaxrpc-api:jar:${jaxrpc-api.version}
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=javax.xml -DartifactId=jaxrpc-
> api \
> -Dversion=${jaxrpc-api.version} -Dpackaging=jar -Dfile=/path/
> to/file
> Alternatively, if you host your own repository you can deploy the
> file there:
> mvn deploy:deploy-file -DgroupId=javax.xml -DartifactId=jaxrpc-api \
> -Dversion=${jaxrpc-api.version} -Dpackaging=jar -Dfile=/path/
> to/file \
>
> -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.glassfish.common:amx-api:hk2-jar:2.0-SNAPSHOT
> 2) javax.management.j2ee:management-api:jar:1.1-rev-1
> 3) javax.ejb:ejb-api:jar:3.0-alpha-1
> 4) javax.xml:jaxrpc-api:jar:${jaxrpc-api.version}
>
> 2) javax.transaction:transaction-api:jar:${transaction-api.version}
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=javax.transaction -
> DartifactId=transact
> ion-api \
> -Dversion=${transaction-api.version} -Dpackaging=jar -Dfile=/
> path/to/f
> ile
> Alternatively, if you host your own repository you can deploy the
> file there:
> mvn deploy:deploy-file -DgroupId=javax.transaction -
> DartifactId=transaction-
> api \
> -Dversion=${transaction-api.version} -Dpackaging=jar -Dfile=/
> path/to/f
> ile \
> -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.glassfish.common:amx-api:hk2-jar:2.0-SNAPSHOT
> 2) javax.management.j2ee:management-api:jar:1.1-rev-1
> 3) javax.ejb:ejb-api:jar:3.0-alpha-1
> 4) javax.transaction:transaction-api:jar:${transaction-
> api.version}
>
> ----------
>
> Can someone instruct how to get over this.
>
> Thanks.
>
> ---------------------------------------------------------------------
> 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