Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: ClassNotFoundException while building with maven-ant-tasks tasks
https://bugzilla.redhat.com/show_bug.cgi?id=723276
Summary: ClassNotFoundException while building with
maven-ant-tasks tasks
Product: Fedora
Version: rawhide
Platform: noarch
OS/Version: Linux
Status: NEW
Severity: medium
Priority: unspecified
Component: maven-ant-tasks
AssignedTo: orion(a)cora.nwra.com
ReportedBy: guido.grazioli(a)gmail.com
QAContact: extras-qa(a)fedoraproject.org
CC: orion(a)cora.nwra.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
Description of problem:
Building with ant and maven-ant-tasks throws several ClassNotFoundExceptions
Version-Release number of selected component (if applicable):
maven-ant-tasks-2.1.1-8.fc16.noarch
How reproducible:
Run a build.xml which invokes a <artifact:> task
Actual results:
ClassNotFoundExceptions, ie:
BUILD FAILED
/home/guido/rpmbuild/BUILD/jinput/build.xml:251: The following error occurred
while executing this line:
jar:file:/home/guido/rpmbuild/BUILD/jinput/lib/maven-ant-tasks-2.1.0.jar!/org/apache/maven/artifact/ant/antlib.xml:4:
taskdef A class needed by class org.apache.maven.artifact.ant.DependenciesTask
cannot be found: org/codehaus/classworlds/DuplicateRealmException
Expected results:
Build runs succesfully
Additional info:
I could go a bit ahead in the build, avoiding CNFEs, creating the files:
/etc/ant.d/maven-project (containing "maven2/maven-project")
/etc/ant.d/maven-error-diagnostics ("maven2/maven-error-diagnostics")
/etc/ant.d/plexus-classwords (containing "plexus/classworlds")
/etc/ant.d/plexus-container-default ("plexus/container-default")
/etc/ant.d/plexus-interpolation ("plexus/interpolation")
but at some point i get:
BUILD FAILED
/home/guido/rpmbuild/BUILD/jinput/build.xml:261: Unable to find component:
org.apache.maven.artifact.manager.WagonManager
maven-ant-tasks should also get runtime requires on the packages which provide
those jars
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.