myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r1070500 - /myfaces/extensions/cdi/trunk/pom.xml
Date Mon, 14 Feb 2011 14:19:59 GMT
Author: gpetracek
Date: Mon Feb 14 14:19:59 2011
New Revision: 1070500

URL: http://svn.apache.org/viewvc?rev=1070500&view=rev
Log:
EXTCDI-136 initial config for all modules

Modified:
    myfaces/extensions/cdi/trunk/pom.xml

Modified: myfaces/extensions/cdi/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/pom.xml?rev=1070500&r1=1070499&r2=1070500&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/pom.xml (original)
+++ myfaces/extensions/cdi/trunk/pom.xml Mon Feb 14 14:19:59 2011
@@ -477,6 +477,50 @@
                     <preparationGoals>clean install</preparationGoals>
                 </configuration>
             </plugin>
+
+            <!-- revision number in manifest files -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <archive>
+                        <manifest>
+                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                        </manifest>
+                        <manifestEntries>
+                            <Revision>${scm.revision}</Revision>
+                            <Java-Vendor>${java.vendor}</Java-Vendor>
+                        </manifestEntries>
+                    </archive>
+                </configuration>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>test-jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>buildnumber-maven-plugin</artifactId>
+                <version>1.0-beta-4</version>
+                <executions>
+                    <execution>
+                        <phase>validate</phase>
+                        <goals>
+                            <goal>create</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <doCheck>false</doCheck>
+                    <doUpdate>false</doUpdate>
+                    <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
+                    <buildNumberPropertyName>scm.revision</buildNumberPropertyName>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 



Mime
View raw message