comparison gnv-artifacts/pom.xml @ 1095:c961cd9a13f7

Write svn revision to MANIFEST file while creating jar archive. gnv-artifacts/trunk@1211 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 14 Jun 2010 21:12:23 +0000
parents 89aca25642d6
children c01c220312d0
comparison
equal deleted inserted replaced
1094:e71e982772a9 1095:c961cd9a13f7
5 <artifactId>gnv-artifacts</artifactId> 5 <artifactId>gnv-artifacts</artifactId>
6 <packaging>jar</packaging> 6 <packaging>jar</packaging>
7 <version>1.0-SNAPSHOT</version> 7 <version>1.0-SNAPSHOT</version>
8 <name>gnv-artifacts</name> 8 <name>gnv-artifacts</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/gnv-artifacts</connection>
12 <developerConnection>scm:svn:svn+ssh://${user}@thoe.intevation.de/home/projects/Geospatial/bsh-generischer-viewer/Material/SVN/gnv-artifacts</developerConnection>
13 <url>scm:svn:svn+ssh://${user}@thoe.intevation.de/home/projects/Geospatial/bsh-generischer-viewer/Material/SVN/gnv-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>
20 <plugin>
21 <groupId>org.codehaus.mojo</groupId>
22 <artifactId>buildnumber-maven-plugin</artifactId>
23 <executions>
24 <execution>
25 <phase>validate</phase>
26 <goals>
27 <goal>create</goal>
28 </goals>
29 </execution>
30 </executions>
31 <configuration>
32 <doCheck>false</doCheck>
33 <doUpdate>true</doUpdate>
34 </configuration>
35 </plugin>
15 <plugin> 36 <plugin>
16 <groupId>org.apache.maven.plugins</groupId> 37 <groupId>org.apache.maven.plugins</groupId>
17 <artifactId>maven-eclipse-plugin</artifactId> 38 <artifactId>maven-eclipse-plugin</artifactId>
18 <version>2.5.1</version> 39 <version>2.5.1</version>
19 </plugin> 40 </plugin>
22 <artifactId>maven-compiler-plugin</artifactId> 43 <artifactId>maven-compiler-plugin</artifactId>
23 <version>2.0.2</version> 44 <version>2.0.2</version>
24 <configuration> 45 <configuration>
25 <source>1.5</source> 46 <source>1.5</source>
26 <target>1.5</target> 47 <target>1.5</target>
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>
27 </configuration> 62 </configuration>
28 </plugin> 63 </plugin>
29 </plugins> 64 </plugins>
30 </build> 65 </build>
31 <dependencies> 66 <dependencies>

http://dive4elements.wald.intevation.org