Author: xavier
Date: Mon Nov 19 12:48:00 2007
New Revision: 596442

URL: http://svn.apache.org/viewvc?rev=596442&view=rev
Log:
update doc to 2.0

Modified:
    incubator/ivy/core/trunk/doc/resolver/ibiblio.html
    incubator/ivy/core/trunk/doc/resolver/ivyrep.html

Modified: incubator/ivy/core/trunk/doc/resolver/ibiblio.html
URL: 
http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/resolver/ibiblio.html?rev=596442&r1=596441&r2=596442&view=diff
==============================================================================
--- incubator/ivy/core/trunk/doc/resolver/ibiblio.html (original)
+++ incubator/ivy/core/trunk/doc/resolver/ibiblio.html Mon Nov 19 12:48:00 2007
@@ -33,14 +33,12 @@
 
 This resolver usually uses ibiblio to find artifacts. 
 
-Prefer the use of ivyrep resolver which adds ivy file handling to this 
resolver.
-
 <span class="since">since 1.3</span> Using the m2compatible attribute, you can 
benefit from maven 2 repository compatibility (convert dots in organisation in 
slashes, search for poms, use transitive dependencies of poms). This setting 
also affects the default place where the resolver look for its artifacts to 
point to the maven2 repository. So setting this attribute to true is sufficient 
to use maven 2 ibiblio repository.
 
 <span class="since">since 1.4</span> When using the m2compatible flag, you can 
disable the use of poms by setting the usepoms flag to false. It is then 
roughly equivalent to an url resolver configured like this:
 <code type="xml">
 <url name="test" m2compatible="true">
-  <artifact 
pattern="http://www.ibiblio.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
+  <artifact 
pattern="http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
 </url>
 </code>
 
@@ -62,7 +60,17 @@
 </tbody>
 </table>
 
-       </textarea>
+<h1>Examples</h1>
+<code type="xml">
+<ibiblio name="maven2" m2compatible="true"/>
+</code>
+Defines a resolver called "maven2" using the maven 2 public repository to find 
module metadata (using maven 2 poms) and artifacts.
+
+<hr/>
+<code type="xml">
+<ibiblio name="maven" m2compatible="true" usepoms="false"/>
+</code>
+Same as above, but don't use poms, only artifacts.</textarea>
 <script type="text/javascript">xooki.postProcess();</script>
 </body>
 </html>

Modified: incubator/ivy/core/trunk/doc/resolver/ivyrep.html
URL: 
http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/resolver/ivyrep.html?rev=596442&r1=596441&r2=596442&view=diff
==============================================================================
--- incubator/ivy/core/trunk/doc/resolver/ivyrep.html (original)
+++ incubator/ivy/core/trunk/doc/resolver/ivyrep.html Mon Nov 19 12:48:00 2007
@@ -33,7 +33,9 @@
 This resolver usually uses an URL based repository usually similar in 
structure to <a href="http://ivyrep.jayasoft.org/";>ivyrep</a> to find ivy 
files, and ibiblio to find artifacts.
 It can also be configured to use other similar repositories.
 
+<div class="tip">
 Since ivyrep is not maintained anymore, the ivyroot attribute is mandatory, 
and the use of this resolver is not recommended (we recommend using 
[[resolver/url url resolver]] as replacement in most cases).
+</div>
 
 <h1>Attributes</h1>
 This resolver shares the <a 
href="../configuration/resolvers.html#common">common attributes</a> of standard 
resolvers.


Reply via email to