You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2005/05/13 02:58:56 UTC

svn commit: r169916 - /maven/maven-1/core/trunk/xdocs/faq.fml

Author: brett
Date: Thu May 12 17:58:56 2005
New Revision: 169916

URL: http://svn.apache.org/viewcvs?rev=169916&view=rev
Log:
add FAQ on dependency versioning

Modified:
    maven/maven-1/core/trunk/xdocs/faq.fml

Modified: maven/maven-1/core/trunk/xdocs/faq.fml
URL: http://svn.apache.org/viewcvs/maven/maven-1/core/trunk/xdocs/faq.fml?rev=169916&r1=169915&r2=169916&view=diff
==============================================================================
--- maven/maven-1/core/trunk/xdocs/faq.fml (original)
+++ maven/maven-1/core/trunk/xdocs/faq.fml Thu May 12 17:58:56 2005
@@ -453,6 +453,32 @@
         </p>
       </answer>
     </faq>
+
+    <faq id="unversioned-jars">
+      <question>I want to store unversioned JARs in the Maven repository, why won't Maven let me?</question>
+      <answer>
+        <p>
+          There was a workaround to allow this in Maven 1.x, but it will be removed in future. The version is
+          required for Maven's dependency management to work effectively, and besides, it's a good practice.
+        </p>
+        <p>
+          The local repository is Maven's private cache area, so it is entitled to name the JARs as it sees fit to
+          operate correctly. When you put the resulting JARs into your webapps, etc, you should have the flexibilityo
+          to name them as you wish (though we recommend the default).
+        </p>
+        <p>
+          You can use a version of UNVERSIONED or similar as a last resort, but it is strongly recommended that you
+          use something recognisable.
+        </p>
+        <p>
+          You can get more information from the following sources:
+        </p>
+        <ul>
+          <li><a href="http://blogs.codehaus.org/projects/maven/archives/001052_why_maven_uses_jar_names_with_versions.html">Why Maven uses JAR names with versions</a></li>
+          <li><a href="http://blogs.codehaus.org/people/jdcasey/archives/001053_dependencies_to_version_or_not_to_version.html">Dependencies: To Version or Not To Version?</a></li>
+        </ul>
+      </answer>
+    </faq>
   </part>
 
   <part id="ibiblio">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org