Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Anpassungen fuer erfolgreichen Maven-Build

  • Loading branch information...
commit 1b383fe45d62a384621541c15433e8303806f113 1 parent 99a17ef
@chrisgahlert chrisgahlert authored
Showing with 33 additions and 0 deletions.
  1. +33 −0 pom.xml
View
33 pom.xml
@@ -6,6 +6,7 @@
<artifactId>businesshorizon2</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Vaadin Web Application</name>
+ <packaging>war</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -19,6 +20,38 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <webResources>
+ <resource>
+ <directory>${basedir}/WebContent</directory>
+ </resource>
+ </webResources>
+ <warSourceDirectory>WebContent</warSourceDirectory>
+ <warSourceExcludes>WebContent/WEB-INF/lib/*.jar</warSourceExcludes>
+ <archiveClasses>false</archiveClasses>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix />
+ </manifest>
+ <manifestEntries>
+ <url>${pom.url}</url>
+ <Implementation-Build>${buildNumber}</Implementation-Build>
+ <Implementation-Title>${project.name}</Implementation-Title>
+ <Implementation-Vendor>CEJUG</Implementation-Vendor>
+ <Implementation-Version>${project.version}</Implementation-Version>
+ <Built-By>${user.name}</Built-By>
+ <Built-OS>${os.name}</Built-OS>
+ <Build-Date>${timestamp}</Build-Date>
+ <SCM>${buildNumber}</SCM>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>com.googlecode.addjars-maven-plugin</groupId>
<artifactId>addjars-maven-plugin</artifactId>
<version>1.0.2</version>
Please sign in to comment.
Something went wrong with that request. Please try again.