or any other way you want to id the repo e.g. in a profile or command line property ..

On 12-02-27 08:49 AM, chad.da...@emc.com wrote:
So, the id is only used to match the credential declarations ?

-----Original Message-----
From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com]
Sent: Monday, February 27, 2012 9:44 AM
To: Maven Users List
Subject: Re: repository id question

if they all use the same credentials, I would say no issues

On 27 February 2012 16:08,<chad.da...@emc.com>  wrote:
Are there issues with the re-use of the same repository id across the
various repository declarations?  As "identifiers", it seems like they should
each be unique.  Is there anything wrong with the following . . .
              <repositories>
                             <repository>
                                           <id>myRepo</id>
                                           <name>Internal Repo</name>
                                           
<url>http://myRepo/nexus/content/groups/public<
/url>
                             </repository>
              </repositories>
              <pluginRepositories>
                             <pluginRepository>
                                           <id>myRepo</id>
                                           <name>Internal Repo</name>
                                           <url>http://myRepo
/nexus/content/groups/public</url>
                             </pluginRepository>
              </pluginRepositories>

              <distributionManagement>
                             <repository>
                                           <id>myRepo</id>
                                           <name>Internal Releases</name>
                                           <url>http://myRepo
/nexus/content/repositories/releases</url>
                             </repository>
                             <snapshotRepository>
                                           <id>myRepo</id>
                                           <name>Snapshots</name>
                                           <url>http://myRepo
/nexus/content/repositories/snapshots</url>
                             </snapshotRepository>
              </distributionManagement>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to