You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2014/07/02 15:45:18 UTC
[jira] (MNG-4420) It should be possible to define your mirrors
section inside a profile
[ https://jira.codehaus.org/browse/MNG-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict updated MNG-4420:
-------------------------------
Fix Version/s: (was: Issues to be reviewed for 3.x)
> It should be possible to define your mirrors section inside a profile
> ---------------------------------------------------------------------
>
> Key: MNG-4420
> URL: https://jira.codehaus.org/browse/MNG-4420
> Project: Maven
> Issue Type: New Feature
> Components: Profiles, Settings
> Affects Versions: 2.2.1
> Reporter: Martin Todorov
> Priority: Minor
>
> At the moment, the settings.xml is the only place you can specify a mirror at the top-level. It should be possible to have profiles in your settings.xml where you could specify different mirrors.
> Consider the following scenario:
> Your company has two repositories. The first one contains artifacts for internal development use only (sources of third-party artifacts, their javadocs, etc). The second one is used only for releases and is accessed by externals/partners. Yes, you can always create profiles and have the respective repository sections in there. However it's a lot easier to have this handled by Nexus where all these repositories have been added and just have two wildcard mirrors (according to the profile) - one for internal use and one for external.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)