[fedora-java] Maven and tomcat

Alexander Kurtakov akurtako at redhat.com
Wed Oct 21 10:22:27 UTC 2009


> I've started poking into the requirements for building sesame, and I'm
> hitting an issue with Tomcat and Maven on Rawhide. This happens every
> time I try to rebuild the slf4j SRPM on Rawhide (as well as in other
> cases, but this is an easy reproducer):
> 
> Here's the error, which I get with both mvn and mvn-jpp:
> Project ID: null:servlet-api:jar:5.5.27
> 
> Reason: Cannot find parent: tomcat:tomcat-parent for project:
> null:servlet-api:jar:5.5.27 for project null:servlet-api:jar:5.5.27
> 
> 
> The package tomcat5-servlet-2.4-api *is* installed and includes a
> plausible-looking
> /usr/share/maven2/poms/JPP-tomcat5-servlet-2.4-api.pom file.
> 
> What's going on? What does Maven want that it's not getting?
> 
> Eventually I'll learn to understand and love Maven, I'm sure ... :)
> 
> MEF
> 

mvn-jpp is looking for fragments in /etc/maven/fragments.
And the fragment file is part of the tomcat5 package. If you add tomcat5 as a 
BuildRequires it should work. Are you trying to update slf4j or it is failing 
on regular rebuild?

Alex




More information about the fedora-devel-java-list mailing list