1) I'm using maven 3.0.4. I don't use the latest and greatest of
everything. We(Brainfood) are currently utilizing Debian Wheezy, with
backports, as are release platform target.
2) If I rm -rf $HOME/.m2/, I get the same problem. Issue confirmed.
Thanks guys. I should have done step 2 before announcing.
On 04/27/2015 11:57 PM, Ron Wheeler wrote:
1) Old version of Maven. running with the current version will make it
easier to debug any problems
2) It looks like you have not built and deployed the parent project so
the reference to the parent is not working.
Ron
On 28/04/2015 12:40 AM, Hans Bakker wrote:
Hi Adam,
tried it and found out on Ubuntu 14:04 the command is:
mvn package -DskipTests
and gives a number of errors
maven version:
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_65, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-48-generic", arch: "amd64",
family: "unix"
hans@hans:~/svn/OFBIZ-6271$ sudo bash
errors:
hans@hans:~/svn/OFBIZ-6271$ mvn package -DskipTests
[INFO] Scanning for projects...
[ERROR] The build could not read 45 projects -> [Help 1]
[ERROR]
[ERROR] The project org.apache.ofbiz:ofbiz-start:TRUNK
(/home/hans/svn/OFBIZ-6271/framework/start/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for
org.apache.ofbiz:ofbiz-component:TRUNK: Failure to find
org.apache.ofbiz:ofbiz-parent:pom:TRUNK in
http://repo.maven.apache.org/maven2 was cached in the local
repository, resolution will not be reattempted until the update
interval of central has elapsed or updates are forced and
'parent.relativePath' points at wrong local POM @
org.apache.ofbiz:ofbiz-component:TRUNK,
/home/hans/svn/OFBIZ-6271/ofbiz-component-pom.xml, line 23, column 11
-> [Help 2]
[ERROR]
[ERROR] The project org.apache.ofbiz:ofbiz-base:TRUNK
(/home/hans/svn/OFBIZ-6271/framework/base/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for
org.apache.ofbiz:ofbiz-component:TRUNK: Failure to find
org.apache.ofbiz:ofbiz-parent:pom:TRUNK in
http://repo.maven.apache.org/maven2 was cached in the local
repository, resolution will not be reattempted until the update
interval of central has elapsed or updates are forced and
'parent.relativePath' points at wrong local POM @
org.apache.ofbiz:ofbiz-component:TRUNK,
/home/hans/svn/OFBIZ-6271/ofbiz-component-pom.xml, line 23, column 11
-> [Help 2]
[ERROR]
[E....................and more
On 28/04/15 09:15, Adam Heath wrote:
With this commit, all optionally detected libraries/features during
the compilation with ant are now being done with maven. A "maven
clean" and "maven package -DskipTests" is runnable with
tools/startofbiz.sh.
I have not run system integration tests(aka, any test that requires
a running ofbiz instance). The startup code does proceed without
any exceptions, so I think this is progressing rapidly.