You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2005/10/06 22:13:19 UTC

svn commit: r306875 - in /maven/components/trunk/maven-site/src/site/apt/guides/mini: guide-deploy-ftp.apt guide-manifest.apt

Author: jvanzyl
Date: Thu Oct  6 13:13:14 2005
New Revision: 306875

URL: http://svn.apache.org/viewcvs?rev=306875&view=rev
Log:
o stubbing out deploying with FTP

Added:
    maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-deploy-ftp.apt   (with props)
Modified:
    maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-manifest.apt

Added: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-deploy-ftp.apt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-deploy-ftp.apt?rev=306875&view=auto
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-deploy-ftp.apt (added)
+++ maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-deploy-ftp.apt Thu Oct  6 13:13:14 2005
@@ -0,0 +1,9 @@
+ ------
+ Guide to deploying with FTP
+ ------
+ Jason van Zyl
+ ------
+ 12 October 2005
+ ------
+
+Guide to deploying with FTP

Propchange: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-deploy-ftp.apt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-deploy-ftp.apt
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-manifest.apt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-manifest.apt?rev=306875&r1=306874&r2=306875&view=diff
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-manifest.apt (original)
+++ maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-manifest.apt Thu Oct  6 13:13:14 2005
@@ -8,6 +8,10 @@
 
 Guide to Working with Manifests
 
+ In order to modify the manifest of the resultant JAR produced by the jar plug-in you need to create a configuration
+ for the jar plug-in. In this first example we'll add some entries to the manifest by specifying what we'd like
+ in the <<<configuration>>> element of the jar plug-in:
+
 +----+
 
 <project>
@@ -33,6 +37,10 @@
 
 +----+
 
+ As you see above you can use literal values or you can have values from the POM interpolated into literals
+ or simply use straight POM expressions. So this is what your resultant <<<MANIFEST.MF>>> will look like inside
+ the generated JAR:
+
 +----+
 
 Manifest-Version: 1.0
@@ -50,6 +58,10 @@
 
 +----+
 
+ If you need to do more then simply add some manifest entries there are more options like activating indexing of the
+ JAR, setting the main-class, packageName ... Here's an example of what the <<<configuration>>> element of the
+ JAR plug-in might look like:
+
 +----+
 
 <project>
@@ -67,7 +79,7 @@
             <manifest>
               <mainClass>com.mycompany.app.App</mainClass/>
               <packageName>com.mycompany.app</packageName>
-              <!--
+              <!-- options
               <addClasspath>true</addClasspath>
               <addExtensions/>
               <classpathPrefix/>
@@ -87,6 +99,10 @@
 
 +----+
 
+ So this is what your resultant <<<MANIFEST.MF>>> will look like inside the generated JAR:
+
++----+
+
 Manifest-Version: 1.0
 Archiver-Version: Plexus Archiver
 Created-By: Apache Maven
@@ -104,7 +120,3 @@
 
 +----+
 
-
-
-
-+----+
\ No newline at end of file