Spring eingef├╝hrt, um die Tiles-Konfiguration zu vereinfachen
[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       </plugin>
150       <plugin>
151         <groupId>org.apache.maven.plugins</groupId>
152         <artifactId>maven-source-plugin</artifactId>
153         <executions>
154           <execution>
155             <id>attach-sources</id>
156             <phase>verify</phase>
157             <goals>
158               <goal>jar</goal>
159             </goals>
160           </execution>
161         </executions>
162       </plugin>
163       <plugin>
164         <groupId>org.eclipse.jetty</groupId>
165         <artifactId>jetty-maven-plugin</artifactId>
166       </plugin>
167       <plugin>
168         <groupId>org.codehaus.mojo</groupId>
169         <artifactId>tomcat-maven-plugin</artifactId>
170         <version>1.1</version>
171         <configuration>
172           <path>/</path>
173           <uriEncoding>UTF-8</uriEncoding>
174         </configuration>
175       </plugin>
176     </plugins>
177   </build>
178
179
180   <reporting>
181     <plugins>
182       <plugin>
183         <artifactId>maven-changes-plugin</artifactId>
184       </plugin>
185       <plugin>
186         <artifactId>maven-javadoc-plugin</artifactId>
187       </plugin>
188       <plugin>
189         <artifactId>maven-jxr-plugin</artifactId>
190       </plugin>
191       <plugin>
192         <artifactId>maven-surefire-report-plugin</artifactId>
193       </plugin>
194       <plugin>
195         <artifactId>maven-scm-plugin</artifactId>
196         <configuration>
197           <goals>install</goals>
198         </configuration>
199       </plugin>
200     </plugins>
201   </reporting>
202
203 </project>