maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Chad.Da...@emc.com>
Subject repository id question
Date Mon, 27 Feb 2012 16:08:19 GMT
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>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message