aae2e137d9ccb91d46d3e71a61820f435bb09f80
[website] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
4   <modelVersion>4.0.0</modelVersion>
5
6
7   <groupId>de.juplo</groupId>
8   <artifactId>branding</artifactId>
9   <name>Juplo - branding</name>
10   <version>1.0-SNAPSHOT</version>
11   <packaging>war</packaging>
12   <url>http://www.juplo.de/branding</url>
13
14
15   <prerequisites>
16     <maven>2.0.6</maven>
17   </prerequisites>
18
19
20   <scm>
21     <connection>scm:git:http://juplo.de/git/branding</connection>
22     <developerConnection>scm:git:ssh://juplo.de:/var/lib/git/juplo/branding</developerConnection>
23     <url>http://juplo.de/gitweb/?p=branding;a=summary</url>
24   </scm>
25
26
27   <developers>
28     <developer>
29       <id>kai</id>
30       <name>Kai Moritz</name>
31       <email>kai@juplo.de</email>
32     </developer>
33   </developers>
34
35
36   <properties>
37
38     <!-- Zeichensatz -->
39     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40
41     <!-- Verwendete Versionen -->
42     <jsp-api.version>2.2.1</jsp-api.version>
43     <jstl.version>1.2</jstl.version>
44     <servlet-api.version>3.0.1</servlet-api.version>
45     <slf4j.version>1.5.8</slf4j.version>
46     <springframework.version>3.2.4.RELEASE</springframework.version>
47     <tiles.version>3.0.1</tiles.version>
48
49   </properties>
50
51
52   <dependencies>
53
54     <!-- Spring -->
55     <dependency>
56       <groupId>org.springframework</groupId>
57       <artifactId>spring-webmvc</artifactId>
58       <version>${springframework.version}</version>
59     </dependency>
60
61     <!-- Tiles -->
62     <dependency>
63       <groupId>org.apache.tiles</groupId>
64       <artifactId>tiles-core</artifactId>
65       <version>${tiles.version}</version>
66       <scope>runtime</scope>
67     </dependency>
68     <dependency>
69       <groupId>org.apache.tiles</groupId>
70       <artifactId>tiles-jsp</artifactId>
71       <version>${tiles.version}</version>
72       <scope>runtime</scope>
73     </dependency>
74
75     <!-- Servlet -->
76     <dependency>
77       <groupId>javax.servlet</groupId>
78       <artifactId>javax.servlet-api</artifactId>
79       <version>${servlet-api.version}</version>
80       <scope>provided</scope>
81     </dependency>
82     <dependency>
83       <groupId>javax.servlet.jsp</groupId>
84       <artifactId>javax.servlet.jsp-api</artifactId>
85       <version>${jsp-api.version}</version>
86       <scope>provided</scope>
87     </dependency>
88     <dependency>
89       <groupId>javax.servlet</groupId>
90       <artifactId>jstl</artifactId>
91       <version>${jstl.version}</version>
92       <scope>runtime</scope>
93     </dependency>
94
95     <!-- Logging -->
96     <dependency>
97       <groupId>org.slf4j</groupId>
98       <artifactId>slf4j-api</artifactId>
99       <version>${slf4j.version}</version>
100     </dependency>
101     <dependency>
102       <groupId>org.slf4j</groupId>
103       <artifactId>slf4j-log4j12</artifactId>
104       <version>${slf4j.version}</version>
105       <scope>runtime</scope>
106     </dependency>
107
108   </dependencies>
109
110
111   <distributionManagement>
112     <repository>
113       <id>juplo.internal</id>
114       <name>Internal Release Repository</name>
115       <url>http://juplo.de/archiva/repository/internal/</url>
116     </repository>
117     <snapshotRepository>
118       <id>juplo.snapshots</id>
119       <name>Internal Snapshot Repository</name>
120       <url>http://juplo.de/archiva/repository/snapshots/</url>
121     </snapshotRepository>
122   </distributionManagement>
123
124
125   <build>
126     <finalName>branding</finalName>
127     <plugins>
128       <plugin>
129         <groupId>org.apache.maven.plugins</groupId>
130         <artifactId>maven-compiler-plugin</artifactId>
131         <configuration>
132           <source>1.6</source>
133           <target>1.6</target>
134           <encoding>utf8</encoding>
135           <showWarnings>true</showWarnings>
136         </configuration>
137       </plugin>
138       <plugin>
139         <groupId>org.lesscss</groupId>
140         <artifactId>lesscss-maven-plugin</artifactId>
141         <version>1.3.3</version>
142         <executions>
143           <execution>
144             <goals>
145               <goal>compile</goal>
146             </goals>
147           </execution>
148         </executions>
149         <configuration>
150           <sourceDirectory>${project.basedir}/src/main/webapp/less</sourceDirectory>
151           <outputDirectory>${project.build.directory}/${project.build.finalName}/css</outputDirectory>
152           <compress>true</compress>
153         </configuration>
154       </plugin>
155       <plugin>
156         <artifactId>maven-war-plugin</artifactId>
157         <configuration>
158           <warSourceExcludes>less/**</warSourceExcludes>
159         </configuration>
160       </plugin>
161       <plugin>
162         <groupId>org.apache.maven.plugins</groupId>
163         <artifactId>maven-source-plugin</artifactId>
164         <executions>
165           <execution>
166             <id>attach-sources</id>
167             <phase>verify</phase>
168             <goals>
169               <goal>jar</goal>
170             </goals>
171           </execution>
172         </executions>
173       </plugin>
174       <plugin>
175         <groupId>org.eclipse.jetty</groupId>
176         <artifactId>jetty-maven-plugin</artifactId>
177       </plugin>
178       <plugin>
179         <groupId>org.codehaus.mojo</groupId>
180         <artifactId>tomcat-maven-plugin</artifactId>
181         <version>1.1</version>
182         <configuration>
183           <path>/</path>
184           <uriEncoding>UTF-8</uriEncoding>
185         </configuration>
186       </plugin>
187       <plugin>
188         <groupId>com.google.appengine</groupId>
189         <artifactId>appengine-maven-plugin</artifactId>
190         <version>1.8.2</version>
191       </plugin>
192     </plugins>
193   </build>
194
195
196   <reporting>
197     <plugins>
198       <plugin>
199         <artifactId>maven-changes-plugin</artifactId>
200       </plugin>
201       <plugin>
202         <artifactId>maven-javadoc-plugin</artifactId>
203       </plugin>
204       <plugin>
205         <artifactId>maven-jxr-plugin</artifactId>
206       </plugin>
207       <plugin>
208         <artifactId>maven-surefire-report-plugin</artifactId>
209       </plugin>
210       <plugin>
211         <artifactId>maven-scm-plugin</artifactId>
212         <configuration>
213           <goals>install</goals>
214         </configuration>
215       </plugin>
216     </plugins>
217   </reporting>
218
219 </project>