archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell" <flame...@gmail.com>
Subject Re: Two minor POM tweak suggestions regarding apache snapshots repo
Date Fri, 01 Dec 2006 16:55:49 GMT
Applied - thanks Max.

Hen

On 11/28/06, Max Bowsher <maxb@mxtelecom.com> 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>
>

Mime
View raw message