You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Patrice Ringot <ok...@free.fr> on 2013/05/05 15:25:07 UTC
Repository path in 1.4-M3
Hello,
I am currently testing Archiva 1.4x (standalone mode with the new UI),
and I noticed that I have to change the access path to the repositories
in the maven settings.xml file and probably in all of my poms that refer
to them (for example, in the distributionManagement tags).
For instance, instead of using a path which begins by "archiva" in 1.3.x:
<mirrors>
<mirror>
<id>archiva.central</id>
<url>http://${env.ARTIFACTS_REPOSITORY_HOST}:${env.ARTIFACTS_REPOSITORY_PORT}/archiva/repository/internal</url>
<mirrorOf>*,!internal,!snapshots</mirrorOf>
</mirror>
</mirrors>
I have to use a path which begins directly by "repository":
<mirrors>
<mirror>
<id>archiva.central</id>
<url>http://${env.ARTIFACTS_REPOSITORY_HOST}:${env.ARTIFACTS_REPOSITORY_PORT}/repository/internal</url>
<mirrorOf>*,!internal,!snapshots</mirrorOf>
</mirror>
</mirrors>
Did I miss something, a parameter ?
Regards
Patrice
Re: Repository path in 1.4-M3
Posted by Brett Porter <br...@apache.org>.
On 06/05/2013, at 7:30 PM, Patrice Ringot <ok...@free.fr> wrote:
> Thank you for your help !
>
> I've puppetized that ...
Are you using a module for that?
(I'd love a pull request to add support for the new layout and context path config to https://github.com/maestrodev/puppet-archiva... :)
- Brett
--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter
http://twitter.com/brettporter
Re: Repository path in 1.4-M3
Posted by Patrice Ringot <ok...@free.fr>.
Thank you for your help !
I've puppetized that ...
Regards
Patrice
Le 06/05/2013 01:05, Olivier Lamy a écrit :
> Hi,
> ROOT Context is now / since 1.4-M3.
> If you still want to use /archiva have a look at how to configure that
> here http://archiva.apache.org/docs/1.4-M3/adminguide/standalone.html
>
> HTH,
> --
> Olivier
>
> 2013/5/5 Patrice Ringot <ok...@free.fr>:
>> Hello,
>>
>> I am currently testing Archiva 1.4x (standalone mode with the new UI), and I
>> noticed that I have to change the access path to the repositories in the
>> maven settings.xml file and probably in all of my poms that refer to them
>> (for example, in the distributionManagement tags).
>>
>> For instance, instead of using a path which begins by "archiva" in 1.3.x:
>>
>> <mirrors>
>> <mirror>
>> <id>archiva.central</id>
>> <url>http://${env.ARTIFACTS_REPOSITORY_HOST}:${env.ARTIFACTS_REPOSITORY_PORT}/archiva/repository/internal</url>
>> <mirrorOf>*,!internal,!snapshots</mirrorOf>
>> </mirror>
>> </mirrors>
>>
>> I have to use a path which begins directly by "repository":
>>
>> <mirrors>
>> <mirror>
>> <id>archiva.central</id>
>> <url>http://${env.ARTIFACTS_REPOSITORY_HOST}:${env.ARTIFACTS_REPOSITORY_PORT}/repository/internal</url>
>> <mirrorOf>*,!internal,!snapshots</mirrorOf>
>> </mirror>
>> </mirrors>
>>
>> Did I miss something, a parameter ?
>>
>> Regards
>>
>> Patrice
>
>
Re: Repository path in 1.4-M3
Posted by Olivier Lamy <ol...@apache.org>.
Hi,
ROOT Context is now / since 1.4-M3.
If you still want to use /archiva have a look at how to configure that
here http://archiva.apache.org/docs/1.4-M3/adminguide/standalone.html
HTH,
--
Olivier
2013/5/5 Patrice Ringot <ok...@free.fr>:
> Hello,
>
> I am currently testing Archiva 1.4x (standalone mode with the new UI), and I
> noticed that I have to change the access path to the repositories in the
> maven settings.xml file and probably in all of my poms that refer to them
> (for example, in the distributionManagement tags).
>
> For instance, instead of using a path which begins by "archiva" in 1.3.x:
>
> <mirrors>
> <mirror>
> <id>archiva.central</id>
> <url>http://${env.ARTIFACTS_REPOSITORY_HOST}:${env.ARTIFACTS_REPOSITORY_PORT}/archiva/repository/internal</url>
> <mirrorOf>*,!internal,!snapshots</mirrorOf>
> </mirror>
> </mirrors>
>
> I have to use a path which begins directly by "repository":
>
> <mirrors>
> <mirror>
> <id>archiva.central</id>
> <url>http://${env.ARTIFACTS_REPOSITORY_HOST}:${env.ARTIFACTS_REPOSITORY_PORT}/repository/internal</url>
> <mirrorOf>*,!internal,!snapshots</mirrorOf>
> </mirror>
> </mirrors>
>
> Did I miss something, a parameter ?
>
> Regards
>
> Patrice
--
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy