Actually the ideal would be to get rid of <id>'s :)

/me curses self for introducing them. We should be using the URL and repository metadata.

- Brett

On 02/12/2006, at 4:07 AM, Carlos Sanchez wrote:

actually the ideal id for the repos should be "apache.org"

On 12/1/06, Henri Yandell <[EMAIL PROTECTED]> wrote:
Applied - thanks Max.

Hen

On 11/28/06, Max Bowsher <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'd like to suggest the two minor tweaks to apache snapshots repo
> elements in the archiva POMs:
>
> (1) Use id "apache.snapshots" consistently - this id seems to be what is > most commonly used, and it is handy for the id to be consistent, to
> make it easier to add overrides via settings.xml.
>
>
> (2) Use the URL http://people.apache.org/repo/m2-snapshot- repository
> which is the actual location of the repository, rather than
> http://people.apache.org/maven-snapshot-repository which is a
> compatibility symlink. Also, this way it is clearer that the two
> declarations within archiva do actually refer to the same repository.
>
>
> Max.
>
>
> Index: pom.xml
> ===================================================================
> --- pom.xml     (revision 479989)
> +++ pom.xml     (working copy)
> @@ -488,7 +488,7 @@
>
>      <!-- See:
> http://www.nabble.com/NoClassDefFoundError-from-shared-in- project-info-reports-tf2678299s177.html#a7489595
> -->
>      <pluginRepository>
> -      <id>apache.org</id>
> +      <id>apache.snapshots</id>
> <url>http://people.apache.org/repo/m2-snapshot- repository</url>
>        <releases>
>          <enabled>false</enabled>
> Index: design/white-site/pom.xml
> ===================================================================
> --- design/white-site/pom.xml   (revision 479989)
> +++ design/white-site/pom.xml   (working copy)
> @@ -36,7 +36,7 @@
>      <!-- for skin -->
>      <repository>
>        <id>apache.snapshots</id>
> - <url>http://people.apache.org/maven-snapshot-repository</ url> > + <url>http://people.apache.org/repo/m2-snapshot- repository</url>
>      </repository>
>    </repositories>
>  </project>
>



--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                            -- The Princess Bride

Reply via email to