You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-commits@incubator.apache.org by ry...@apache.org on 2008/11/26 18:32:35 UTC

svn commit: r720934 - /incubator/droids/trunk/pom.xml

Author: ryan
Date: Wed Nov 26 10:32:35 2008
New Revision: 720934

URL: http://svn.apache.org/viewvc?rev=720934&view=rev
Log:
add revision info the the MANIFEST.MF

Modified:
    incubator/droids/trunk/pom.xml

Modified: incubator/droids/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/droids/trunk/pom.xml?rev=720934&r1=720933&r2=720934&view=diff
==============================================================================
--- incubator/droids/trunk/pom.xml (original)
+++ incubator/droids/trunk/pom.xml Wed Nov 26 10:32:35 2008
@@ -44,6 +44,28 @@
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/droids/trunk/</developerConnection>
     <url>http://svn.apache.org/repos/asf/incubator/droids/trunk/</url>
   </scm>
+  <issueManagement>
+    <system>jira</system>
+    <url>http://issues.apache.org/jira/browse/DROIDS</url>
+  </issueManagement>
+  
+  <mailingLists>
+    <mailingList>
+      <name>Droids Development List</name>
+      <post>droids-dev@incubator.apache.org</post>
+      <subscribe>announce-subscribe@wicket.apache.org</subscribe>
+      <unsubscribe>announce-unsubscribe@wicket.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/incubator-droids-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Droids Commits List</name>
+      <post>droids-commits@incubator.apache.org</post>
+      <subscribe>droids-commits-subscribe@incubator.apache.org</subscribe>
+      <unsubscribe>droids-commits-unsubscribe@incubator.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/incubator-droids-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
 
   <properties>
     <maven.compile.source>1.6</maven.compile.source>
@@ -109,8 +131,8 @@
   </dependencyManagement>
 
 
-	<build>
-		<plugins>
+  <build>
+    <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
@@ -128,60 +150,101 @@
           <downloadSources>true</downloadSources>
         </configuration>
       </plugin>     
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-surefire-plugin</artifactId>
-				<inherited>true</inherited>
-			</plugin>
-			<plugin>
-				<groupId>org.codehaus.mojo</groupId>
-				<artifactId>surefire-report-maven-plugin</artifactId>
-				<inherited>true</inherited>
-			</plugin>
-		</plugins>
-	</build>
-
-	<reporting>
-		<plugins>
-			<plugin>
-				<inherited>true</inherited>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-project-info-reports-plugin</artifactId>
-				<version>2.0.1</version>
-				<reportSets>
-					<reportSet>
-						<reports>
-							<report>index</report>
-							<report>dependencies</report>
-							<report>mailing-list</report>
-							<report>issue-tracking</report>
-							<report>license</report>
-							<report>scm</report>
-						</reports>
-					</reportSet>
-				</reportSets>
-			</plugin>
-			<plugin>
-				<inherited>true</inherited>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-javadoc-plugin</artifactId>
-			</plugin>
-		</plugins>
-	</reporting>
-
-	<repositories>
-		<repository>
-			<id>org.apache.people</id>
-			<name>Apache Snapshot Repository</name>
-			<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
-			<snapshots>
-				<enabled>true</enabled>
-			</snapshots>
-			<releases>
-				<enabled>true</enabled>
-			</releases>
-		</repository>
-	</repositories>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <inherited>true</inherited>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>surefire-report-maven-plugin</artifactId>
+        <inherited>true</inherited>
+      </plugin>
+      
+      <plugin>
+         <!-- Add SVN Revision To A JAR Manifest
+            - http://maven.apache.org/plugin-developers/cookbook/add-svn-revision-to-manifest.html 
+           -->
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>buildnumber-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>validate</phase>
+            <goals>
+              <goal>create</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <doCheck>false</doCheck>
+          <doUpdate>true</doUpdate>
+        </configuration>
+      </plugin>
+      
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>        
+        <version>2.2</version>
+        <configuration>
+          <archive>
+            <manifestEntries>              
+              <Specification-Title>Apache ${project.name}</Specification-Title>
+              <Specification-Version>${project.version}</Specification-Version>
+              <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
+              <Implementation-Title>${project.name}</Implementation-Title>
+              <Implementation-Version>${project.version} ${buildNumber} - ${user.name}</Implementation-Version>
+              <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
+              <SCM-Revision>${buildNumber}</SCM-Revision>   
+              <SCM-url>${scm.url}</SCM-url>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+      
+    </plugins>  
+  </build>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <inherited>true</inherited>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>2.0.1</version>
+        <reportSets>
+          <reportSet>
+            <reports>
+              <report>index</report>
+              <report>dependencies</report>
+              <report>mailing-list</report>
+              <report>issue-tracking</report>
+              <report>license</report>
+              <report>scm</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
+        <inherited>true</inherited>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </reporting>
+
+  <repositories>
+    <repository>
+      <id>org.apache.people</id>
+      <name>Apache Snapshot Repository</name>
+      <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
+    </repository>
+  </repositories>
 
   <modules>
     <module>droids-norobots</module>