dev@glassfish.java.net

Re: [GFv3] Unstable build: don't refresh your workspace now

From: Nandini Ektare <Nandini.Ektare_at_Sun.COM>
Date: Tue, 08 Jul 2008 08:21:49 -0700

Sahoo wrote:
> I have just been told that it's going to take some time (expected by
> Tuesday morning - US time) address the issues in the build system.
Has this been fixed now? Not sure if the error below is related to this
issue,
but my build from scratch now fails with the error below. (I have
deleted previous repository)

Downloading:
https://maven2-repository.dev.java.net/nonav/repository/org/glassfish/javax.xml.stream/10.0-SNAPSHOT/javax.xml.stream-10.0-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.glassfish:javax.xml.stream: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
-DartifactId=javax.xml.stream \
          -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
-DartifactId=javax.xml.stream \
          -Dversion=10.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.glassfish.common:common-util:hk2-jar:10.0-SNAPSHOT
        2) org.glassfish:javax.xml.stream:jar:10.0-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
  org.glassfish.common:common-util: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/)

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 10 seconds
[INFO] Finished at: Tue Jul 08 08:15:48 PDT 2008
[INFO] Final Memory: 29M/52M
[INFO]
------------------------------------------------------------------------

> In the mean while, if you wish to build v3, the following procedure
> should work:
>
> 1. Check out and build jsp project using latest hk2:
> svn co https://jsp.dev.java.net/svn/jsp/trunk jsp/trunk
> JAVA_HOME=<path to JDK 1.6> mvn -f jsp/trunk/pom.xml install
> -Dhk2.version=0.3.8 -Dhk2.plugin.version=0.3.8
>
> 2. Update v3:
> cd <v3 dir>
> svn up
>
> 3. Build javaee-api:
> mvn -f javaee-api/pom.xml clean install
>
> Sometimes the above command fails while building the last module
> (i.e., javax.javaee module) because of what I think is a JDK bug
> (6713913). If that happens, just try building javax.javaee separately.
>
> 4. Build v3:
> mvn -f ./pom.xml clean install
>
> Thanks,
> Sahoo
>
> Sahoo wrote:
>> Hi,
>>
>> Don't refresh your v3 workspace now. You may like to wait until we
>> figure out why builds are not getting pushed to maven repo. I am
>> waiting for the build team to get to work.
>>
>> Thanks,
>> Sahoo
>>
>> ---------------------------------------------------------------------
>> 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
>