[
https://issues.apache.org/jira/browse/MNG-7396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481210#comment-17481210
]
Christoph Läubrich commented on MNG-7396:
-----------------------------------------
I won't mind a "extensions" repository if that's more descriptive :-)
Lets say I have:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-build</artifactId>
<version>2.7.0-SNAPSHOT</version>
</extension>
</extensions>
{code}
This works, if I install the snapshot in the local repository, or if I have
configured a snapshot-(plugin)-repository with a profile and activate that
profile (default will not work as described in the linked bug).
We generally ask people to test our SNAPSHOTs early and often (see
https://github.com/eclipse/tycho/wiki#getting-tycho-snapshots ) but need to add
a special note about the maven-core extension as it is not obvious (at least to
the usual maven user at it seems) how to do this.
If I now could have something like (as mention before I dont mind naming it
extensionsRepositories):
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-build</artifactId>
<version>2.7.0-SNAPSHOT</version>
</extension>
<pluginRepositories>
<pluginRepository>
<id>tycho-snapshots</id>
<url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
</pluginRepository>
</pluginRepositories>
</extensions>
{code}
this would easily allow people to test snapshots even if the are not in control
of the maven build settings.
Also this would be good if I don't use snapshots but a non-default repository,
this is somewhat similar to define one in the pom.xml.
> 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
>
>
> 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)