https://bugzilla.redhat.com/show_bug.cgi?id=1329272
Bug ID: 1329272 Summary: Could not find artifact org.gradle:gradle-base-services:jar:2.8 in mizdebsk-redhat (http://people.redhat.com/~mizdebsk/xmvn/repo/) Product: Fedora Version: rawhide Component: xmvn Assignee: mizdebsk@redhat.com Reporter: matthias@mailaender.name QA Contact: extras-qa@fedoraproject.org CC: java-sig-commits@lists.fedoraproject.org, mat.booth@redhat.com, mizdebsk@redhat.com, msimacek@redhat.com, msrb@redhat.com
Description of problem: I tried to build xmvn locally on openSUSE Tumbleweed.
Version-Release number of selected component (if applicable): xmvn-2.5.0
Steps to Reproduce: mvn -B clean install
[...]
[INFO] XMvn Connector for Gradle .......................... FAILURE [ 5.718 s]
[...]
[ERROR] Failed to execute goal on project xmvn-connector-gradle: Could not resolve dependencies for project org.fedoraproject.xmvn:xmvn-connector-gradle:jar:2.5.0: The following artifacts could not be resolved: org.gradle:gradle-base-services:jar:2.8, org.gradle:gradle-base-services-groovy:jar:2.8, org.gradle:gradle-core:jar:2.8, org.gradle:gradle-dependency-management:jar:2.8, org.gradle:gradle-resources:jar:2.8: Could not find artifact org.gradle:gradle-base-services:jar:2.8 in mizdebsk-redhat (http://people.redhat.com/~mizdebsk/xmvn/repo/) -> [Help 1]
https://bugzilla.redhat.com/show_bug.cgi?id=1329272
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #1 from Mikolaj Izdebski mizdebsk@redhat.com --- The underlying problem is that Gradle libraries are not available in Maven Central nor any other Maven repo - I had to deploy them to private repo on people.redhat.com.
I'm planning to split Gradle connector to a separate project, which would allow not only building XMvn without custom repos, but also deploying it to Maven Central.
As a workaround you can use the following script to install Gradle into local repository: https://gist.github.com/mizdebsk/27b40b4686f4a956b934c63cee232855
https://bugzilla.redhat.com/show_bug.cgi?id=1329272
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |NEXTRELEASE Last Closed| |2017-09-12 02:32:24
--- Comment #3 from Mikolaj Izdebski mizdebsk@redhat.com --- I believe that this bug is fixed in xmvn-3.0.0-6, which is available in Fedora 27, so I am closing this bug now.
The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=937435
This bug was fixed in the next release of Fedora, and it is currently not planned to be fixed in the release it was filed against. You can update to the newer release of Fedora to get the fix.
https://bugzilla.redhat.com/show_bug.cgi?id=1329272
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED Fixed In Version| |3.0.0-6
java-sig-commits@lists.fedoraproject.org