Author: dennisl
Date: Fri Jan 11 15:15:17 2008
New Revision: 611327

URL: http://svn.apache.org/viewvc?rev=611327&view=rev
Log:
o Remove pages that are now in Maven Archiver and redirect requests for the old 
URLs to the site for Maven Archiver.
o Replace links to Maven Archiver Javadocs with links to Maven Archiver site.
o Improve Javadoc.

Added:
    
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/default-manifest-file.apt
      - copied, changed from r611284, 
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-file.apt
    maven/plugins/trunk/maven-jar-plugin/src/site/resources/
    maven/plugins/trunk/maven-jar-plugin/src/site/resources/.htaccess   (with 
props)
Removed:
    
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/executable-jar.apt
    maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-file.apt
Modified:
    
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/AbstractJarMojo.java
    
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarSignMojo.java
    
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarSignVerifyMojo.java
    
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/TestJarMojo.java
    
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-customization.apt
    maven/plugins/trunk/maven-jar-plugin/src/site/apt/index.apt
    maven/plugins/trunk/maven-jar-plugin/src/site/apt/usage.apt
    maven/plugins/trunk/maven-jar-plugin/src/site/fml/faq.fml
    maven/plugins/trunk/maven-jar-plugin/src/site/site.xml

Modified: 
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/AbstractJarMojo.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/AbstractJarMojo.java?rev=611327&r1=611326&r2=611327&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/AbstractJarMojo.java
 (original)
+++ 
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/AbstractJarMojo.java
 Fri Jan 11 15:15:17 2008
@@ -44,14 +44,14 @@
     private static final String[] DEFAULT_INCLUDES = new String[] { "**/**" };
 
     /**
-     * List of files to include, fileset pattern.
+     * List of files to include. Specified as fileset patterns.
      *
      * @parameter
      */
     private String[] includes;
 
     /**
-     * List of files to exclude, fileset pattern.
+     * List of files to exclude. Specified as fileset patterns.
      *
      * @parameter
      */
@@ -82,7 +82,7 @@
     private JarArchiver jarArchiver;
 
     /**
-     * The maven project.
+     * The Maven project.
      *
      * @parameter expression="${project}"
      * @required
@@ -91,18 +91,19 @@
     private MavenProject project;
 
     /**
-     * The maven archive configuration to use.
+     * The archive configuration to use.
      *
      * See <a
-     * 
href="http://maven.apache.org/ref/2.0.4/maven-archiver/apidocs/org/apache/maven/archiver/MavenArchiveConfiguration.html";>the
-     * Javadocs for MavenArchiveConfiguration</a>.
+     * href="http://maven.apache.org/shared/maven-archiver/index.html";>the
+     * documentation for Maven Archiver</a>.
      *
      * @parameter
      */
     private MavenArchiveConfiguration archive = new 
MavenArchiveConfiguration();
 
     /**
-     * Path to the default MANIFEST file to use will be use if 
useDefaultManifestFile is set to true
+     * Path to the default MANIFEST file to use. It will be used if
+     * <code>useDefaultManifestFile</code> is set to <code>true</code>.
      *
      * @parameter 
expression="${project.build.outputDirectory}/META-INF/MANIFEST.MF"
      * @required
@@ -112,10 +113,10 @@
     private File defaultManifestFile;
 
     /**
-     * Set to true to enable the use of the defaultManifestFile
+     * Set this to <code>true</code> to enable the use of the 
<code>defaultManifestFile</code>.
      *
      * @parameter expression="${jar.useDefaultManifestFile}" 
default-value="false"
-     * 
+     *
      * @since 2.2
      */
     private boolean useDefaultManifestFile;
@@ -143,7 +144,7 @@
     }
 
     /**
-     * Overload this to produce a test-jar, for example.
+     * Overload this to produce a jar with another classifier, for example a 
test-jar.
      */
     protected abstract String getClassifier();
 
@@ -166,7 +167,7 @@
         return new File( basedir, finalName + classifier + ".jar" );
     }
 
-    /** 
+    /**
      * Default Manifest location. Can point to a non existing file.
      * Cannot return null.
      */

Modified: 
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarSignMojo.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarSignMojo.java?rev=611327&r1=611326&r2=611327&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarSignMojo.java
 (original)
+++ 
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarSignMojo.java
 Fri Jan 11 15:15:17 2008
@@ -133,8 +133,8 @@
 
     /**
      * See <a 
href="http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/jarsigner.html#Options";>options</a>.
-     * The corresponding option in the command line is -storetype
-     * 
+     * The corresponding option in the command line is -storetype.
+     *
      * @parameter expression="${type}"
      */
     private String type;
