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 13:21:18 -0700

I knew what's going on...

verifier-impl has an dependency on jsp-impl, but without specifying a
version for it. So maven pick the latest one in the repo, which is
jsp-impl.2.1.3-b17, which depends on jsp-api-2.1.3-05. For some reason
jsp-api.2.1.3-b5 were not deployed properly, hence the error.

I'll fixed the pom.xml in verifier-impl to add a version for jsp-impl.
In the mean time, Jane, can you look into jsp-api.2.1.3-b05? Thanks.

-Kin-man

On 09/24/09 13:09, Jane Young wrote:
> Investigating...
>
>
> Kin-man Chung wrote:
>> 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/
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>
>> ---------------------------------------------------------------------
>> 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
>