On 08/28/2010 01:53 AM, Alexander Kurtakov wrote:
> Building some stuff in rawhide I'm getting:
>
> [INFO] Error configuring: org.apache.maven.plugins:maven-antrun-plugin.
> Reason: A required class was missing during mojo configuration:
> org/apache/tools/ant/launch/AntMain
>
Hi Orion,
> Now, I'm wondering if one or more of these is true:
>
> - My ant 1.8.1 package needs fixing somehow
I already fixed the problem here :).
I did notice that you fixed somthing about the ant common pom. I fixed up the
version number some too (got rid of -SNAPSHOT).
> - maven-antrun-plugin needs to list ant-launcher in its
dependencies
I'm pretty sure that this is the right answer. But it should be done not on
the RPM side but on the Maven side i.e. adding ant-launcher to maven-ant-
plugins dependencies in maven-ant-launcher pom.xml
Thought I'd take a look at antrun-plugin, but it does not appear to build at
the moment:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2435483
[INFO] Compilation failure
/builddir/build/BUILD/maven-antrun-plugin-1.4/src/main/java/org/apache/maven/plugin/antrun/AbstractAntMojo.java:[45,60]
package org.codehaus.plexus.component.configurator.expression does not exist
/builddir/build/BUILD/maven-antrun-plugin-1.4/src/main/java/org/apache/maven/plugin/antrun/components/AntTargetConverter.java:[28,49]
package org.codehaus.plexus.component.configurator does not exist
/builddir/build/BUILD/maven-antrun-plugin-1.4/src/main/java/org/apache/maven/plugin/antrun/components/AntTargetConverter.java:[29,49]
package org.codehaus.plexus.component.configurator does not exist
/builddir/build/BUILD/maven-antrun-plugin-1.4/src/main/java/org/apache/maven/plugin/antrun/components/AntTargetConverter.java:[30,60]
package org.codehaus.plexus.component.configurator.converters does not exist
/builddir/build/BUILD/maven-antrun-plugin-1.4/src/main/java/org/apache/maven/plugin/antrun/components/AntTargetConverter.java:[31,60]
package org.codehaus.plexus.component.configurator.converters does not exist
/builddir/build/BUILD/maven-antrun-plugin-1.4/src/main/java/org/apache/maven/plugin/antrun/components/AntTargetConverter.java:[32,67]
package org.codehaus.plexus.component.configurator.converters.lookup does not
exist
/builddir/build/BUILD/maven-antrun-plugin-1.4/src/main/java/org/apache/maven/plugin/antrun/components/AntTargetConverter.java:[33,60]
package org.codehaus.plexus.component.configurator.expression does not exist
/builddir/build/BUILD/maven-antrun-plugin-1.4/src/main/java/org/apache/maven/plugin/antrun/components/AntTargetConverter.java:[34,40]
package org.codehaus.plexus.configuration does not exist
/builddir/build/BUILD/maven-antrun-plugin-1.4/src/main/java/org/apache/maven/plugin/antrun/components/AntTargetConverter.java:[35,40]
package org.codehaus.plexus.configuration does not exist
/builddir/build/BUILD/maven-antrun-plugin-1.4/src/main/java/org/apache/maven/plugin/antrun/components/AntTargetConverter.java:[46,12]
cannot find symbol
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301
http://www.cora.nwra.com