Projekt-Seite erstellt: Velocity-Template - Erster Anlauf (unvollständig)
[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         <executions>
145           <execution>
146             <id>copy-resources</id>
147             <phase>pre-site</phase>
148             <goals>
149               <goal>copy-resources</goal>
150             </goals>
151             <configuration>
152               <outputDirectory>${project.build.directory}/filtered-site</outputDirectory>
153               <resources>
154                 <resource>
155                   <directory>src/site</directory>
156                   <filtering>true</filtering>
157                 </resource>
158               </resources>
159             </configuration>
160           </execution>
161         </executions>
162       </plugin>
163     </plugins>
164     <pluginManagement>
165       <plugins>
166         <plugin>
167           <artifactId>maven-site-plugin</artifactId>
168           <version>3.5.1</version>
169           <configuration>
170             <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
171             <templateFile>src/site/template.vm</templateFile>
172           </configuration>
173         </plugin>
174       </plugins>
175     </pluginManagement>
176   </build>
177
178   <reporting>
179     <plugins>
180       <plugin>
181         <groupId>org.apache.maven.plugins</groupId>
182         <artifactId>maven-changes-plugin</artifactId>
183         <version>2.11</version>
184       </plugin>
185       <plugin>
186         <groupId>org.apache.maven.plugins</groupId>
187         <artifactId>maven-javadoc-plugin</artifactId>
188         <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
189         <configuration>
190           <additionalparam>-Xdoclint:none</additionalparam>
191         </configuration>
192       </plugin>
193       <plugin>
194         <groupId>org.apache.maven.plugins</groupId>
195         <artifactId>maven-jxr-plugin</artifactId>
196         <version>2.5</version>
197       </plugin>
198       <plugin>
199         <groupId>org.apache.maven.plugins</groupId>
200         <artifactId>maven-pmd-plugin</artifactId>
201         <version>3.4</version>
202         <configuration>
203           <linkXref>true</linkXref>
204           <targetJdk>1.5</targetJdk>
205         </configuration>
206       </plugin>
207     </plugins>
208   </reporting>
209
210 </project>