GMaven
  1. GMaven
  2. GMAVEN-88

Implement providerSelection 1.8

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      1

      Description

      Hi all,

      As discussed in GROOVY-4741 I had to make a custom gmaven version using the good (but outdated)

      http://www.yeap.de/blog2.0/archives/233-Build-Groovy++-with-Maven.html

      and gmaven-1.3.

      Attached is the full .tar.gz, it seems to work fine.

      Also, the documentation still lists the old org.codehaus.groovy.gmaven stuff.

      I hope somebody will check this stuff in, it seems like a lot of people had the same problem and liked to use gmaven but were stuck with the various conflicts and errors I encountered, too. Without the link above I'd not even have tried to do this.

      Best regards,

      David

      1. gmaven-1.3.tgz
        2.43 MB
        David Hansmann

        Activity

        Hide
        Kurt Harriger added a comment - - edited

        I have added support for 1.8 on a github fork here:
        https://github.com/kurtharriger/gmaven

        I have also deployed the maven artifacts on the maven branch for those that don't want to download and compile it you can add the following to get my 1.4-SNAPSHOT build.

        <repositories>
        <repository>
        <id>kurtharriger-gmaven-snapshots</id>
        <url>https://github.com/kurtharriger/gmaven/raw/maven/snapshots</url>
        </repository>
        </repositories>

        Show
        Kurt Harriger added a comment - - edited I have added support for 1.8 on a github fork here: https://github.com/kurtharriger/gmaven I have also deployed the maven artifacts on the maven branch for those that don't want to download and compile it you can add the following to get my 1.4-SNAPSHOT build. <repositories> <repository> <id>kurtharriger-gmaven-snapshots</id> <url> https://github.com/kurtharriger/gmaven/raw/maven/snapshots </url> </repository> </repositories>
        Hide
        David Hansmann added a comment -

        Very nice! I hope this goes upstream soon.

        Show
        David Hansmann added a comment - Very nice! I hope this goes upstream soon.
        Hide
        Bogdan Calmac added a comment -

        The URL https://github.com/kurtharriger/gmaven/raw/maven/snapshots returns 404. Is it still valid?

        Show
        Bogdan Calmac added a comment - The URL https://github.com/kurtharriger/gmaven/raw/maven/snapshots returns 404. Is it still valid?
        Hide
        Kurt Harriger added a comment -

        Yes the link is still valid. Github does not allow directory listing, so you will get 404s unless you specify the specific file. Maven calculates the path from group/artifact/version to get metadata here:
        https://github.com/kurtharriger/gmaven/raw/maven/snapshots/org/codehaus/gmaven/gmaven-plugin/1.4-SNAPSHOT/maven-metadata.xml which it then uses to locate the specific snapshot jar file.

        However the the above should actually go in your <pluginRepositories> rather than <repositories> so thats probably the issue.
        Here is a minimal pom.xml file to get you started: https://gist.github.com/1012784

        Show
        Kurt Harriger added a comment - Yes the link is still valid. Github does not allow directory listing, so you will get 404s unless you specify the specific file. Maven calculates the path from group/artifact/version to get metadata here: https://github.com/kurtharriger/gmaven/raw/maven/snapshots/org/codehaus/gmaven/gmaven-plugin/1.4-SNAPSHOT/maven-metadata.xml which it then uses to locate the specific snapshot jar file. However the the above should actually go in your <pluginRepositories> rather than <repositories> so thats probably the issue. Here is a minimal pom.xml file to get you started: https://gist.github.com/1012784

          People

          • Assignee:
            Keegan Witt
            Reporter:
            David Hansmann
          • Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: