Hi,

Are you using JBoss AS? One of the problems regarding JBoss and Maven
is that they most often do not use the jar files as released by the
projects. Based on the manifest you quote, it would imply that it was
implemented by JBoss. I seriously doubt that. Most likely, the jar you
have is based on this one:
http://repository.jboss.org/sun-servlet/2.4/
That's not a maven2 repo, but it's the repo that JBoss uses when
building this AS. If you look at the component-info.xml file, you can
often figure out where the original file is from. If there are patches
that they (JBoss) include, that is often outlined.

So, the basic question is: do you want to use the very same artifact
(jar library) for your build as you want to use in runtime? If yes,
and you're using JBoss AS, you need to set up your own repo with the
artifacts taken from the AS. That's what we do for JBoss.

/Anders

On Mon, May 25, 2009 at 01:08, daniel.green <[email protected]> wrote:
>
> I have one dependency left to determine the GAV for in a massive project
> overhaul. The original GAV data was as follows:
>
> <dependency>
>    <groupId>javax.servlet</groupId>
>    <artifactId>jsp-api</artifactId>
>    <version>2.0</version>
>    <scope>system</scope>
>    <systemPath>
>        ${basedir}/../configuration-sets/redacted/lib/jsp-api.jar
>    </systemPath>
> </dependency>
>
> But I don't believe it. Here's the file:
> http://www.nabble.com/file/p23699126/servlet-api.jar servlet-api.jar
>
> The manifest is:
>
> Manifest-Version: 1.0
> Specification-Title: JBoss
> Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.)
> Ant-Version: Apache Ant 1.6.5
> Implementation-Title: JBoss [Trinity]
> Specification-Vendor: JBoss (http://www.jboss.org/)
> Specification-Version: 4.2.2.GA
> Implementation-Vendor-Id: http://www.jboss.org/
> Implementation-Version: 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=20
>  0710221139)
> Implementation-Vendor: JBoss Inc.
> Implementation-URL: http://www.jboss.org/
>
> What GAV data should I be using? What repository would I find it in?
> --
> View this message in context: 
> http://www.nabble.com/Determining-real-GAV-for-java.servlet%3Aservlet-api-tp23699126p23699126.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to