]
Skip Skip commented on DROOLS-553:
----------------------------------
I just wasted major league time on this. And while it may be all "maven's
fault" it still does not leave one with a warm fuzzy experience with your software.
Maybe it would be helpful to put something like: "!!! WARNING DON'T USE MAVEN
3.2.2 !!!"
just an idea
Build does not build on maven 3.2.2 with an empty repository
------------------------------------------------------------
Key: DROOLS-553
URL:
https://issues.jboss.org/browse/DROOLS-553
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Geoffrey De Smet
Assignee: Michael Biarnes Kiefer
Priority: Blocker
Our community contributors should be able to just build our stuff with the latest maven
version. Currently that doesn't work.
Building with maven 3.0.5 works.
To reproduce:
- Use maven 3.2.2
- Build droolsjbpm-build-bootstrap
- Do not build uberfire first
- rm ~/.m2/repository/org/uberfire
=> this will force droolsjbpm-build-bootstrap to download the uberfire-bom
6.2.0-SNAPSHOT, which fails with maven 3.2.2:
{code}
$ mvn clean install -Dfull -DskipTests -U
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.kie:kie-parent-with-dependencies:6.2.0-SNAPSHOT
(/Users/.../OptaPlanner/droolsjbpm-build-bootstrap/kie-parent-with-dependencies/pom.xml)
has 1 error
[ERROR] Non-resolvable import POM: Could not find artifact
org.uberfire:uberfire-bom:pom:0.4.2-SNAPSHOT @
org.kie:kie-parent-with-dependencies:[unknown-version],
/Users/.../OptaPlanner/droolsjbpm-build-bootstrap/kie-parent-with-dependencies/pom.xml,
line 137, column 19 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
{code}