You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ch...@emc.com on 2012/02/27 17:08:19 UTC
repository id question
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>
Re: repository id question
Posted by Manfred Moser <ma...@mosabuam.com>.
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.Davis@emc.com wrote:
> So, the id is only used to match the credential declarations ?
>
>> -----Original Message-----
>> From: Stephen Connolly [mailto:stephen.alan.connolly@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,<Ch...@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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: repository id question
Posted by Ch...@emc.com.
So, the id is only used to match the credential declarations ?
> -----Original Message-----
> From: Stephen Connolly [mailto:stephen.alan.connolly@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, <Ch...@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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: repository id question
Posted by Manfred Moser <ma...@mosabuam.com>.
Which by extension means that you do want to use different access rights
for them at some stage you have to change all the identifiers..
So I would have them different..
manfred
On 12-02-27 08:44 AM, Stephen Connolly wrote:
> if they all use the same credentials, I would say no issues
>
> On 27 February 2012 16:08,<Ch...@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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: repository id question
Posted by Stephen Connolly <st...@gmail.com>.
if they all use the same credentials, I would say no issues
On 27 February 2012 16:08, <Ch...@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>