Author: vsiveton
Date: Sun Jan  6 07:20:41 2008
New Revision: 609328

URL: http://svn.apache.org/viewvc?rev=609328&view=rev
Log:
MNG-3214: Coping with SUN JARs

o added the Java.net Maven 2 repo

Modified:
    maven/site/trunk/src/site/apt/guides/mini/guide-coping-with-sun-jars.apt

Modified: 
maven/site/trunk/src/site/apt/guides/mini/guide-coping-with-sun-jars.apt
URL: 
http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/guides/mini/guide-coping-with-sun-jars.apt?rev=609328&r1=609327&r2=609328&view=diff
==============================================================================
--- maven/site/trunk/src/site/apt/guides/mini/guide-coping-with-sun-jars.apt 
(original)
+++ maven/site/trunk/src/site/apt/guides/mini/guide-coping-with-sun-jars.apt 
Sun Jan  6 07:20:41 2008
@@ -3,7 +3,7 @@
  ------
  Jason van Zyl
  ------
- 12 October 2005
+ January 2008
  ------
 
 Coping with SUN JARs
@@ -14,7 +14,7 @@
  and users have found these JARs not present in central repository resulting
  in a broken build. Unfortunately most of these artifacts fall under Sun's
  Binary License which disallows us from distributing them from Ibiblio.
- 
+
  Another problem is that Sun's appears not to have any sort of convention
  for naming their own JARs so we have taken steps in suggesting some common
  names for Sun's artifacts. You can find a list of our suggestions here:
@@ -59,7 +59,7 @@
 | JNDI                                         | javax.naming      | jndi
 
*----------------------------------------------+-------------------+----------------+
 
- If you use our suggestions as noted above when adding a Sun dependency to 
your 
+ If you use our suggestions as noted above when adding a Sun dependency to your
  POM, Maven 2.x can help you locate the JARs by providing
  the site where they can be retrieved. It is important that you follow
  the suggested naming conventions as we cannot store the JARs at Ibiblio we
@@ -70,3 +70,18 @@
  in your local repository. Please refer to our 
{{{guide-3rd-party-jars-local.html}Guide to installing 3rd party JARs}}
  for instructions on how to accomplish this.
 
+ <<Note>>: Java.net provides a {{{http://download.java.net/maven/2/}Maven 2 
repository}}. You could specify it directly in your POM or
+ in your settings.xml between the tags \<repositories\>:
+
+-----
+...
+      <repositories>
+        <repository>
+          <id>maven2-repository.dev.java.net</id>
+          <name>Java.net Repository for Maven</name>
+          <url>http://download.java.net/maven/2/</url>
+          <layout>default</layout>
+        </repository>
+      </repositories>
+...
+-----


Reply via email to