Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-2210

Migrate to maven 3

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Resolution: Won't Fix
    • Affects Version/s: 1.0-milestone-9
    • Fix Version/s: None

      Description

      As part of the effort to include Java software in Fedora (http://fedoraproject.org) we are in the process of building and packaging Gradle. One of the issues we have is that Fedora has a very strict requirement: any software in Fedora should be buildable with software already existing in Fedora. In order to meet this requirement we are preparing using an ant build script to build a first version of Gradle that we can then to auto-build Gradle.

      One of the issues we find with this approach is the following error:

      Caused by: org.gradle.api.internal.artifacts.mvnsettings.CannotLocateLocalMavenRepositoryException: java.lang.NoSuchFieldException: userSettingsFile
      at org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator.buildSettings(DefaultLocalMavenRepositoryLocator.java:75)

      Apparently the reason for this error is that the version of the DefaultLocalMavenRepositoryLauncher in maven 3 doesn't have the "userSettingsFile" field. Any suggestion on how to fix this? Do you have any plans to migrate to maven 3?

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jhernand Juan Hernandez
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: