|
|
|
The loop behaviour is separated in
About the 'other goal':
4 lists of configuration are located in the registry (~/.m2/archetype.xml);
Some goals are provided to administer the registry file. These mojos exist since late april but not documented About the settings reading, When i started, i used the repositories defined in the project, thinking the repositories defined in profiles in settings would be used. But they weren't. The issue
Changing issues to be fixed at next release
all the data in this issue seems obsolete, but I have a different problem that would fall under the same description.
The repository URL should not be hardcoded into the internal catalog - it is looking at repo1, when really it should be looking at the repository defined by central (ie, the one in my settings file that points to my internal repository proxy). So, it needs to honour settings. I believe the catalog should specify and id and a url - and if the id exists use that instead (and if not, fall back to the URL). This issue is no longer accurate.
Brett, can you please create a new issue with your particular problem, if this is still a problem. Thanks. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There is a maven issue (can remember which exactly) that state that
repositories defined in profiles in settings are not usable in a directory
that doesn't contain a pom. therefore the archetype plugin can't use it...
A workaround is usable: the archetype:add-repositories goal
properties
property
that takes -DrepositoryId=central and -DrepositoryUrl=http://repo1.maven.org/maven2
or -Drepositories=central=http://repo1.maven.org/maven2,company1=http://repo1.company.com
About the infinite loop, It is a bug