jboss.org
  1. jboss.org
  2. ORG-1579

Mirror maven-download-plugin:1.1.0-SNAPSHOT on Nexus

    Details

    • Similar Issues:
      Show 10 results 

      Description

      We are currently using a SNAPSHOT of maven-download-plugin. This project is now maintained by JBoss contributors (Red Hat employee) and is deployed to the oss.sonatype.org repository.
      We'd like to make it available for direct consumption via mvn command-line (without a pom.xml). Would it be possible to install it on Nexus so it can be resolved on Jenkins?
      https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/maven-download-plugin/maven-download-plugin/1.1.0-SNAPSHOT/

        Activity

        Hide
        David Hladky
        added a comment -

        I checked the maven-download-plugin on GitHUB but I do not understand what it does or how do you use it in Nexus.

        If I understand it well it is some Nexus repository, but that is all. Can you, please, explain it? Thank you.

        Show
        David Hladky
        added a comment - I checked the maven-download-plugin on GitHUB but I do not understand what it does or how do you use it in Nexus. If I understand it well it is some Nexus repository, but that is all. Can you, please, explain it? Thank you.
        Hide
        Mickael Istria
        added a comment -

        The maven-download-plugin provides an alternative to maven-dependency-plugin (to use with Maven) when it comes to retrieving remote stuff. Unlike maven-download-plugin it is able to download a file from any URL, and it provides caching and other cool stuff.
        We extensively use it for JBoss Tools build, since it allows us to get zipped stuff to include in the Eclipse plugins. (such as a zipped distibution of JBoss AS, as part of the installer).
        Version 1.1.0-SNAPSHOT provides some improvements that make this plugin suitable to use by command-line too. And we'd like to use it.

        When we want to use it by command-line (without a pom) on JBoss CI servers, the plugin cannot be referenced. Since the JBoss Nexus is in the settings.xml for JBoss CI, having this plugin published to Nexus would allow to consume it from Nexus without effort.

        Show
        Mickael Istria
        added a comment - The maven-download-plugin provides an alternative to maven-dependency-plugin (to use with Maven) when it comes to retrieving remote stuff. Unlike maven-download-plugin it is able to download a file from any URL, and it provides caching and other cool stuff. We extensively use it for JBoss Tools build, since it allows us to get zipped stuff to include in the Eclipse plugins. (such as a zipped distibution of JBoss AS, as part of the installer). Version 1.1.0-SNAPSHOT provides some improvements that make this plugin suitable to use by command-line too. And we'd like to use it. When we want to use it by command-line (without a pom) on JBoss CI servers, the plugin cannot be referenced. Since the JBoss Nexus is in the settings.xml for JBoss CI, having this plugin published to Nexus would allow to consume it from Nexus without effort.
        Hide
        David Hladky
        added a comment -

        I tried it as a plugin in Nexus OSS, but it does not seem to be recognized as the Nexus plugin. What are the steps to install it and how can I check it works. Thank you.

        Show
        David Hladky
        added a comment - I tried it as a plugin in Nexus OSS, but it does not seem to be recognized as the Nexus plugin. What are the steps to install it and how can I check it works. Thank you.
        Hide
        Mickael Istria
        added a comment -

        It's not a Nexus plugin, it's a Maven plugn, that is shipped as a regular jar.
        It won't affect behavior of Nexus. The only thing that will happen will be that this artifact can be found in JBoss Nexus repository.

        Show
        Mickael Istria
        added a comment - It's not a Nexus plugin, it's a Maven plugn, that is shipped as a regular jar. It won't affect behavior of Nexus. The only thing that will happen will be that this artifact can be found in JBoss Nexus repository.
        Hide
        David Hladky
        added a comment -

        I see that explains the missing Nexus plugin descriptor.

        I guess your issue is fixed. There was a problem that https://oss.sonatype.org/content/repositories/snapshots/ was in our (mirroring) repository considered to be a repository with "release" policy instead of "snapshot", so the snapshot artifacts were not accepted.

        Now you can find it also in our nexus:

        https://repository.jboss.org/nexus/content/groups/public/com/googlecode/maven-download-plugin/maven-download-plugin/

        Show
        David Hladky
        added a comment - I see that explains the missing Nexus plugin descriptor. I guess your issue is fixed. There was a problem that https://oss.sonatype.org/content/repositories/snapshots/ was in our (mirroring) repository considered to be a repository with "release" policy instead of "snapshot", so the snapshot artifacts were not accepted. Now you can find it also in our nexus: https://repository.jboss.org/nexus/content/groups/public/com/googlecode/maven-download-plugin/maven-download-plugin/

          People

          • Assignee:
            David Hladky
            Reporter:
            Mickael Istria
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: