dev@glassfish.java.net

Re: GlassFish 3.1 build is broken if no .m2 directory? JSFTemplating module issue: jsftemplating-dt:jar:2.0.2

From: Jane Young <jane.young_at_oracle.com>
Date: Thu, 20 May 2010 14:50:06 -0700

Hi Ludo,

Can you try building again? It works for me.
I'm able to download jsftemplating artifacts.

This is not related to .m2 directory. The build error indicates that
it's not able to find jsftemplating artifacts.
It's there in Nexus but jsftemplate artifact are deployed to maven 1
repository so there are no pom files:
http://download.java.net/maven/1/com.sun.jsftemplating/jars/
thus download time may be slow.

Jane


Ludovic Champenois wrote:
> rm -rf ~/.m2
> mvn -U clean install
>
> After a long while:
> [INFO] Building Admin Console Common
> [INFO] task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://maven.glassfish.org/content/groups/glassfish/org/glassfish/build/maven-glassfishbuild-plugin/3.1-SNAPSHOT/maven-glassfishbuild-plugin-3.1-SNAPSHOT.jar
>
> [INFO] Reloading plugin container for:
> org.glassfish.build:maven-glassfishbuild-plugin:3.1-SNAPSHOT. The
> plugin artifact has changed.
> [INFO] [clean:clean {execution: default-clean}]
> Downloading:
> http://maven.glassfish.org/content/groups/glassfish/org/glassfish/build/maven-glassfishbuild-plugin/3.1-SNAPSHOT/maven-glassfishbuild-plugin-3.1-SNAPSHOT.jar
>
> Downloading:
> http://maven.glassfish.org/content/groups/glassfish/com/sun/jsftemplating/jsftemplating/2.0.2/jsftemplating-2.0.2.pom
>
> 228b downloaded (jsftemplating-2.0.2.pom)
> [WARNING] Unable to get resource
> 'com.sun.jsftemplating:jsftemplating:pom:2.0.2' from repository
> glassfish-repo-archive
> (http://maven.glassfish.org/content/groups/glassfish): Read timed out
> Downloading:
> http://repo1.maven.org/maven2/com/sun/jsftemplating/jsftemplating/2.0.2/jsftemplating-2.0.2.pom
>
> [INFO] Unable to find resource
> 'com.sun.jsftemplating:jsftemplating:pom:2.0.2' in repository central
> (http://repo1.maven.org/maven2)
> Downloading:
> http://maven.glassfish.org/content/groups/glassfish/com/sun/jsftemplating/jsftemplating-dt/2.0.2/jsftemplating-dt-2.0.2.pom
>
> 229b downloaded (jsftemplating-dt-2.0.2.pom)
> [WARNING] Unable to get resource
> 'com.sun.jsftemplating:jsftemplating-dt:pom:2.0.2' from repository
> glassfish-repo-archive
> (http://maven.glassfish.org/content/groups/glassfish): Read timed out
> Downloading:
> http://repo1.maven.org/maven2/com/sun/jsftemplating/jsftemplating-dt/2.0.2/jsftemplating-dt-2.0.2.pom
>
> [INFO] Unable to find resource
> 'com.sun.jsftemplating:jsftemplating-dt:pom:2.0.2' in repository
> central (http://repo1.maven.org/maven2)
> [INFO] snapshot
> org.glassfish.admingui:console-plugin-service:3.1-SNAPSHOT: checking
> for updates from glassfish-repo-archive
> Downloading:
> http://maven.glassfish.org/content/groups/glassfish/com/sun/jsftemplating/jsftemplating/2.0.2/jsftemplating-2.0.2.jar
>
> [INFO] snapshot
> org.glassfish.deployment:deployment-client:3.1-SNAPSHOT: checking for
> updates from glassfish-repo-archive
> 462K downloaded (jsftemplating-2.0.2.jar)
> [WARNING] Unable to get resource
> 'com.sun.jsftemplating:jsftemplating:jar:2.0.2' from repository
> glassfish-repo-archive
> (http://maven.glassfish.org/content/groups/glassfish): Read timed out
> Downloading:
> http://repo1.maven.org/maven2/com/sun/jsftemplating/jsftemplating/2.0.2/jsftemplating-2.0.2.jar
>
> [INFO] Unable to find resource
> 'com.sun.jsftemplating:jsftemplating:jar:2.0.2' in repository central
> (http://repo1.maven.org/maven2)
> Downloading:
> http://maven.glassfish.org/content/groups/glassfish/com/sun/jsftemplating/jsftemplating-dt/2.0.2/jsftemplating-dt-2.0.2.jar
>
> 17K downloaded (jsftemplating-dt-2.0.2.jar)
> [WARNING] Unable to get resource
> 'com.sun.jsftemplating:jsftemplating-dt:jar:2.0.2' from repository
> glassfish-repo-archive
> (http://maven.glassfish.org/content/groups/glassfish): Read timed out
> Downloading:
> http://repo1.maven.org/maven2/com/sun/jsftemplating/jsftemplating-dt/2.0.2/jsftemplating-dt-2.0.2.jar
>
> [INFO] Unable to find resource
> 'com.sun.jsftemplating:jsftemplating-dt:jar:2.0.2' in repository
> central (http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) com.sun.jsftemplating:jsftemplating:jar:2.0.2
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=com.sun.jsftemplating
> -DartifactId=jsftemplating -Dversion=2.0.2 -Dpackaging=jar
> -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the
> file there:
> mvn deploy:deploy-file -DgroupId=com.sun.jsftemplating
> -DartifactId=jsftemplating -Dversion=2.0.2 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.glassfish.admingui:console-common:hk2-jar:3.1-SNAPSHOT
> 2) com.sun.jsftemplating:jsftemplating:jar:2.0.2
>
> 2) com.sun.jsftemplating:jsftemplating-dt:jar:2.0.2
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=com.sun.jsftemplating
> -DartifactId=jsftemplating-dt -Dversion=2.0.2 -Dpackaging=jar
> -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the
> file there:
> mvn deploy:deploy-file -DgroupId=com.sun.jsftemplating
> -DartifactId=jsftemplating-dt -Dversion=2.0.2 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.glassfish.admingui:console-common:hk2-jar:3.1-SNAPSHOT
> 2) com.sun.jsftemplating:jsftemplating-dt:jar:2.0.2
>
> ----------
> 2 required artifacts are missing.
>
> for artifact:
> org.glassfish.admingui:console-common:hk2-jar:3.1-SNAPSHOT
>
> from the specified remote repositories:
> glassfish-repo-archive
> (http://maven.glassfish.org/content/groups/glassfish),
> central (http://repo1.maven.org/maven2)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>