Author: svn-site-role
Date: Tue Nov 28 12:39:51 2023
New Revision: 1914177
Log:
Site checkin for project Apache Maven Site
Modified:
maven/website/content/guides/introduction/introduction-to-dependency-mechanism.html
maven/website/content/maven-site-1.0-site.jar
Modified:
maven/website/content/guides/introduction/introduction-to-dependency-mechanism.html
==============================================================================
---
maven/website/content/guides/introduction/introduction-to-dependency-mechanism.html
(original)
+++
maven/website/content/guides/introduction/introduction-to-dependency-mechanism.html
Tue Nov 28 12:39:51 2023
@@ -744,7 +744,7 @@
<ul>
<li>Do not attempt to import a POM that is defined in a submodule of the
current POM. Attempting to do that will result in the build failing since it
won't be able to locate the POM.</li>
<li>Never declare the POM importing a POM as the parent (or grandparent, etc)
of the target POM. There is no way to resolve the circularity and an exception
will be thrown.</li>
-<li>When referring to artifacts whose POMs have transitive dependencies, the
project needs to specify versions of those artifacts as managed dependencies.
Not doing so results in a build failure since the artifact may not have a
version specified. (This should be considered a best practice in any case as it
keeps the versions of artifacts from changing from one build to the next).
+<li>When referring to artifacts whose POMs have transitive dependencies, the
project needs to specify versions of those artifacts as managed dependencies.
Not doing so results in a build failure since the artifact may not have a
version specified. (This should be considered a best practice in any case as it
keeps the versions of artifacts from changing from one build to the
next).</li></ul>
<p>Starting from Maven 4.0, a new specific BOM packaging has been introduced.
It allows defining a BOMs which are not used as parent in a project leveraging
the newer 4.1.0 model, while still providing full compatibility with Maven 3.X
clients and projects. This BOM packaging is translated into a more usual POM
packaging at installation / deployment time, leveraging the build/consumer POM
feature from Maven 4. This thus provides full compatibility with Maven 3.x.</p>
<div class="verbatim source"><pre class="prettyprint linenums">
<project xmlns="http://maven.apache.org/POM/4.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -777,7 +777,7 @@
</dependencies>
</dependencyManagement>
</project>
-</pre></div></li></ul></section></section><section>
+</pre></div></section></section><section>
<h2><a id="System_Dependencies">System Dependencies</a></h2>
<p><code>Important note: This is deprecated.</code></p>
<p>Dependencies with the scope <i>system</i> are always available and are not
looked up in repository. They are usually used to tell Maven about dependencies
which are provided by the JDK or the VM. Thus, system dependencies are
especially useful for resolving dependencies on artifacts which are now
provided by the JDK, but were available as separate downloads earlier. Typical
examples are the JDBC standard extensions or the Java Authentication and
Authorization Service (JAAS).</p>
Modified: maven/website/content/maven-site-1.0-site.jar
==============================================================================
Binary files - no diff available.