(sending this to user since I'm not hoping to modify anything, just want to see
what's going on, debug, etc)
I'm working through this command on the 5.5.x branch:
droolsjbpm-build-bootstrap/script/mvn-all.sh clean install -DskipTests
I started the day with Maven 3.0.3, but had to upgrade due to this error:
[INFO] --- maven-enforcer-plugin:1.2:enforce (default) @ kie-parent-metadata ---
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with
message:
Detected Maven Version: 3.0.3 is not in the allowed range [3.0.4,).
The maven site put me to 3.1.0.
But now I'm getting this error:
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;
at
org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:86)
Looking around, it appears Maven 3.1.0 is the problem:
(
http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg26246.html)
So… Can't use maven 3.0.4, and can't use 3.1.0…
I guess I could look for maven 3.0.5, but this seems really odd to back port, and make
things so fussy on build tools. I haven't seen mvn sensitivity like this on other
projects?
BTW, encountered other problems as well running mvn-all.sh against 5.5.x
Links:
Following link from this page:
http://www.jboss.org/drools/source-code
To this readme file:
https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/READ...
But switched to 5.5.x branch:
https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/tree/5.5.x
--
Mark Bennett / LucidWorks: Search & Big Data / mark.bennett(a)lucidworks.com
Office: 408-898-4201 / Telecommute: 408-733-0387 / Cell: 408-829-6513