@@ -158,13 +158,13 @@
 
     /**
      * Skip attaching the signed artifact. By default the signed artifact is 
attached.
-     * This is not a Mojo parameter as we shouldn't need this when using this 
mojo. 
+     * This is not a Mojo parameter as we shouldn't need this when using this 
mojo.
      * Just needed when reusing the implementation. See MJAR-84 for 
discussions.
      */
     private boolean skipAttachSignedArtifact;
 
     /**
-     * Enable verbose
+     * Enable verbose.
      * See <a 
href="http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/jarsigner.html#Options";>options</a>.
      *
      * @parameter expression="${verbose}" default-value="false"
@@ -177,7 +177,7 @@
     private MavenProjectHelper projectHelper;
 
     /**
-     * The maven project.
+     * The Maven project.
      *
      * @parameter expression="${project}"
      * @required

Modified: 
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarSignVerifyMojo.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarSignVerifyMojo.java?rev=611327&r1=611326&r2=611327&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarSignVerifyMojo.java
 (original)
+++ 
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarSignVerifyMojo.java
 Fri Jan 11 15:15:17 2008
@@ -76,7 +76,7 @@
     private String finalName;
 
     /**
-     * Path of the jar to sign. When specified, the finalName is ignored.
+     * Path of the signed jar. When specified, the finalName is ignored.
      *
      * @parameter expression="${jarpath}"
      */
@@ -98,9 +98,11 @@
      */
     private boolean verbose;
 
-    /** When true will make the execute() operation fail, throwing an 
exception, when verifying a non signed jar
+    /** When <code>true</code> this will make the execute() operation fail,
+     * throwing an exception, when verifying a non signed jar.
      * Primarily to keep backwards compatibility with existing code, and allow 
reusing the
-     * bean in unattended operations when set to false.
+     * bean in unattended operations when set to <code>false</code>.
+     *
      * @parameter expression="${errorWhenNotSigned}" default-value="true"
      **/
     private boolean errorWhenNotSigned = true;

Modified: 
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/TestJarMojo.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/TestJarMojo.java?rev=611327&r1=611326&r2=611327&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/TestJarMojo.java
 (original)
+++ 
maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/TestJarMojo.java
 Fri Jan 11 15:15:17 2008
