maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Re : Determining real GAV for java.servlet:servlet-api
Date Mon, 25 May 2009 07:40:46 GMT
True. For this jar (servlet-api) it shouldn't really matter. However,
other jars (xml parsers for instance) that are involved in unit tests
it would matter.

/A

On Mon, May 25, 2009 at 09:35, Julien HENRY <henryju@yahoo.fr> wrote:
> Correct me if I am wrong but I think servlet-api should be set to "provided" scope so
it doesn't really matter if this is not exactly the same JAR as long as the interfaces are
the same.
>
>
> Regards,
>
> Julien
>
>
> ________________________________
> De : Anders Hammar <anders@hammar.net>
> À : Maven Users List <users@maven.apache.org>
> Envoyé le : Lundi, 25 Mai 2009, 8h28mn 17s
> Objet : Re: Determining real GAV for java.servlet:servlet-api
>
> Ok, so it the servlet api jar version for JBoss 4.2.2 you're looking
> for? I think that would be version "2.5-brew" in JBoss terms (not 2.4
> as I wrote in my last mail). It's outlined in JBoss' build script:
> http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_4_2_2_GA/build/build-thirdparty.xml
>
> You'll find it here:
> http://repository.jboss.org/sun-servlet/2.5-brew/
> (Still not a maven repo.)
>
> Yes, it's mess with JBoss jars...
>
> /Anders
>
> On Mon, May 25, 2009 at 08:17, daniel.green <octoberdan@gmail.com> wrote:
>>
>> Gah, I posted the wrong GAV data. The correct one has java-servlet as the
>> artifact id. The given does in fact work for jsp-api, just not for
>> java-servlet.
>>
>>
>> Wayne Fay wrote:
>>>
>>>>    <groupId>javax.servlet</groupId>
>>>>    <artifactId>jsp-api</artifactId>
>>>>    <version>2.0</version>
>>>
>>> Any reason this won't work?
>>>   <groupId>javax.servlet</groupId>
>>>   <artifactId>jsp-api</artifactId>
>>>   <version>2.0</version>
>>>
>>> Taken from:
>>> http://repo1.maven.org/maven2/javax/servlet/jsp-api/2.0/jsp-api-2.0.pom
>>>
>>> Wayne
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context: http://www.nabble.com/Determining-real-GAV-for-java.servlet%3Aservlet-api-tp23699126p23701698.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message