[jboss-cvs] JBossAS SVN: r86857 - trunk.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Apr 6 12:41:18 EDT 2009
Author: pgier
Date: 2009-04-06 12:41:17 -0400 (Mon, 06 Apr 2009)
New Revision: 86857
Modified:
trunk/pom.xml
Log:
Add scm information to pom. Set manifest entries to track build information. [JBBUILD-522]
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-04-06 16:04:27 UTC (rev 86856)
+++ trunk/pom.xml 2009-04-06 16:41:17 UTC (rev 86857)
@@ -15,6 +15,12 @@
<url>http://www.jboss.org/jbossas</url>
<description>JBoss Application Server (aggregator)</description>
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/trunk</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/trunk</developerConnection>
+ <url>http://fisheye.jboss.org/browse/JBossAS</url>
+ </scm>
+
<build>
<defaultGoal>install</defaultGoal>
<pluginManagement>
@@ -46,6 +52,19 @@
<manifestEntries>
<Implementation-URL>${pom.url}</Implementation-URL>
</manifestEntries>
+ <manifestSections>
+ <manifestSection>
+ <name>Build-Information</name>
+ <manifestEntries>
+ <Java-Version>${java.version}</Java-Version>
+ <Java-Vendor>${java.vendor}</Java-Vendor>
+ <Os-Name>${os.name}</Os-Name>
+ <Os-Vendor>${os.vendor}</Os-Vendor>
+ <Os-Version>${os.version}</Os-Version>
+ <Scm-Revision>${buildNumber}</Scm-Revision>
+ </manifestEntries>
+ </manifestSection>
+ </manifestSections>
</archive>
</configuration>
</plugin>
@@ -66,6 +85,19 @@
<manifestEntries>
<Implementation-URL>${pom.url}</Implementation-URL>
</manifestEntries>
+ <manifestSections>
+ <manifestSection>
+ <name>Build-Information</name>
+ <manifestEntries>
+ <Java-Version>${java.version}</Java-Version>
+ <Java-Vendor>${java.vendor}</Java-Vendor>
+ <Os-Name>${os.name}</Os-Name>
+ <Os-Vendor>${os.vendor}</Os-Vendor>
+ <Os-Version>${os.version}</Os-Version>
+ <Scm-Revision>${buildNumber}</Scm-Revision>
+ </manifestEntries>
+ </manifestSection>
+ </manifestSections>
</archive>
</configuration>
</plugin>
@@ -105,6 +137,21 @@
<extensions>true</extensions>
</plugin>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>buildnumber-maven-plugin</artifactId>
+ <version>1.0-beta-2</version>
+ <executions>
+ <execution>
+ <id>set-build-properties</id>
+ <goals>
+ <goal>create</goal>
+ </goals>
+ <phase>validate</phase>
+ </execution>
+ </executions>
+ <inherited>true</inherited>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0-beta-1</version>
More information about the jboss-cvs-commits
mailing list