WIP
[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>website</artifactId>
9   <name>Juplo - Website</name>
10   <description>WAR, that deliveres one ore more statically defined websites with thymeleaf-power layout-sugar</description>
11   <version>1.0-SNAPSHOT</version>
12   <packaging>war</packaging>
13   <url>http://www.juplo.de/website</url>
14
15
16   <prerequisites>
17     <maven>2.0.6</maven>
18   </prerequisites>
19
20
21   <scm>
22     <connection>scm:git:http://juplo.de/git/website</connection>
23     <developerConnection>scm:git:ssh://juplo.de:/var/lib/git/juplo/website</developerConnection>
24     <url>http://juplo.de/gitweb/?p=website;a=summary</url>
25   </scm>
26
27
28   <developers>
29     <developer>
30       <id>kai</id>
31       <name>Kai Moritz</name>
32       <email>kai@juplo.de</email>
33     </developer>
34   </developers>
35
36
37   <properties>
38
39     <!-- Zeichensatz -->
40     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41
42     <!-- Verwendete Versionen -->
43     <jsp-api.version>2.2.1</jsp-api.version>
44     <jstl.version>1.2</jstl.version>
45     <juplo-dialect.version>1.0.0</juplo-dialect.version>
46     <servlet-api.version>3.0.1</servlet-api.version>
47     <slf4j.version>1.6.1</slf4j.version>
48     <springframework.version>4.0.6.RELEASE</springframework.version>
49     <thymeleaf.version>3.0.3.RELEASE</thymeleaf.version>
50     <thymeleaf-layout-dialect.version>2.2.0</thymeleaf-layout-dialect.version>
51     <thymeleaf-extras-conditionalcomments.version>2.1.1.RELEASE</thymeleaf-extras-conditionalcomments.version>
52     <thymeproxy.version>1.0.0</thymeproxy.version>
53
54   </properties>
55
56
57   <dependencies>
58
59     <!-- Spring -->
60     <dependency>
61       <groupId>org.springframework</groupId>
62       <artifactId>spring-webmvc</artifactId>
63       <version>${springframework.version}</version>
64       <exclusions>
65         <exclusion>
66             <groupId>commons-logging</groupId>
67             <artifactId>commons-logging</artifactId>
68         </exclusion>
69       </exclusions>
70     </dependency>
71
72     <!-- Thymeleaf -->
73     <dependency>
74       <groupId>org.thymeleaf</groupId>
75       <artifactId>thymeleaf</artifactId>
76       <version>${thymeleaf.version}</version>
77       <scope>runtime</scope>
78     </dependency>
79     <dependency>
80       <groupId>org.thymeleaf</groupId>
81       <artifactId>thymeleaf-spring4</artifactId>
82       <version>${thymeleaf.version}</version>
83       <scope>runtime</scope>
84     </dependency>
85     <dependency>
86       <groupId>nz.net.ultraq.thymeleaf</groupId>
87       <artifactId>thymeleaf-layout-dialect</artifactId>
88       <version>${thymeleaf-layout-dialect.version}</version>
89       <scope>runtime</scope>
90     </dependency>
91     <dependency>
92       <groupId>org.thymeleaf.extras</groupId>
93       <artifactId>thymeleaf-extras-conditionalcomments</artifactId>
94       <version>${thymeleaf-extras-conditionalcomments.version}</version>
95       <scope>runtime</scope>
96     </dependency>
97     <dependency>
98       <groupId>de.juplo</groupId>
99       <artifactId>thymeproxy</artifactId>
100       <version>${thymeproxy.version}</version>
101       <scope>runtime</scope>
102     </dependency>
103     <dependency>
104       <groupId>de.juplo.thymeleaf</groupId>
105       <artifactId>juplo-dialect</artifactId>
106       <version>${juplo-dialect.version}</version>
107       <scope>runtime</scope>
108     </dependency>
109
110     <!-- Servlet -->
111     <dependency>
112       <groupId>javax.servlet</groupId>
113       <artifactId>javax.servlet-api</artifactId>
114       <version>${servlet-api.version}</version>
115       <scope>provided</scope>
116     </dependency>
117     <dependency>
118       <groupId>javax.servlet.jsp</groupId>
119       <artifactId>javax.servlet.jsp-api</artifactId>
120       <version>${jsp-api.version}</version>
121       <scope>provided</scope>
122     </dependency>
123     <dependency>
124       <groupId>javax.servlet</groupId>
125       <artifactId>jstl</artifactId>
126       <version>${jstl.version}</version>
127       <scope>runtime</scope>
128     </dependency>
129
130     <!-- Logging -->
131     <dependency>
132       <groupId>org.slf4j</groupId>
133       <artifactId>slf4j-api</artifactId>
134       <version>${slf4j.version}</version>
135     </dependency>
136     <dependency>
137       <groupId>org.slf4j</groupId>
138       <artifactId>slf4j-log4j12</artifactId>
139       <version>${slf4j.version}</version>
140       <scope>runtime</scope>
141     </dependency>
142     <dependency>
143       <groupId>org.slf4j</groupId>
144       <artifactId>jcl-over-slf4j</artifactId>
145       <version>${slf4j.version}</version>
146       <scope>runtime</scope>
147     </dependency>
148
149   </dependencies>
150
151
152   <distributionManagement>
153     <repository>
154       <id>juplo.internal</id>
155       <name>Internal Release Repository</name>
156       <url>http://juplo.de/archiva/repository/internal/</url>
157     </repository>
158     <snapshotRepository>
159       <id>juplo.snapshots</id>
160       <name>Internal Snapshot Repository</name>
161       <url>http://juplo.de/archiva/repository/snapshots/</url>
162     </snapshotRepository>
163   </distributionManagement>
164
165
166   <build>
167     <finalName>website</finalName>
168     <plugins>
169       <plugin>
170         <groupId>org.apache.maven.plugins</groupId>
171         <artifactId>maven-compiler-plugin</artifactId>
172         <configuration>
173           <source>1.8</source>
174           <target>1.8</target>
175           <encoding>utf8</encoding>
176           <showWarnings>true</showWarnings>
177         </configuration>
178       </plugin>
179       <plugin>
180         <artifactId>maven-war-plugin</artifactId>
181         <configuration>
182           <webResources>
183             <resource>
184               <directory>src/main/frontend/dist</directory>
185             </resource>
186           </webResources>
187         </configuration>
188       </plugin>
189       <plugin>
190         <groupId>org.apache.maven.plugins</groupId>
191         <artifactId>maven-source-plugin</artifactId>
192         <executions>
193           <execution>
194             <id>attach-sources</id>
195             <phase>verify</phase>
196             <goals>
197               <goal>jar</goal>
198             </goals>
199           </execution>
200         </executions>
201       </plugin>
202       <plugin>
203         <groupId>org.eclipse.jetty</groupId>
204         <artifactId>jetty-maven-plugin</artifactId>
205         <configuration>
206           <webApp>
207             <resourceBases>
208               <resourceBase>src/main/frontend/dist</resourceBase>
209               <resourceBase>src/main/webapp</resourceBase>
210             </resourceBases>
211           </webApp>
212           <useTestScope>true</useTestScope>
213         </configuration>
214       </plugin>
215       <plugin>
216         <groupId>org.codehaus.mojo</groupId>
217         <artifactId>tomcat-maven-plugin</artifactId>
218         <version>1.1</version>
219         <configuration>
220           <path>/</path>
221           <uriEncoding>UTF-8</uriEncoding>
222         </configuration>
223       </plugin>
224       <plugin>
225         <groupId>com.google.appengine</groupId>
226         <artifactId>appengine-maven-plugin</artifactId>
227         <version>1.8.2</version>
228       </plugin>
229     </plugins>
230   </build>
231
232
233   <reporting>
234     <plugins>
235       <plugin>
236         <artifactId>maven-changes-plugin</artifactId>
237       </plugin>
238       <plugin>
239         <artifactId>maven-javadoc-plugin</artifactId>
240       </plugin>
241       <plugin>
242         <artifactId>maven-jxr-plugin</artifactId>
243       </plugin>
244       <plugin>
245         <artifactId>maven-surefire-report-plugin</artifactId>
246       </plugin>
247       <plugin>
248         <artifactId>maven-scm-plugin</artifactId>
249         <configuration>
250           <goals>install</goals>
251         </configuration>
252       </plugin>
253     </plugins>
254   </reporting>
255
256 </project>