RFS: libservlet2.5 (tomcat6)

Gabriele Giacone 1o5g4r8o at gmail.com
Sun Feb 21 18:42:54 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ludovic Claude wrote:
> Hello Gabriele,
> 
> I don't quite see your motivation behind that fix. The POM files were
> correct in the previous version, servlet-api has the group id
> javax.servlet, jsp-api and el-api are also in the proper groups.
> 
> In maven.rules, there were lines such as:
> s/org.apache.tomcat/javax.servlet/ servlet-api jar s/.*/2.5/
> 
> This takes care of transforming the group for servlet-api to
> javax.servlet and forces the version to 2.5, and it has the additional
> advantage to keep track of the change so that projects which uses the
> Tomcat libraries will use also the correct groups and versions.
> 
> Ludovic

Before the fix:

/usr/share/maven-repo/javax/el/el-api/2.1/el-api-2.1.pom
/usr/share/maven-repo/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.pom
/usr/share/maven-repo/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom
/usr/share/maven-repo/org/apache/tomcat/el-api/2.1/el-api-2.1.jar
/usr/share/maven-repo/org/apache/tomcat/jsp-api/2.1/jsp-api-2.1.jar
/usr/share/maven-repo/org/apache/tomcat/servlet-api/2.5/servlet-api-2.5.jar

After the fix:

/usr/share/maven-repo/javax/el/el-api/2.1/el-api-2.1.jar
/usr/share/maven-repo/javax/el/el-api/2.1/el-api-2.1.pom
/usr/share/maven-repo/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.jar
/usr/share/maven-repo/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.pom
/usr/share/maven-repo/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
/usr/share/maven-repo/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom

Now, it find jars.

Cheers,
Gabriele
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkuBfq4ACgkQp3cdCbVcnCtVaQCfdGYz9erlGvebgnBSPNfPyLJl
sQgAoNzql98YZPN8+u9dhouUwORhf1dw
=uPHH
-----END PGP SIGNATURE-----



More information about the pkg-java-maintainers mailing list