Buidl with maven 3 fails on Guvnor due to maven-antrun-plugin
-------------------------------------------------------------
Key: JBRULES-2737
URL:
https://jira.jboss.org/browse/JBRULES-2737
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-guvnor
Affects Versions: 5.1.1.FINAL
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
Fix For: 5.2.0.M1
Just tried a quick build of drools with maven 3, just to see if it works or not. The
answer is no atm :)
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Guvnor 5.2.0.SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ drools-guvnor ---
[INFO] Deleting /home/gdesmet/projects/jboss/drools/drools-guvnor/target
[INFO]
[INFO] --- maven-antrun-plugin:1.4:run (clean repository) @ drools-guvnor ---
Downloading:
https://repository.jboss.org/nexus/content/groups/public/ant/ant-apache-r...
Downloading:
https://repository.jboss.org/nexus/content/repositories/deprecated/ant/an...
Downloading:
http://repo1.maven.org/maven2/ant/ant-apache-regexp/1.6.5/ant-apache-rege...
Downloaded:
http://repo1.maven.org/maven2/ant/ant-apache-regexp/1.6.5/ant-apache-rege... (154
B at 0.1 KB/sec)
Downloading:
https://repository.jboss.org/nexus/content/groups/public/jakarta-regexp/j...
Downloading:
https://repository.jboss.org/nexus/content/repositories/deprecated/jakart...
Downloading:
http://repo1.maven.org/maven2/jakarta-regexp/jakarta-regexp/1.4/jakarta-r...
Downloaded:
http://repo1.maven.org/maven2/jakarta-regexp/jakarta-regexp/1.4/jakarta-r...
(160 B at 0.2 KB/sec)
Downloading:
https://repository.jboss.org/nexus/content/groups/public/ant/ant-apache-r...
Downloading:
https://repository.jboss.org/nexus/content/groups/public/jakarta-regexp/j...
Downloading:
https://repository.jboss.org/nexus/content/groups/public/org/codehaus/ple...
Downloading:
https://repository.jboss.org/nexus/content/repositories/deprecated/ant/an...
Downloading:
https://repository.jboss.org/nexus/content/repositories/deprecated/jakart...
Downloading:
https://repository.jboss.org/nexus/content/repositories/deprecated/org/co...
Downloading:
http://repo1.maven.org/maven2/ant/ant-apache-regexp/1.6.5/ant-apache-rege...
Downloading:
http://repo1.maven.org/maven2/jakarta-regexp/jakarta-regexp/1.4/jakarta-r...
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interpolation/1....
Downloaded:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interpolation/1....
(35 KB at 25.7 KB/sec)
Downloaded:
http://repo1.maven.org/maven2/jakarta-regexp/jakarta-regexp/1.4/jakarta-r... (28
KB at 12.2 KB/sec)
Downloaded:
http://repo1.maven.org/maven2/ant/ant-apache-regexp/1.6.5/ant-apache-rege... (4
KB at 1.3 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Drools ............................................ SUCCESS [0.852s]
[INFO] Drools :: API ..................................... SUCCESS [12.894s]
[INFO] Drools :: Core .................................... SUCCESS [14.521s]
[INFO] Drools :: Compiler ................................ SUCCESS [18.671s]
[INFO] Drools :: Flow Core ............................... SUCCESS [6.583s]
[INFO] Drools :: Flow Compiler ........................... SUCCESS [4.423s]
[INFO] Drools :: IDE Common .............................. SUCCESS [5.537s]
[INFO] Drools :: Verifier ................................ SUCCESS [4.015s]
[INFO] Drools :: Templates ............................... SUCCESS [2.196s]
[INFO] Drools :: Decision Tables ......................... SUCCESS [2.855s]
[INFO] Drools :: Ant Task ................................ SUCCESS [1.860s]
[INFO] Drools :: Persistence :: JPA ...................... SUCCESS [7.075s]
[INFO] Drools Flow :: Persistence :: JPA ................. SUCCESS [1.885s]
[INFO] Drools :: Grid .................................... SUCCESS [0.011s]
[INFO] Drools :: Grid :: API ............................. SUCCESS [1.179s]
[INFO] Drools :: Grid :: Local Impl ...................... SUCCESS [1.526s]
[INFO] Drools :: Spring .................................. SUCCESS [2.937s]
[INFO] Drools :: Camel ................................... SUCCESS [12.931s]
[INFO] Drools :: Container ............................... SUCCESS [0.010s]
[INFO] Drools :: DroolsDoc ............................... SUCCESS [1.456s]
[INFO] Drools :: Fact Constraint ......................... SUCCESS [1.867s]
[INFO] Drools :: Grid :: Remote API ...................... SUCCESS [1.120s]
[INFO] Drools :: Grid :: Remote Node :: Mina ............. SUCCESS [1.492s]
[INFO] Drools :: Grid :: Remote Directory :: Mina ........ SUCCESS [0.912s]
[INFO] Drools :: Process :: WorkItems .................... SUCCESS [3.449s]
[INFO] Drools :: Process :: Task ......................... SUCCESS [3.494s]
[INFO] Drools :: Grid :: Task ............................ SUCCESS [2.217s]
[INFO] Drools :: Grid :: Distributed API ................. SUCCESS [1.460s]
[INFO] Drools :: Grid :: Services ........................ SUCCESS [2.022s]
[INFO] Drools :: Repository .............................. SUCCESS [3.407s]
[INFO] Drools :: Process :: BPMN2 ........................ SUCCESS [3.260s]
[INFO] Drools :: Guvnor .................................. FAILURE [12.195s]
[INFO] Drools :: JSR-94 API Module ....................... SKIPPED
[INFO] Drools :: Process :: BAM .......................... SKIPPED
[INFO] Drools :: GWT Console ............................. SKIPPED
[INFO] Drools :: GWT Console Forms ....................... SKIPPED
[INFO] Drools :: GWT Console Graph Viewer ................ SKIPPED
[INFO] Drools :: Process :: GWT console WAR .............. SKIPPED
[INFO] Drools :: Process :: GWT console server WAR ....... SKIPPED
[INFO] Drools :: Process ................................. SKIPPED
[INFO] Drools :: Server .................................. SKIPPED
[INFO] Drools :: Clips ................................... SKIPPED
[INFO] Drools :: Planner parent .......................... SKIPPED
[INFO] Drools :: Planner core ............................ SKIPPED
[INFO] Drools :: Planner examples ........................ SKIPPED
[INFO] Drools :: Pipeline ................................ SKIPPED
[INFO] Drools :: Simulator ............................... SKIPPED
[INFO] Drools :: OSGi :: Wrapper :: jxls-reader .......... SKIPPED
[INFO] Drools :: OSGi :: Wrapper :: MVEL2 ................ SKIPPED
[INFO] Drools :: OSGi bundles ............................ SKIPPED
[INFO] Spring OSGi Test .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:47.632s
[INFO] Finished at: Wed Oct 20 11:13:45 CEST 2010
[INFO] Final Memory: 32M/67M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.4:run (clean
repository) on project drools-guvnor: Execution clean repository of goal
org.apache.maven.plugins:maven-antrun-plugin:1.4:run failed: An API incompatibility was
encountered while executing org.apache.maven.plugins:maven-antrun-plugin:1.4:run:
java.lang.NoSuchMethodError:
org.apache.tools.ant.launch.Locator.fromJarURI(Ljava/lang/String;)Ljava/lang/String;
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.plugins:maven-antrun-plugin:1.4
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] =
file:/home/gdesmet/.m2/repository/org/apache/maven/plugins/maven-antrun-plugin/1.4/maven-antrun-plugin-1.4.jar
[ERROR] urls[1] =
file:/home/gdesmet/.m2/repository/ant/ant-nodeps/1.6.5/ant-nodeps-1.6.5.jar
[ERROR] urls[2] =
file:/home/gdesmet/.m2/repository/ant/ant-apache-regexp/1.6.5/ant-apache-regexp-1.6.5.jar
[ERROR] urls[3] =
file:/home/gdesmet/.m2/repository/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ERROR] urls[4] =
file:/home/gdesmet/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar
[ERROR] urls[5] = file:/home/gdesmet/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[6] =
file:/home/gdesmet/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
[ERROR] urls[7] =
file:/home/gdesmet/.m2/repository/org/apache/ant/ant-nodeps/1.8.1/ant-nodeps-1.8.1.jar
[ERROR] urls[8] =
file:/home/gdesmet/.m2/repository/org/apache/ant/ant/1.8.1/ant-1.8.1.jar
[ERROR] urls[9] =
file:/home/gdesmet/.m2/repository/org/apache/ant/ant-launcher/1.8.1/ant-launcher-1.8.1.jar
[ERROR] Number of foreign imports: 4
[ERROR] import: Entry[import org.codehaus.plexus.util.xml.pull.XmlSerializer from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParserException from
realm ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParser from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.util.xml.Xpp3Dom from realm
ClassRealm[plexus.core, parent: null]]
[ERROR]
[ERROR] realm = project>org.drools:drools:5.2.0.SNAPSHOT
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import extension>org.apache.maven.wagon:wagon-webdav:1.0-beta-2
from realm ClassRealm[extension>org.apache.maven.wagon:wagon-webdav:1.0-beta-2, parent:
ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] realm = maven.api
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] Number of foreign imports: 21
[ERROR] import: Entry[import org.sonatype.aether from realm ClassRealm[plexus.core,
parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.personality from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.logging from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.lifecycle from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.context from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.container from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.configuration from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.component from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.classworlds from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.PlexusContainerException from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.PlexusContainer from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.PlexusConstants from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.MutablePlexusContainer from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.DuplicateChildContainerException from
realm ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.DefaultPlexusContainer from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.DefaultContainerConfiguration from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.DefaultComponentRegistry from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.ContainerConfiguration from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.plexus.ComponentRegistry from realm
ClassRealm[plexus.core, parent: null]]
[ERROR] import: Entry[import org.codehaus.classworlds from realm ClassRealm[plexus.core,
parent: null]]
[ERROR] import: Entry[import org.apache.maven from realm ClassRealm[plexus.core, parent:
null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the
following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :drools-guvnor
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira