comparison pom.xml @ 99:0efa3e8e46d4

Write revision to MANIFEST files while creating jar archives. artifacts/trunk@1213 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 14 Jun 2010 21:23:13 +0000
parents 86d2a843e588
children 7fc0650f194c
comparison
equal deleted inserted replaced
98:a24ab98f858d 99:0efa3e8e46d4
5 <artifactId>artifact-system</artifactId> 5 <artifactId>artifact-system</artifactId>
6 <packaging>pom</packaging> 6 <packaging>pom</packaging>
7 <version>1.0-SNAPSHOT</version> 7 <version>1.0-SNAPSHOT</version>
8 <name>artifact-system</name> 8 <name>artifact-system</name>
9 <url>http://maven.apache.org</url> 9 <url>http://maven.apache.org</url>
10 <scm>
11 <connection>scm:svn:svn+ssh://${user}@thoe.intevation.de/home/projects/Geospatial/bsh-generischer-viewer/Material/SVN/artifacts</connection>
12 <developerConnection>scm:svn:svn+ssh://${user}@thoe.intevation.de/home/projects/Geospatial/bsh-generischer-viewer/Material/SVN/artifacts</developerConnection>
13 <url>scm:svn:svn+ssh://${user}@thoe.intevation.de/home/projects/Geospatial/bsh-generischer-viewer/Material/SVN/artifacts</url>
14 </scm>
10 <properties> 15 <properties>
11 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12 </properties> 17 </properties>
13 <build> 18 <build>
14 <plugins> 19 <plugins>
24 <configuration> 29 <configuration>
25 <source>1.5</source> 30 <source>1.5</source>
26 <target>1.5</target> 31 <target>1.5</target>
27 </configuration> 32 </configuration>
28 </plugin> 33 </plugin>
34 <plugin>
35 <groupId>org.codehaus.mojo</groupId>
36 <artifactId>buildnumber-maven-plugin</artifactId>
37 <executions>
38 <execution>
39 <phase>validate</phase>
40 <goals>
41 <goal>create</goal>
42 </goals>
43 </execution>
44 </executions>
45 <configuration>
46 <doCheck>true</doCheck>
47 <doUpdate>false</doUpdate>
48 </configuration>
49 </plugin>
50 <plugin>
51 <groupId>org.apache.maven.plugins</groupId>
52 <artifactId>maven-jar-plugin</artifactId>
53 <configuration>
54 <archive>
55 <manifest>
56 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
57 </manifest>
58 <manifestEntries>
59 <SCM-Revision>${buildNumber}</SCM-Revision>
60 </manifestEntries>
61 </archive>
62 </configuration>
63 </plugin>
29 </plugins> 64 </plugins>
30 </build> 65 </build>
31 <repositories> 66 <repositories>
32 <repository> 67 <repository>
33 <id>maven-restlet</id> 68 <id>maven-restlet</id>

http://dive4elements.wald.intevation.org