You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Gunther Popp <Gu...@web.de> on 2006/04/07 12:15:58 UTC
[M2] Replacing central repository doesn?t work for certain plugins/components
Hi everybody,
I successfully replaced the standard-repo of Maven with two internal
repositories (one for plugins, one for "normal" dependencies). My own
repositories both use the id "central" and overwrite the internal
defaults defined in the super-pom.
However, I noticed that sometimes artifacts are still downloaded from
http://repo1.maven.org/maven2. Two popular examples are
-
org/codehaus/plexus/plexus-components/1.1.5/plexus-components-1.1.5.pom and
- org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.pom
The above POMs are parents of plexus-compiler-1.5.2.pom. This pom
redefines for some reason the central-repository, too (for plugins and
dependencies). However, it uses the default url
http://repo1.maven.org/maven2.
IMO, my definition of the central repository should never be overwritten
by downloaded poms in any case. I would like to file an issue for this
behaviour, but am not sure where. Is this a Maven bug? Or is the pom of
plexus-compiler-1.5.2 incorrect?
Can someone please point me to the correct place to create a new issue?
Thanks,
Gunther
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Replacing central repository doesn?t work for certain plugins/components
Posted by Wayne Fay <wa...@gmail.com>.
Carlos addressed this on the dev@ list. It was simply a mistake in the
plexus-compiler 1.5.2 pom. He will be fixing the pom and updating it
on ibiblio.
Unfortunately, poms do not update themselves at this time, so you will
need to delete this pom from your local repositories to force it to be
redownloaded.
Wayne
On 4/7/06, Gunther Popp <Gu...@web.de> wrote:
> Hi everybody,
>
> I successfully replaced the standard-repo of Maven with two internal
> repositories (one for plugins, one for "normal" dependencies). My own
> repositories both use the id "central" and overwrite the internal
> defaults defined in the super-pom.
>
> However, I noticed that sometimes artifacts are still downloaded from
> http://repo1.maven.org/maven2. Two popular examples are
> -
> org/codehaus/plexus/plexus-components/1.1.5/plexus-components-1.1.5.pom and
> - org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.pom
>
> The above POMs are parents of plexus-compiler-1.5.2.pom. This pom
> redefines for some reason the central-repository, too (for plugins and
> dependencies). However, it uses the default url
> http://repo1.maven.org/maven2.
>
> IMO, my definition of the central repository should never be overwritten
> by downloaded poms in any case. I would like to file an issue for this
> behaviour, but am not sure where. Is this a Maven bug? Or is the pom of
> plexus-compiler-1.5.2 incorrect?
>
> Can someone please point me to the correct place to create a new issue?
>
> Thanks,
>
> Gunther
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>