Projekt-Seite erstellt: Velocity-Template - Extrainfo aus site.xml eingelesen
[maven-thymeleaf-skin] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2
3   <modelVersion>4.0.0</modelVersion>
4
5   <groupId>de.juplo.jackson</groupId>
6   <artifactId>simple-mapper</artifactId>
7   <name>Simple Mapper 4 JSON</name>
8   <version>1.0-SNAPSHOT</version>
9   <url>http://juplo.de/simple-mapper</url>
10
11   <properties>
12
13     <!-- settings for Spring-Boot -->
14     <java.version>1.8</java.version>
15
16     <!-- other usefull settings -->
17     <encoding>UTF-8</encoding>
18     <maven.compiler.source>1.8</maven.compiler.source>
19     <maven.compiler.target>1.8</maven.compiler.target>
20     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21
22   </properties>
23
24   <dependencies>
25
26     <dependency>
27       <groupId>com.fasterxml.jackson.core</groupId>
28       <artifactId>jackson-annotations</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>com.fasterxml.jackson.core</groupId>
32       <artifactId>jackson-core</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>com.fasterxml.jackson.core</groupId>
36       <artifactId>jackson-databind</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.slf4j</groupId>
40       <artifactId>slf4j-api</artifactId>
41     </dependency>
42
43     <!-- Needed for the Spring-Annotations -->
44     <dependency>
45       <groupId>org.springframework</groupId>
46       <artifactId>spring-webmvc</artifactId>
47       <optional>true</optional>
48     </dependency>
49
50     <!-- Needed for the Spring-Boot autoconfiguration -->
51     <dependency>
52       <groupId>org.springframework.boot</groupId>
53       <artifactId>spring-boot-autoconfigure</artifactId>
54       <optional>true</optional>
55     </dependency>
56
57
58     <!-- Testing -->
59     <dependency>
60       <groupId>junit</groupId>
61       <artifactId>junit</artifactId>
62       <scope>test</scope>
63     </dependency>
64     <dependency>
65       <groupId>org.springframework.boot</groupId>
66       <artifactId>spring-boot-configuration-processor</artifactId>
67       <scope>test</scope>
68     </dependency>
69     <dependency>
70       <groupId>ch.qos.logback</groupId>
71       <artifactId>logback-classic</artifactId>
72       <scope>test</scope>
73     </dependency>
74     <dependency>
75       <groupId>org.mockito</groupId>
76       <artifactId>mockito-core</artifactId>
77       <scope>test</scope>
78     </dependency>
79     <dependency>
80       <groupId>org.jmockit</groupId>
81       <artifactId>jmockit</artifactId>
82       <version>1.9</version>
83       <scope>test</scope>
84     </dependency>
85
86   </dependencies>
87
88   <dependencyManagement>
89      <dependencies>
90       <dependency>
91         <!-- Import dependency management from Spring Boot -->
92         <groupId>org.springframework.boot</groupId>
93         <artifactId>spring-boot-dependencies</artifactId>
94         <version>1.3.5.RELEASE</version>
95         <type>pom</type>
96         <scope>import</scope>
97       </dependency>
98     </dependencies>
99   </dependencyManagement>
100
101   <build>
102     <plugins>
103       <plugin>
104         <groupId>org.apache.maven.plugins</groupId>
105         <artifactId>maven-compiler-plugin</artifactId>
106         <version>3.3</version>
107         <configuration>
108           <encoding>utf8</encoding>
109           <showWarnings>true</showWarnings>
110         </configuration>
111       </plugin>
112       <plugin>
113         <groupId>org.apache.maven.plugins</groupId>
114         <artifactId>maven-dependency-plugin</artifactId>
115         <version>2.10</version>
116         <executions>
117           <execution>
118             <id>install</id>
119             <phase>install</phase>
120             <goals>
121               <goal>sources</goal>
122             </goals>
123           </execution>
124         </executions>
125       </plugin>
126       <plugin>
127         <groupId>org.apache.maven.plugins</groupId>
128         <artifactId>maven-source-plugin</artifactId>
129         <version>2.1.2</version><!-- Should be same version as in oss-parent-7 -->
130         <executions>
131           <execution>
132             <id>attach-sources</id>
133             <phase>verify</phase>
134             <goals>
135               <goal>jar</goal>
136             </goals>
137           </execution>
138         </executions>
139       </plugin>
140       <plugin>
141         <groupId>org.apache.maven.plugins</groupId>
142         <artifactId>maven-resources-plugin</artifactId>
143         <version>2.7</version>
144         <dependencies>
145           <dependency>
146             <groupId>org.apache.maven.shared</groupId>
147             <artifactId>maven-filtering</artifactId>
148             <version>1.3</version>
149           </dependency>
150         </dependencies>
151         <executions>
152           <execution>
153             <id>copy-resources</id>
154             <phase>pre-site</phase>
155             <goals>
156               <goal>copy-resources</goal>
157             </goals>
158             <configuration>
159               <outputDirectory>${project.build.directory}/filtered-site</outputDirectory>
160               <resources>
161                 <resource>
162                   <directory>src/site</directory>
163                   <filtering>true</filtering>
164                 </resource>
165               </resources>
166             </configuration>
167           </execution>
168         </executions>
169       </plugin>
170     </plugins>
171     <pluginManagement>
172       <plugins>
173         <plugin>
174           <artifactId>maven-site-plugin</artifactId>
175           <version>3.5.1</version>
176           <configuration>
177             <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
178             <templateFile>src/site/template.vm</templateFile>
179           </configuration>
180         </plugin>
181       </plugins>
182     </pluginManagement>
183   </build>
184
185   <reporting>
186     <plugins>
187       <plugin>
188         <groupId>org.apache.maven.plugins</groupId>
189         <artifactId>maven-changes-plugin</artifactId>
190         <version>2.11</version>
191       </plugin>
192       <plugin>
193         <groupId>org.apache.maven.plugins</groupId>
194         <artifactId>maven-javadoc-plugin</artifactId>
195         <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
196         <configuration>
197           <additionalparam>-Xdoclint:none</additionalparam>
198         </configuration>
199       </plugin>
200       <plugin>
201         <groupId>org.apache.maven.plugins</groupId>
202         <artifactId>maven-jxr-plugin</artifactId>
203         <version>2.5</version>
204       </plugin>
205       <plugin>
206         <groupId>org.apache.maven.plugins</groupId>
207         <artifactId>maven-pmd-plugin</artifactId>
208         <version>3.4</version>
209         <configuration>
210           <linkXref>true</linkXref>
211           <targetJdk>1.5</targetJdk>
212         </configuration>
213       </plugin>
214     </plugins>
215   </reporting>
216
217 </project>