Issues with maven-ant-tasks / maven-profile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

i found some mess with maven-ant-tasks while packaging jinput (ant build);
when build.xml calls <artifact:pom> task provided by maven-ant-tasks, i get:

/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/apache/maven/profiles/ProfileManager
using the classloader
AntClassLoader[/home/guido/rpmbuild/BUILD/jinput/lib/maven-ant-tasks-2.1.0.jar]

Searching for that class i found it is included in package
maven-project-2.2.1, which depends on maven2

I could not find a suitable replacement in maven3, so maven-ant-tasks should
definitely depend on maven2 (yum let me install it without maven2)

This probably also needs fixing?
# rpm -q --whatprovides /usr/share/java/maven2/maven-project.jar
maven-project-2.2.1-25.fc16.noarch
maven2-2.2.1-25.fc16.noarch

Cheers,
Guido


-- 
Guido Grazioli <guido.grazioli@xxxxxxxxx>
Via Parri 11 48011 - Alfonsine (RA)
Mobile: +39 347 1017202 (10-18)
Key FP = 7040 F398 0DED A737 7337  DAE1 12DC A698 5E81 2278
Linked in: http://www.linkedin.com/in/guidograzioli
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel



[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux