wro4j ausgebaut
[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.6.1</slf4j.version>
46     <springframework.version>4.0.6.RELEASE</springframework.version>
47     <thymeleaf.version>2.1.3.RELEASE</thymeleaf.version>
48     <thymeleaf-layout-dialect.version>1.2.5</thymeleaf-layout-dialect.version>
49
50   </properties>
51
52
53   <dependencies>
54
55     <!-- Spring -->
56     <dependency>
57       <groupId>org.springframework</groupId>
58       <artifactId>spring-webmvc</artifactId>
59       <version>${springframework.version}</version>
60       <exclusions>
61         <exclusion>
62             <groupId>commons-logging</groupId>
63             <artifactId>commons-logging</artifactId>
64         </exclusion>
65       </exclusions>
66     </dependency>
67
68     <!-- Thymeleaf -->
69     <dependency>
70       <groupId>org.thymeleaf</groupId>
71       <artifactId>thymeleaf</artifactId>
72       <version>${thymeleaf.version}</version>
73       <scope>runtime</scope>
74     </dependency>
75     <dependency>
76       <groupId>org.thymeleaf</groupId>
77       <artifactId>thymeleaf-spring4</artifactId>
78       <version>${thymeleaf.version}</version>
79       <scope>runtime</scope>
80     </dependency>
81     <dependency>
82       <groupId>nz.net.ultraq.thymeleaf</groupId>
83       <artifactId>thymeleaf-layout-dialect</artifactId>
84       <version>${thymeleaf-layout-dialect.version}</version>
85       <scope>runtime</scope>
86     </dependency>
87
88     <!-- Servlet -->
89     <dependency>
90       <groupId>javax.servlet</groupId>
91       <artifactId>javax.servlet-api</artifactId>
92       <version>${servlet-api.version}</version>
93       <scope>provided</scope>
94     </dependency>
95     <dependency>
96       <groupId>javax.servlet.jsp</groupId>
97       <artifactId>javax.servlet.jsp-api</artifactId>
98       <version>${jsp-api.version}</version>
99       <scope>provided</scope>
100     </dependency>
101     <dependency>
102       <groupId>javax.servlet</groupId>
103       <artifactId>jstl</artifactId>
104       <version>${jstl.version}</version>
105       <scope>runtime</scope>
106     </dependency>
107
108     <!-- Logging -->
109     <dependency>
110       <groupId>org.slf4j</groupId>
111       <artifactId>slf4j-api</artifactId>
112       <version>${slf4j.version}</version>
113     </dependency>
114     <dependency>
115       <groupId>org.slf4j</groupId>
116       <artifactId>slf4j-log4j12</artifactId>
117       <version>${slf4j.version}</version>
118       <scope>runtime</scope>
119     </dependency>
120     <dependency>
121       <groupId>org.slf4j</groupId>
122       <artifactId>jcl-over-slf4j</artifactId>
123       <version>${slf4j.version}</version>
124       <scope>runtime</scope>
125     </dependency>
126
127   </dependencies>
128
129
130   <distributionManagement>
131     <repository>
132       <id>juplo.internal</id>
133       <name>Internal Release Repository</name>
134       <url>http://juplo.de/archiva/repository/internal/</url>
135     </repository>
136     <snapshotRepository>
137       <id>juplo.snapshots</id>
138       <name>Internal Snapshot Repository</name>
139       <url>http://juplo.de/archiva/repository/snapshots/</url>
140     </snapshotRepository>
141   </distributionManagement>
142
143
144   <build>
145     <finalName>branding</finalName>
146     <plugins>
147       <plugin>
148         <groupId>org.apache.maven.plugins</groupId>
149         <artifactId>maven-compiler-plugin</artifactId>
150         <configuration>
151           <source>1.6</source>
152           <target>1.6</target>
153           <encoding>utf8</encoding>
154           <showWarnings>true</showWarnings>
155         </configuration>
156       </plugin>
157       <plugin>
158         <groupId>org.lesscss</groupId>
159         <artifactId>lesscss-maven-plugin</artifactId>
160         <version>1.7.0.1.1</version>
161         <executions>
162           <execution>
163             <goals>
164               <goal>compile</goal>
165             </goals>
166           </execution>
167         </executions>
168         <configuration>
169           <includes>
170             <include>base.less</include>
171             <include>screen.less</include>
172             <include>print.less</include>
173           </includes>
174           <sourceDirectory>${project.basedir}/src/main/webapp/less</sourceDirectory>
175           <outputDirectory>${project.build.directory}/${project.build.finalName}/css</outputDirectory>
176         </configuration>
177       </plugin>
178       <plugin>
179         <artifactId>maven-war-plugin</artifactId>
180         <configuration>
181           <warSourceExcludes>less/**</warSourceExcludes>
182         </configuration>
183       </plugin>
184       <plugin>
185         <groupId>org.apache.maven.plugins</groupId>
186         <artifactId>maven-source-plugin</artifactId>
187         <executions>
188           <execution>
189             <id>attach-sources</id>
190             <phase>verify</phase>
191             <goals>
192               <goal>jar</goal>
193             </goals>
194           </execution>
195         </executions>
196       </plugin>
197       <plugin>
198         <groupId>org.eclipse.jetty</groupId>
199         <artifactId>jetty-maven-plugin</artifactId>
200         <configuration>
201           <webApp>
202             <resourceBases>
203               <resourceBase>src/main/webapp</resourceBase>
204               <resourceBase>target/${project.build.finalName}</resourceBase>
205             </resourceBases>
206           </webApp>
207         </configuration>
208       </plugin>
209       <plugin>
210         <groupId>org.codehaus.mojo</groupId>
211         <artifactId>tomcat-maven-plugin</artifactId>
212         <version>1.1</version>
213         <configuration>
214           <path>/</path>
215           <uriEncoding>UTF-8</uriEncoding>
216         </configuration>
217       </plugin>
218       <plugin>
219         <groupId>com.google.appengine</groupId>
220         <artifactId>appengine-maven-plugin</artifactId>
221         <version>1.8.2</version>
222       </plugin>
223     </plugins>
224   </build>
225
226
227   <reporting>
228     <plugins>
229       <plugin>
230         <artifactId>maven-changes-plugin</artifactId>
231       </plugin>
232       <plugin>
233         <artifactId>maven-javadoc-plugin</artifactId>
234       </plugin>
235       <plugin>
236         <artifactId>maven-jxr-plugin</artifactId>
237       </plugin>
238       <plugin>
239         <artifactId>maven-surefire-report-plugin</artifactId>
240       </plugin>
241       <plugin>
242         <artifactId>maven-scm-plugin</artifactId>
243         <configuration>
244           <goals>install</goals>
245         </configuration>
246       </plugin>
247     </plugins>
248   </reporting>
249
250 </project>