[
https://issues.apache.org/jira/browse/MNG-7396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481229#comment-17481229
]
Christoph Läubrich commented on MNG-7396:
-----------------------------------------
I have added an example.
Running 'mvn verify' works as the extension is downloaded from maven central.
Now I change this to a snapshot version and get:
Failed to read extensions descriptor *Plugin*
org.eclipse.tycho.extras:tycho-pomless:2.7.0-SNAPSHOT or one of its
dependencies could not be resolved: Could not find artifact
org.eclipse.tycho.extras:tycho-pomless:jar:2.7.0-SNAPSHOT
(but build still proceeds).
So what users first try is to specify the repository in pom.xml (what obviously
do not work at all), allowing to specify it in extension.xml file would be the
next logical choice (if it would be supported) :-)
> Allow specification of additional plugin-repositories in extensions.xml
> -----------------------------------------------------------------------
>
> Key: MNG-7396
> URL: https://issues.apache.org/jira/browse/MNG-7396
> Project: Maven
> Issue Type: Improvement
> Reporter: Christoph Läubrich
> Priority: Major
> Fix For: waiting-for-feedback
>
> Attachments: testit.zip
>
>
> Currently the only way is a settings.xml and default activated profiles are
> even ignored see https://issues.apache.org/jira/browse/MNG-5984
> I'd like to propose to allow specifying (additional) plugin repositories
> directly in the extensions.xml this would make it much clearer and flexible
> (e.g. in case one likes to use snapshots but don't want to force everyone to
> add / specify a settings.xml).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)