You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2017/04/01 11:23:42 UTC
[jira] [Closed] (ARCHETYPE-521) Cannot specify remote repository
for generate project from archetype
[ https://issues.apache.org/jira/browse/ARCHETYPE-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed ARCHETYPE-521.
------------------------------------
Resolution: Fixed
Assignee: Robert Scholte
Fix Version/s: 3.0.1
Confirmed with [ee96192df88a50cf90726ddfb95a72be4bdf2df0|http://git-wip-us.apache.org/repos/asf/maven-archetype/commit/ee96192d]
> Cannot specify remote repository for generate project from archetype
> --------------------------------------------------------------------
>
> Key: ARCHETYPE-521
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-521
> Project: Maven Archetype
> Issue Type: Question
> Components: Generator
> Affects Versions: 3.0.0
> Environment: cmd
> Reporter: Dmytro Sylaiev
> Assignee: Robert Scholte
> Labels: bug, command-line, question
> Fix For: 3.0.1
>
>
> 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)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)