RFS: libservlet2.5 (tomcat6)

Ludovic Claude ludovic.claude54 at googlemail.com
Sun Feb 21 22:30:52 UTC 2010


All right, I have filed a bug and will try to solve it.
I would suggest to wait for the patch, then we simply need to rebuild
Tomcat with no other change than using the new version of maven-repo-helper

Thanks,

Ludovic

Gabriele Giacone a écrit :
> 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

_______________________________________________
pkg-java-maintainers mailing list
pkg-java-maintainers at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers





More information about the pkg-java-maintainers mailing list