Search found 9 matches

by J.L.C.
Tue May 16, 2017 4:18 pm
Forum: Developers
Topic: Build Failure on Linux - EnforcerRuleException
Replies: 30
Views: 552537

Re: Build Failure on Linux - EnforcerRuleException

You nailed it!

It was a permission problem. The directory I build in was owned by root, so there an incompatible mix of things going on. I changed the ownership to the user I log in with and everything built successfully.

A little ridiculous (and embarrassing!) that all that debugging was for a ...
by J.L.C.
Tue May 16, 2017 3:46 pm
Forum: Developers
Topic: Build Failure on Linux - EnforcerRuleException
Replies: 30
Views: 552537

Re: Build Failure on Linux - EnforcerRuleException

mvn external:install seems to complete, but with some warnings:


sudo mvn external:install

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for net.pms:ums:jar:6.6.1-SNAPSHOT
[WARNING] Reporting configuration should be done in ...
by J.L.C.
Tue May 16, 2017 3:17 pm
Forum: Developers
Topic: Build Failure on Linux - EnforcerRuleException
Replies: 30
Views: 552537

Re: Build Failure on Linux - EnforcerRuleException

J.L.C. It seem to me that your environment and directory are a total mess.

Could post the result of this command line:
mvn -v

could you post the exact full command line you type when building with Maven ?

I have tried:

sudo mvn package



sudo mvn clean package

and the one that succeeds ...
by J.L.C.
Tue May 16, 2017 8:56 am
Forum: Developers
Topic: Build Failure on Linux - EnforcerRuleException
Replies: 30
Views: 552537

Re: Build Failure on Linux - EnforcerRuleException

I made some changes to my environment path and was able to try the above versions. But, they all fail, typically with some version of:

Code: Select all

[WARNING] The POM for sevenzip-allplatforms:jbinding-allplatforms:jar:4.65-1.04-RC is missing, no dependency information available
by J.L.C.
Tue May 16, 2017 6:12 am
Forum: Developers
Topic: Build Failure on Linux - EnforcerRuleException
Replies: 30
Views: 552537

Re: Build Failure on Linux - EnforcerRuleException

@J.L.C. In your case, a safer workaround, until this issue found a real solution, should be:
mvn -Dtest=\!UMSUtilsTest.setUp package

Do any of these builds work for you without workaround ?
git checkout dcbec3f && mvn package
git checkout a3aa8b7 && mvn package
git checkout f2c1099 && mvn ...
by J.L.C.
Fri May 12, 2017 2:54 pm
Forum: Developers
Topic: Build Failure on Linux - EnforcerRuleException
Replies: 30
Views: 552537

Re: Build Failure on Linux - EnforcerRuleException


@J.L.C Maybe you should try to reinstall Java, it's very strange that I have no issue with such a similar build environment:

sudo dnf reinstall java-1.8.0-openjdk


I reinstalled Java, but the build still failed.

Log here:
https://pastebin.com/6YwftMk9

Since both of you can build fine, it ...
by J.L.C.
Fri May 12, 2017 5:16 am
Forum: Developers
Topic: Build Failure on Linux - EnforcerRuleException
Replies: 30
Views: 552537

Re: Build Failure on Linux - EnforcerRuleException

J.L.C. I think Ubuntu use Java OpenJDK by default, and your Fedora is Oracle one, could that be related to this issue ?

A dirty work around for build UMS should be to add -DskipTests to your Maven command line.

-DfailIfNoTests=false instead could eventually give us more informations on this ...
by J.L.C.
Tue May 09, 2017 7:47 am
Forum: Developers
Topic: Build Failure on Linux - EnforcerRuleException
Replies: 30
Views: 552537

Re: Build Failure on Linux - EnforcerRuleException

Thanks for the assistance.

I have upgraded maven to version 3.5.0 and made the suggested change to the pom.xml, but the build still fails.

Now with a surefire error:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO ...
by J.L.C.
Mon May 08, 2017 3:00 am
Forum: Developers
Topic: Build Failure on Linux - EnforcerRuleException
Replies: 30
Views: 552537

Build Failure on Linux - EnforcerRuleException

Hi,

I'm wondering if anyone can help me sort out an issue with compiling UMS on Fedora 24

$ mvn -version
Apache Maven 3.3.9 (NON-CANONICAL_2016-04-07T23:15:34Z_mockbuild; 2016-04-07T19:15:34-04:00)
Maven home: /usr/share/maven
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /usr ...