You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by sv...@apache.org on 2024/03/12 23:50:32 UTC
svn commit: r1916263 - in /maven/website/content: guides/mini/guide-relocation.html maven-site-1.0-site.jar
Author: svn-site-role
Date: Tue Mar 12 23:50:31 2024
New Revision: 1916263
Log:
Site checkin for project Apache Maven Site
Modified:
maven/website/content/guides/mini/guide-relocation.html
maven/website/content/maven-site-1.0-site.jar
Modified: maven/website/content/guides/mini/guide-relocation.html
==============================================================================
--- maven/website/content/guides/mini/guide-relocation.html (original)
+++ maven/website/content/guides/mini/guide-relocation.html Tue Mar 12 23:50:31 2024
@@ -205,7 +205,64 @@
<li>has published its releases until 3.0-alpha-3 to Maven 1-compliant <code>poi:poi</code> coordinates (see <a class="externalLink" href="https://repo.maven.apache.org/maven2/poi/poi/">repository content</a>),</li>
<li>starting with 3.0-FINAL, moved to reverse-DNS compliant Maven 2+ <code>org.apache.poi:poi</code> coordinates, (see <a class="externalLink" href="https://repo.maven.apache.org/maven2/org/apache/poi/poi/">repository content</a>),</li>
<li>published <code>poi:poi:3.0-FINAL</code> relocation POM <b>with jars</b> in old groupId to advertise about the move (see <a class="externalLink" href="https://repo.maven.apache.org/maven2/poi/poi/3.0-FINAL/">repository content</a>).</li>
-<li>published <code>poi:poi</code> relocation POMs for 3.0.1-FINAL, 3.0.2-beta1/beta2/FINAL and 3.1-beta1/beta2/FINAL in old groupId to advertise about the move (see <a class="externalLink" href="https://repo.maven.apache.org/maven2/poi/poi/">repository content</a>).</li></ol></section></section></section>
+<li>published <code>poi:poi</code> relocation POMs for 3.0.1-FINAL, 3.0.2-beta1/beta2/FINAL and 3.1-beta1/beta2/FINAL in old groupId to advertise about the move (see <a class="externalLink" href="https://repo.maven.apache.org/maven2/poi/poi/">repository content</a>).</li></ol></section><section>
+<h3>Testing</h3>
+<p>Using <code>pom.xml</code></p>
+<div class="verbatim source"><pre class="prettyprint linenums"><?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>test</groupId>
+ <artifactId>relocation-test</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <dependencies>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>1.7.0</version><!-- https://repo.maven.apache.org/maven2/ant/ant/1.7.0/ -->
+ </dependency>
+ <dependency>
+ <groupId>poi</groupId>
+ <artifactId>poi</artifactId>
+ <version>3.0-FINAL</version><!-- https://repo.maven.apache.org/maven2/poi/poi/3.0-FINAL/ -->
+ </dependency>
+ </dependencies>
+</project></pre></div>
+<p>Dependency resolution of these relocated artifacts follows to the new relocated coordinates, issuing a warning:</p>
+<div class="verbatim">
+<pre>$ mvn dependency:list dependency:tree
+[INFO] Scanning for projects...
+[INFO]
+[INFO] ------------------------< test:relocation-test >------------------------
+[INFO] Building relocation-test 1.0-SNAPSHOT
+[INFO] from pom.xml
+[INFO] --------------------------------[ jar ]---------------------------------
+[WARNING] The artifact ant:ant:jar:1.7.0 has been relocated to org.apache.ant:ant:jar:1.7.0
+[WARNING] The artifact poi:poi:jar:3.0-FINAL has been relocated to org.apache.poi:poi:jar:3.0-FINAL
+[INFO]
+[INFO] --- dependency:3.6.0:list (default-cli) @ relocation-test ---
+[INFO]
+[INFO] The following files have been resolved:
+[INFO] org.apache.ant:ant:jar:1.7.0:compile -- module ant (auto)
+[INFO] org.apache.ant:ant-launcher:jar:1.7.0:compile -- module ant.launcher (auto)
+[INFO] org.apache.poi:poi:jar:3.0-FINAL:compile -- module poi (auto)
+[INFO] commons-logging:commons-logging:jar:1.1:compile -- module commons.logging (auto)
+[INFO] log4j:log4j:jar:1.2.13:compile -- module log4j (auto)
+[INFO]
+[INFO]
+[INFO] --- dependency:3.6.0:tree (default-cli) @ relocation-test ---
+[WARNING] The artifact ant:ant:jar:1.7.0 has been relocated to org.apache.ant:ant:jar:1.7.0
+[WARNING] The artifact poi:poi:jar:3.0-FINAL has been relocated to org.apache.poi:poi:jar:3.0-FINAL
+[INFO] test:relocation-test:jar:1.0-SNAPSHOT
+[INFO] +- org.apache.ant:ant:jar:1.7.0:compile
+[INFO] | \- org.apache.ant:ant-launcher:jar:1.7.0:compile
+[INFO] \- org.apache.poi:poi:jar:3.0-FINAL:compile
+[INFO] +- commons-logging:commons-logging:jar:1.1:compile
+[INFO] \- log4j:log4j:jar:1.2.13:compile
+[INFO] ------------------------------------------------------------------------
+[INFO] BUILD SUCCESS
+[INFO] ------------------------------------------------------------------------</pre></div></section></section></section>
</main>
</div>
</div>
Modified: maven/website/content/maven-site-1.0-site.jar
==============================================================================
Binary files - no diff available.