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 17:29:03 UTC
svn commit: r306773 -
/maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-manifest.apt
Author: jvanzyl
Date: Thu Oct 6 08:29:00 2005
New Revision: 306773
URL: http://svn.apache.org/viewcvs?rev=306773&view=rev
Log:
adding examples for manifest entries
Added:
maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-manifest.apt (with props)
Added: 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=306773&view=auto
==============================================================================
--- 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-manifest.apt Thu Oct 6 08:29:00 2005
@@ -0,0 +1,110 @@
+ ------
+ Guide to Working with Manifests
+ ------
+ Jason van Zyl
+ ------
+ 12 October 2005
+ ------
+
+Guide to Working with Manifests
+
++----+
+
+<project>
+ ...
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestEntries>
+ <mode>development</mode>
+ <url>${pom.url}</url>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ ...
+</project>
+
++----+
+
++----+
+
+Manifest-Version: 1.0
+Archiver-Version: Plexus Archiver
+Created-By: Apache Maven
+Built-By: jvanzyl
+Build-Jdk: 1.4.2_09
+Extension-Name: my-app
+Specification-Vendor: MyCompany Inc
+Implementation-Vendor: MyCompany Inc
+Implementation-Title: my-app
+Implementation-Version: 1.0-SNAPSHOT
+mode: development
+url: http://maven.apache.org
+
++----+
+
++----+
+
+<project>
+ ...
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <!--
+ <index>true</true>
+ -->
+ <manifest>
+ <mainClass>com.mycompany.app.App</mainClass/>
+ <packageName>com.mycompany.app</packageName>
+ <!--
+ <addClasspath/>
+ <addExtensions/>
+ <classpathPrefix/>
+ -->
+ </manifest>
+ <manifestEntries>
+ <mode>development</mode>
+ <url>${pom.url}</url>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ ...
+</project>
+
++----+
+
+Manifest-Version: 1.0
+Archiver-Version: Plexus Archiver
+Created-By: Apache Maven
+Built-By: jvanzyl
+Package: org.com.foo.app
+Build-Jdk: 1.4.2_09
+Extension-Name: my-app
+Specification-Vendor: MyCompany Inc
+Implementation-Vendor: MyCompany Inc
+Implementation-Title: my-app
+Implementation-Version: 1.0-SNAPSHOT
+Main-Class: org.com.foo.App
+mode: development
+url: http://maven.apache.org
+
++----+
+
+
+
+
++----+
\ No newline at end of file
Propchange: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-manifest.apt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-manifest.apt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"