dev@glassfish.java.net

Re: Build failure: jsp-api jar version 2.1.3-b05 missing from maven repo

From: Kin-man Chung <Kin-Man.Chung_at_Sun.COM>
Date: Thu, 24 Sep 2009 12:49:47 -0700

I haven't done anything. :-)

All I did was ask Jane to promote a new version of jsp. Maybe the
artifacts were not deployed properly? Jane?

Also, I don't see how it got referenced at all. V3 pom.xml still uses
the old version 2.1.3-b4.

I'll see if I can reproduce.

-Kin-man

On 09/24/09 12:11, Sahoo wrote:
> I am refreshing my workspace after some days. I am getting a build
> failure like this:
>
> /Caused by:
> org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
> Missing:
> ----------
> 1) javax.servlet.jsp:jsp-api:jar:2.1.3-b05
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=javax.servlet.jsp
> -DartifactId=jsp-api -Dversion=2.1.3-b05 -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.servlet.jsp
> -DartifactId=jsp-api -Dversion=2.1.3-b05 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.glassfish:verifier:hk2-jar:3.0-SNAPSHOT
> 2) org.glassfish.web:jsp-impl:jar:2.1.3-b16
> 3) javax.servlet.jsp:jsp-api:jar:2.1.3-b05
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.glassfish:verifier:hk2-jar:3.0-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> glassfish-repo-archive
> (http://maven.glassfish.org/content/groups/glassfish)
> /
>
> When I go to the maven repo [1], I only see a pom and sha file as you
> can see from the attached screenshot; there is no jar file. How is build
> succeeding for others?
>
> Thanks,
> Sahoo
>
> [1]
> http://maven.glassfish.org/content/groups/glassfish/javax/servlet/jsp/jsp-api/2.1.3-b05/
>
>
>
> ------------------------------------------------------------------------
>