Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-521

Cannot specify remote repository for generate project from archetype

    XMLWordPrintableJSON

Details

    Description

      I wanted to create new project using mvn archetype:generate command.
      Desired archetype was absent in the central repo, so I tried to use -DarchetypeRepository=repo.url param. But this param is out of date in 3.0.0 version of plugin.
      So I needed to use mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate command.

      Question: How can I specify specific repository for generating project (without editing settings.xml file)?
      (-DarchetypeCatalog=repo.url doesn't work too)

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              limych Dmytro Sylaiev
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: