dev@glassfish.java.net

Re: Is there a build problem?

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Wed, 18 Nov 2009 20:10:18 -0800

Hi Ken,

You need to build from a clean repo or remove javax/servlet/jsp from the
local Maven repository and then try "-P external-repo"

Even though the system hosting GlassFish Nexus server is down, the page
"http://maven.glassfish.org" redirects to a VMWare page which maven
actually downloads the html content as the artifact to your local Maven
repository. So this means that the downloaded artifacts in your local
Maven repository is now messed-up. You'll need to remove the bad
artifacts or start from a clean repo. Keep in mind that building from
a clean repo will take a LONG time. If you don't want to wait, I
suggest to remove the bad artifacts from the local Maven repo and try
building again.

HTH,
Jane

Ken Cavanaugh wrote:
> Bobby Bissett wrote:
>>>
>>> for at least 30 minutes. Is something down again?
>>
>> Looks like it -- Jane just opened a ticket. Give this a shot:
>>
>> http://wiki.glassfish.java.net/Wiki.jsp?page=BuildingWithoutNexus
>>
> That fails miserably too:
>
> mvn -P external-repo install gives:
>
> (lots of similar stuff omitted)
>
> [WARNING] Invalid project model for artifact
> [jsp-api:javax.servlet.jsp:2.2]. It will be ignored by the remote
> resources Mojo.
> [WARNING] Attempting to build MavenProject instance for Artifact
> (javax.el:el-api:2.2) of type: jar; constructing POM artifact instead.
> [WARNING] Invalid project model for artifact [el-api:javax.el:2.2]. It
> will be ignored by the remote resources Mojo.
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [WARNING] POM for 'javax.servlet.jsp:jsp-api:pom:2.2:compile' is
> invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM. for project javax.servlet.jsp:jsp-api at
> /export/home/ken/.m2/repository/javax/servlet/jsp/jsp-api/2.2/jsp-api-2.2.pom
>
> [WARNING] POM for 'javax.el:el-api:pom:2.2:compile' is invalid. It
> will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for
> project javax.el:el-api at
> /export/home/ken/.m2/repository/javax/el/el-api/2.2/el-api-2.2.pom
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [WARNING] POM for 'javax.servlet.jsp:jsp-api:pom:2.2:compile' is
> invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM. for project javax.servlet.jsp:jsp-api at
> /export/home/ken/.m2/repository/javax/servlet/jsp/jsp-api/2.2/jsp-api-2.2.pom
>
> [WARNING] POM for 'javax.el:el-api:pom:2.2:compile' is invalid. It
> will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for
> project javax.el:el-api at
> /export/home/ken/.m2/repository/javax/el/el-api/2.2/el-api-2.2.pom
> [INFO] [bundle:manifest {execution: bundle-manifest}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error calculating classpath for project MavenProject:
> org.glassfish:javax.servlet.jsp:3.0-SNAPSHOT @
> /space/ws/GlassFish/v3/v3/javaee-api/javax.servlet.jsp/pom.xml
>
> Embedded error: error in opening zip file
>
> Ken.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>