dev@glassfish.java.net

Re: v3 build failure?

From: Byron Nevins <Byron.Nevins_at_Sun.COM>
Date: Mon, 04 Feb 2008 10:27:56 -0800

Did you do this step first?

cd v3/api
mvn -U install



Hong Zhang wrote:

> Hi,
> I checked out a fresh workspace this morning and I got this failure
> while doing "mvn -U install". Anyone has any idea? I have tried to
> clean up my ~/.m2/repository, but that did not help.
>
> INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.glassfish.build:maven-glassfish-extension:jar:1.0-SNAPSHOT
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.glassfish.build
> -DartifactId=maven-glassfish-extension \
> -Dversion=1.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.build
> -DartifactId=maven-glassfish-extension \
> -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
> -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.glassfish:glassfish-parent:pom:10.0-SNAPSHOT
> 2) org.glassfish.build:maven-glassfish-extension:jar:1.0-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.glassfish:glassfish-parent:pom: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 (http://download.java.net/maven/1),
> glassfish-repository (http://download.java.net/maven/glassfish),
> java.net (http://download.java.net/maven/1)
>
>
> Thanks,
>
> - Hong
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

-- 
Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123 - Sun Microsystems, Inc.