@@ -37,8 +37,8 @@
 {
 
     /**
-     * Set this to 'true' to bypass unit tests entirely.
-     * Its use is NOT RECOMMENDED, but quite convenient on occasion.
+     * Set this to <code>true</code> to bypass unit tests entirely.
+     * Its use is <b>NOT RECOMMENDED</b>, but quite convenient on occasion.
      *
      * @parameter expression="${maven.test.skip}"
      */
@@ -72,7 +72,7 @@
     {
         return testClassesDirectory;
     }
-       
+
        public void execute()
         throws MojoExecutionException
     {

Copied: 
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/default-manifest-file.apt
 (from r611284, 
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-file.apt)
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/default-manifest-file.apt?p2=maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/default-manifest-file.apt&p1=maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-file.apt&r1=611284&r2=611327&rev=611327&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-file.apt 
(original)
+++ 
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/default-manifest-file.apt
 Fri Jan 11 15:15:17 2008
@@ -1,9 +1,9 @@
  ------
- Using your own manifest file
+ Using a Default Manifest File
  ------
  Dennis Lundberg
  ------
- 12 July 2006
+ 2008-01-12
  ------
 
  ~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -26,12 +26,11 @@
  ~~ NOTE: For help with the syntax of this file, see:
  ~~ http://maven.apache.org/guides/mini/guide-apt-format.html
 
-Using your own manifest file
+Using a Default Manifest File
 
-  It is sometimes useful to use your own hand crafted manifest file. You can
-  do this with this plugin. To use the manifest file
-  <<<src/main/resources/META-INF/MANIFEST.MF>>> put this configuration in your
-  <<<pom.xml>>>:
+  If you use the following configuration, the file found in
+  <<<$\{project.build.outputDirectory\}/META-INF/MANIFEST.MF>>> will be used as
+  the manifest file in the jar.
 
 +-----------------+
 <project>
@@ -43,9 +42,7 @@
         <artifactId>maven-jar-plugin</artifactId>
         ...
         <configuration>
-          <archive>
-            
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
-          </archive>
+          <useDefaultManifestFile>true</useDefaultManifestFile>
         </configuration>
         ...
       </plugin>
@@ -55,25 +52,3 @@
 </project>
 +-----------------+
 
-  If you use the following configuration, the file found in 
$\{project.build.outputDirectory\}/META-INF/MANIFEST.MF will be used.
-
-+-----------------+
-<project>
-  ...
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        ...
-        <configuration>
-          <useDefaultManifestFile>true</useDefaultManifestFile>
-        </configuration>
-        ...
-      </plugin>
-    </plugins>
-  </build>
-  ...
-</project>
-+-----------------+  
-  

Modified: 
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-customization.apt
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-customization.apt?rev=611327&r1=611326&r2=611327&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-customization.apt
 (original)
+++ 
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-customization.apt
 Fri Jan 11 15:15:17 2008
@@ -28,20 +28,23 @@
 
 Manifest customization
 
-  By default a manifest will contain something like the following:
+* The Default Manifest
 
-+-----------------+
-  Manifest-Version: 1.0
-  Archiver-Version: Plexus Archiver
-  Created-By: Apache Maven
-  Built-By: ${user.name}
-  Build-Jdk: ${java.version}
-+-----------------+
+  The default contents of the manifest is described in the documentation for
+  
{{{http://maven.apache.org/shared/maven-archiver/examples/manifest.html}Maven 
Archiver}}.
+
+  Starting with version 2.1, the maven-jar-plugin uses Maven Archiver 2.1. This
+  means that it no longer creates the Specification and Implementation details
+  in the manifest by default. If you want them you have to say so explicitly in
+  your plugin configuration. This is also is described in the documentation for
+  
{{{http://maven.apache.org/shared/maven-archiver/examples/manifest.html}Maven 
Archiver}}.
 
-  Configuration can be done using the <<<archive>>> element. Below you will
-  find some of the configuration options that are available. For more info see
-  the
-  
{{{http://maven.apache.org/ref/2.0.4/maven-archiver/apidocs/org/apache/maven/archiver/MavenArchiveConfiguration.html}MavenArchiveConfiguration
 Javadocs}}.
+* Customization the Manifest
+
+  The default manifest can be altered with the <<<archive>>> configuration
+  element. Below you will find some of the configuration options that are
+  available. For more info see the
+  {{{http://maven.apache.org/shared/maven-archiver/index.html}Maven Archiver 
reference}}.
 
 +-----------------+
 <project>
@@ -63,35 +66,6 @@
               <url>${pom.url}</url>
               <key>value</key>
             </manifestEntries>
-          </archive>
-        </configuration>
-        ...
-      </plugin>
-    </plugins>
-  </build>
-  ...
-</project>
-+-----------------+
-
-  Starting with version 2.1, the maven-jar-plugin no longer creates the
-  Specification and Implementation details in the manifest by default.
-  If you want them you have to say so explicitly in your plugin configuration:
-
-+-----------------+
-<project>
-  ...
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        ...
-        <configuration>
-          <archive>
-            <manifest>
-              
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
-              
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-            </manifest>
           </archive>
         </configuration>
         ...

Modified: maven/plugins/trunk/maven-jar-plugin/src/site/apt/index.apt
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/site/apt/index.apt?rev=611327&r1=611326&r2=611327&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/site/apt/index.apt (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/site/apt/index.apt Fri Jan 11 
15:15:17 2008
@@ -46,23 +46,20 @@
 
   Instructions on how to use the Jar Plugin can be found {{{usage.html}here}}.
 
-  You might also want to consult the 
{{{http://maven.apache.org/guides/mini/guide-manifest.html}Guide
-  to Working with Manifests}}.
-
 * Archiver Configuration
 
-  The plugin use the Maven Archiver to handle jar content and manifest 
configuration. 
+  The plugin use Maven Archiver to handle jar content and manifest 
configuration.
 
-  You must have a look at the 
{{{http://maven.apache.org/shared/maven-archiver/}Maven Archiver 
Documentation}} to understand how to setup this.
+  You can have a look at the 
{{{http://maven.apache.org/shared/maven-archiver/}Maven Archiver 
Documentation}} to understand how to setup this.
 
+  You might also want to consult the 
{{{http://maven.apache.org/guides/mini/guide-manifest.html}Guide
+  to Working with Manifests}}.
 
 * Examples
 
   To provide you with better understanding of some usages of the Jar Plugin,
   you can take a look at the following examples:
 
-  * {{{examples/executable-jar.html}Creating an executable jar file}}
-
-  * {{{examples/manifest-customization.html}Manifest customization}}
+  * {{{examples/manifest-customization.html}Manifest Customization}}
 
-  * {{{examples/manifest-file.html}Using your own manifest file}}
+  * {{{examples/default-manifest-file.html}Using a Default Manifest File}}

Modified: maven/plugins/trunk/maven-jar-plugin/src/site/apt/usage.apt
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/site/apt/usage.apt?rev=611327&r1=611326&r2=611327&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/site/apt/usage.apt (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/site/apt/usage.apt Fri Jan 11 
15:15:17 2008
@@ -36,20 +36,20 @@
 * How to build a jar file
 
   If the packaging of your project is set to 'jar', this plugin is executed
-  whenever it passes the "package" phase. Have it executed
-  using the command below from your project:
+  whenever it passes the "package" phase. You can execute it
+  using the command below:
 
 +-----------------+
-  mvn package
+mvn package
 +-----------------+
 
-  In your project's target directory you'll able to see the generated jar file.
+  In your project's <<<target>>> directory you'll able to see the generated 
jar file.
 
 
 * How to sign a jar file
 
-  If you need to sign a jar, when using the 'jar' packaging, you just need to 
configure
-  the sign goal appropriately in your <<<pom.xml>>> for the signing to occur
+  If you need to sign your jar, you just need to configure
+  the sign goal appropriately in your <<<pom.xml>>>, for the signing to occur
   automatically during the package phase.
 
   Note that you can automatically verify a jar after signing it.
@@ -66,18 +66,18 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
         <executions>
-           <execution>
-              <goals>
-                 <goal>sign</goal>
-              </goals>
-           </execution>
+          <execution>
+            <goals>
+              <goal>sign</goal>
+            </goals>
+          </execution>
         </executions>
         <configuration>
-           <keystore>/path/to/your/keystore</keystore>
-           <alias>youralias</alias>
-           <storepass>yourstorepassword</storepass>
-           
<signedjar>${project.build.directory}/signed/${project.build.finalName}.jar</signedjar>
-           <verify>true</verify>
+          <keystore>/path/to/your/keystore</keystore>
+          <alias>youralias</alias>
+          <storepass>yourstorepassword</storepass>
+          
<signedjar>${project.build.directory}/signed/${project.build.finalName}.jar</signedjar>
+          <verify>true</verify>
         </configuration>
       </plugin>
       ...
@@ -87,31 +87,32 @@
 </project>
 +-----------------+
 
-  If you do not specify the \<signedjar\> file, your jar will be signed 
in-place.
+  If you do not specify the <<<\<signedjar\>>>> file, your jar will be signed 
in-place.
   If you do specify it, the plugin will attempt to create the resulting 
containing directory.
 
 * How to sign a jar file specifying parameters on the command line
 
 +-----------------+
-  mvn jar:sign -Dkeystore=/path/to/your/keystore -Dstorepass=yourstorepassword 
-Dalias=youralias
+mvn jar:sign -Dkeystore=/path/to/your/keystore -Dstorepass=yourstorepassword 
-Dalias=youralias
 +-----------------+
 
 * How to verify a signed jar file specifying parameters on the command line
 
 +-----------------+
-  mvn jar:sign-verify [-Djarpath=/path/to/your/signedjar] [-Dverbose=true 
[-Dcheckcerts=true] ]
+mvn jar:sign-verify [-Djarpath=/path/to/your/signedjar] [-Dverbose=true 
[-Dcheckcerts=true] ]
 +-----------------+
 
 * How to disable jar signing
 
 +-----------------+
-  mvn ... -Dmaven.jar.skip.sign=true
+mvn ... -Dmaven.jar.skip.sign=true
 +-----------------+
 
 * How to include/exclude content from jar artifact
 
   Specify a list of fileset patterns to be included or excluded by adding
-  includes/include or excludes/exclude in your <<<pom.xml>>>.
+  <<<\<includes\>>>>/<<<\<include\>>>> or <<<\<excludes\>>>>/<<<\<exclude\>>>>
+  in your <<<pom.xml>>>.
 
 +-----------------+
 <project>
@@ -123,7 +124,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
         <configuration>
-         <includes>
+          <includes>
             <include>**/service/*</include>
           </includes>
         </configuration>
@@ -135,15 +136,15 @@
 </project>
 +-----------------+
 
-* How to create an additional attached jar artifact from project
+* How to create an additional attached jar artifact from the project
 
   Specify a list of fileset patterns to be included or excluded by adding
-  includes/include or excludes/exclude and add a classifier in your
-  <<<pom.xml>>>.
+  <<<\<includes\>>>>/<<<\<include\>>>> or <<<\<excludes\>>>>/<<<\<exclude\>>>>
+  and add a <<<classifier>>> in your <<<pom.xml>>>.
 
-  Note that the jar-plugin must be defined in a new execution, otherwise it
+  <<Note:>> the jar-plugin must be defined in a new execution, otherwise it
   will replace the default use of the jar-plugin instead of adding a second
-  artifact. The classifier is also required to create more than one artifact.
+  artifact. The <<<classifier>>> is also required to create more than one 
artifact.
 
 +-----------------+
 <project>
@@ -157,15 +158,15 @@
         <executions>
           <execution>
             <phase>package</phase>
-              <goals>
-                <goal>jar</goal>
-              </goals>
-              <configuration>
-                <classifier>client</classifier>
-                <includes>
-                  <include>**/service/*</include>
-                </includes>
-              </configuration>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+            <configuration>
+              <classifier>client</classifier>
+              <includes>
+                <include>**/service/*</include>
+              </includes>
+            </configuration>
           </execution>
         </executions>
       </plugin>

Modified: maven/plugins/trunk/maven-jar-plugin/src/site/fml/faq.fml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/site/fml/faq.fml?rev=611327&r1=611326&r2=611327&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/site/fml/faq.fml (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/site/fml/faq.fml Fri Jan 11 
15:15:17 2008
@@ -20,17 +20,17 @@
 -->
 
 <faqs id="FAQ" title="Frequently Asked Questions">
- <part id="General">
-   <faq id="question1">
-     <question>Why is there no documentation for the archive 
parameter?</question>
-     <answer>
-       <p>
-        The archive parameter is a class that resides outside of this plugin,
-        in the Maven Archiver component to be exact. The best we can do at this
-        time is to provide you with a link to the documentation for the
-        <a 
href="http://maven.apache.org/ref/2.0.4/maven-archiver/apidocs/org/apache/maven/archiver/MavenArchiveConfiguration.html";>MavenArchiveConfiguration
 class</a>.
-       </p>
-     </answer>
-   </faq>
- </part>
+  <part id="General">
+    <faq id="question1">
+      <question>Why is there no documentation for the archive 
parameter?</question>
+      <answer>
+        <p>
+          The archive parameter is a class that resides outside of this plugin,
+          in the Maven Archiver component. You can find the documentation for
+          Maven Archiver
+          <a 
href="http://maven.apache.org/shared/maven-archiver/index.html";>here</a>.
+        </p>
+      </answer>
+    </faq>
+  </part>
 </faqs>

Added: maven/plugins/trunk/maven-jar-plugin/src/site/resources/.htaccess
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/site/resources/.htaccess?rev=611327&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/site/resources/.htaccess (added)
+++ maven/plugins/trunk/maven-jar-plugin/src/site/resources/.htaccess Fri Jan 
11 15:15:17 2008
@@ -0,0 +1,2 @@
+RedirectMatch permanent (.*)/examples/executable-jar.html 
http://maven.apache.org/shared/maven-archiver/examples/classpath.html
+RedirectMatch permanent (.*)/examples/manifest-file.html 
http://maven.apache.org/shared/maven-archiver/examples/manifestFile.html

Propchange: maven/plugins/trunk/maven-jar-plugin/src/site/resources/.htaccess
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-jar-plugin/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/site/site.xml?rev=611327&r1=611326&r2=611327&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/site/site.xml (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/site/site.xml Fri Jan 11 15:15:17 
2008
@@ -28,9 +28,10 @@
       <item name="FAQ" href="faq.html"/>
     </menu>
     <menu name="Examples">
-      <item name="Creating an executable jar file" 
href="examples/executable-jar.html"/>
-      <item name="Manifest customization" 
href="examples/manifest-customization.html"/>
-      <item name="Using your own manifest file" 
href="examples/manifest-file.html"/>
+      <item name="Creating an Executable Jar File" 
href="http://maven.apache.org/shared/maven-archiver/examples/classpath.html"/>
+      <item name="Manifest Customization" 
href="examples/manifest-customization.html"/>
+      <item name="Using a Default Manifest File" 
href="examples/default-manifest-file.html"/>
+      <item name="Using Your Own Manifest File" 
href="http://maven.apache.org/shared/maven-archiver/examples/manifestFile.html"/>
     </menu>
   </body>
 </project>


Reply via email to