wro4j für die Zusammenführung und Umwandlung der LESS-Dateien eingeführt
[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     <wro4j.version>1.7.2</wro4j.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     </dependency>
61
62     <!-- Tiles -->
63     <dependency>
64       <groupId>org.apache.tiles</groupId>
65       <artifactId>tiles-core</artifactId>
66       <version>${tiles.version}</version>
67       <scope>runtime</scope>
68     </dependency>
69     <dependency>
70       <groupId>org.apache.tiles</groupId>
71       <artifactId>tiles-jsp</artifactId>
72       <version>${tiles.version}</version>
73       <scope>runtime</scope>
74     </dependency>
75
76     <!-- Servlet -->
77     <dependency>
78       <groupId>javax.servlet</groupId>
79       <artifactId>javax.servlet-api</artifactId>
80       <version>${servlet-api.version}</version>
81       <scope>provided</scope>
82     </dependency>
83     <dependency>
84       <groupId>javax.servlet.jsp</groupId>
85       <artifactId>javax.servlet.jsp-api</artifactId>
86       <version>${jsp-api.version}</version>
87       <scope>provided</scope>
88     </dependency>
89     <dependency>
90       <groupId>javax.servlet</groupId>
91       <artifactId>jstl</artifactId>
92       <version>${jstl.version}</version>
93       <scope>runtime</scope>
94     </dependency>
95
96     <!-- Logging -->
97     <dependency>
98       <groupId>org.slf4j</groupId>
99       <artifactId>slf4j-api</artifactId>
100       <version>${slf4j.version}</version>
101     </dependency>
102     <dependency>
103       <groupId>org.slf4j</groupId>
104       <artifactId>slf4j-log4j12</artifactId>
105       <version>${slf4j.version}</version>
106       <scope>runtime</scope>
107     </dependency>
108
109   </dependencies>
110
111
112   <distributionManagement>
113     <repository>
114       <id>juplo.internal</id>
115       <name>Internal Release Repository</name>
116       <url>http://juplo.de/archiva/repository/internal/</url>
117     </repository>
118     <snapshotRepository>
119       <id>juplo.snapshots</id>
120       <name>Internal Snapshot Repository</name>
121       <url>http://juplo.de/archiva/repository/snapshots/</url>
122     </snapshotRepository>
123   </distributionManagement>
124
125
126   <build>
127     <finalName>branding</finalName>
128     <plugins>
129       <plugin>
130         <groupId>org.apache.maven.plugins</groupId>
131         <artifactId>maven-compiler-plugin</artifactId>
132         <configuration>
133           <source>1.6</source>
134           <target>1.6</target>
135           <encoding>utf8</encoding>
136           <showWarnings>true</showWarnings>
137         </configuration>
138       </plugin>
139       <plugin>
140         <groupId>ro.isdc.wro4j</groupId>
141         <artifactId>wro4j-maven-plugin</artifactId>
142         <version>${wro4j.version}</version>
143         <configuration>
144           <wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
145           <cssDestinationFolder>${project.build.directory}/${project.build.finalName}/css/</cssDestinationFolder>
146           <jsDestinationFolder>${project.build.directory}/${project.build.finalName}/js/</jsDestinationFolder>
147         </configuration>
148         <executions>
149           <execution>
150             <phase>prepare-package</phase>
151             <goals>
152               <goal>run</goal>
153             </goals>
154           </execution>
155         </executions>
156       </plugin>
157       <plugin>
158         <artifactId>maven-war-plugin</artifactId>
159         <configuration>
160           <warSourceExcludes>
161             WEB-INF/wro.*,
162             less/**
163           </warSourceExcludes>
164         </configuration>
165       </plugin>
166       <plugin>
167         <groupId>org.apache.maven.plugins</groupId>
168         <artifactId>maven-source-plugin</artifactId>
169         <executions>
170           <execution>
171             <id>attach-sources</id>
172             <phase>verify</phase>
173             <goals>
174               <goal>jar</goal>
175             </goals>
176           </execution>
177         </executions>
178       </plugin>
179       <plugin>
180         <groupId>org.eclipse.jetty</groupId>
181         <artifactId>jetty-maven-plugin</artifactId>
182         <configuration>
183           <webApp>
184             <overrideDescriptor>${project.basedir}/src/test/resources/jetty-web.xml</overrideDescriptor>
185           </webApp>
186         </configuration>
187         <dependencies>
188           <dependency>
189             <groupId>ro.isdc.wro4j</groupId>
190             <artifactId>wro4j-core</artifactId>
191             <version>${wro4j.version}</version>
192           </dependency>
193           <dependency>
194             <groupId>ro.isdc.wro4j</groupId>
195             <artifactId>wro4j-extensions</artifactId>
196             <version>${wro4j.version}</version>
197             <exclusions>
198               <exclusion>
199                 <groupId>javax.servlet</groupId>
200                 <artifactId>servlet-api</artifactId>
201               </exclusion>
202               <exclusion>
203                 <groupId>org.apache.commons</groupId>
204                 <artifactId>commons-lang3</artifactId>
205               </exclusion>
206               <exclusion>
207                 <groupId>commons-io</groupId>
208                 <artifactId>commons-io</artifactId>
209               </exclusion>
210               <exclusion>
211                 <groupId>org.springframework</groupId>
212                 <artifactId>spring-web</artifactId>
213               </exclusion>
214               <exclusion>
215                 <groupId>com.google.code.gson</groupId>
216                 <artifactId>gson</artifactId>
217               </exclusion>
218               <exclusion>
219                 <groupId>com.google.javascript</groupId>
220                 <artifactId>closure-compiler</artifactId>
221               </exclusion>
222               <exclusion>
223                 <groupId>com.github.lltyk</groupId>
224                 <artifactId>dojo-shrinksafe</artifactId>
225               </exclusion>
226               <exclusion>
227                 <groupId>org.jruby</groupId>
228                 <artifactId>jruby-core</artifactId>
229               </exclusion>
230               <exclusion>
231                 <groupId>org.jruby</groupId>
232                 <artifactId>jruby-stdlib</artifactId>
233               </exclusion>
234               <exclusion>
235                 <groupId>me.n4u.sass</groupId>
236                 <artifactId>sass-gems</artifactId>
237               </exclusion>
238               <exclusion>
239                 <groupId>nz.co.edmi</groupId>
240                 <artifactId>bourbon-gem-jar</artifactId>
241               </exclusion>
242               <exclusion>
243                 <groupId>org.codehaus.gmaven.runtime</groupId>
244                 <artifactId>gmaven-runtime-1.7</artifactId>
245               </exclusion>
246               <exclusion>
247                 <groupId>org.webjars</groupId>
248                 <artifactId>jshint</artifactId>
249               </exclusion>
250               <exclusion>
251                 <groupId>org.webjars</groupId>
252                 <artifactId>emberjs</artifactId>
253               </exclusion>
254               <exclusion>
255                 <groupId>org.webjars</groupId>
256                 <artifactId>handlebars</artifactId>
257               </exclusion>
258               <exclusion>
259                 <groupId>org.webjars</groupId>
260                 <artifactId>coffee-script</artifactId>
261               </exclusion>
262               <exclusion>
263                 <groupId>org.webjars</groupId>
264                 <artifactId>jslint</artifactId>
265               </exclusion>
266               <exclusion>
267                 <groupId>org.webjars</groupId>
268                 <artifactId>json2</artifactId>
269               </exclusion>
270               <exclusion>
271                 <groupId>org.webjars</groupId>
272                 <artifactId>jquery</artifactId>
273               </exclusion>
274             </exclusions>
275           </dependency>
276         </dependencies>
277       </plugin>
278       <plugin>
279         <groupId>org.codehaus.mojo</groupId>
280         <artifactId>tomcat-maven-plugin</artifactId>
281         <version>1.1</version>
282         <configuration>
283           <path>/</path>
284           <uriEncoding>UTF-8</uriEncoding>
285         </configuration>
286       </plugin>
287       <plugin>
288         <groupId>com.google.appengine</groupId>
289         <artifactId>appengine-maven-plugin</artifactId>
290         <version>1.8.2</version>
291       </plugin>
292     </plugins>
293   </build>
294
295
296   <reporting>
297     <plugins>
298       <plugin>
299         <artifactId>maven-changes-plugin</artifactId>
300       </plugin>
301       <plugin>
302         <artifactId>maven-javadoc-plugin</artifactId>
303       </plugin>
304       <plugin>
305         <artifactId>maven-jxr-plugin</artifactId>
306       </plugin>
307       <plugin>
308         <artifactId>maven-surefire-report-plugin</artifactId>
309       </plugin>
310       <plugin>
311         <artifactId>maven-scm-plugin</artifactId>
312         <configuration>
313           <goals>install</goals>
314         </configuration>
315       </plugin>
316     </plugins>
317   </reporting>
318
319 </project>