Projekt-Seite erstellt: Velocity-Template - Links zum Browsen eingebaut
[simple-mapper] / 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
75   </dependencies>
76
77   <dependencyManagement>
78      <dependencies>
79       <dependency>
80         <!-- Import dependency management from Spring Boot -->
81         <groupId>org.springframework.boot</groupId>
82         <artifactId>spring-boot-dependencies</artifactId>
83         <version>1.3.5.RELEASE</version>
84         <type>pom</type>
85         <scope>import</scope>
86       </dependency>
87     </dependencies>
88   </dependencyManagement>
89
90   <build>
91     <plugins>
92       <plugin>
93         <groupId>org.apache.maven.plugins</groupId>
94         <artifactId>maven-compiler-plugin</artifactId>
95         <version>3.3</version>
96         <configuration>
97           <encoding>utf8</encoding>
98           <showWarnings>true</showWarnings>
99         </configuration>
100       </plugin>
101       <plugin>
102         <groupId>org.apache.maven.plugins</groupId>
103         <artifactId>maven-dependency-plugin</artifactId>
104         <version>2.10</version>
105         <executions>
106           <execution>
107             <id>install</id>
108             <phase>install</phase>
109             <goals>
110               <goal>sources</goal>
111             </goals>
112           </execution>
113         </executions>
114       </plugin>
115       <plugin>
116         <groupId>org.apache.maven.plugins</groupId>
117         <artifactId>maven-source-plugin</artifactId>
118         <version>2.1.2</version><!-- Should be same version as in oss-parent-7 -->
119         <executions>
120           <execution>
121             <id>attach-sources</id>
122             <phase>verify</phase>
123             <goals>
124               <goal>jar</goal>
125             </goals>
126           </execution>
127         </executions>
128       </plugin>
129       <plugin>
130         <groupId>org.apache.maven.plugins</groupId>
131         <artifactId>maven-resources-plugin</artifactId>
132         <version>2.7</version>
133         <dependencies>
134           <dependency>
135             <groupId>org.apache.maven.shared</groupId>
136             <artifactId>maven-filtering</artifactId>
137             <version>1.3</version>
138           </dependency>
139         </dependencies>
140         <executions>
141           <execution>
142             <id>copy-resources</id>
143             <phase>pre-site</phase>
144             <goals>
145               <goal>copy-resources</goal>
146             </goals>
147             <configuration>
148               <outputDirectory>${project.build.directory}/filtered-site</outputDirectory>
149               <resources>
150                 <resource>
151                   <directory>src/site</directory>
152                   <filtering>true</filtering>
153                 </resource>
154               </resources>
155             </configuration>
156           </execution>
157         </executions>
158       </plugin>
159     </plugins>
160     <pluginManagement>
161       <plugins>
162         <plugin>
163           <artifactId>maven-site-plugin</artifactId>
164           <version>3.5.1</version>
165           <configuration>
166             <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
167             <templateFile>src/site/template.vm</templateFile>
168           </configuration>
169         </plugin>
170       </plugins>
171     </pluginManagement>
172   </build>
173
174   <reporting>
175     <plugins>
176       <plugin>
177         <groupId>org.apache.maven.plugins</groupId>
178         <artifactId>maven-changes-plugin</artifactId>
179         <version>2.11</version>
180       </plugin>
181       <plugin>
182         <groupId>org.apache.maven.plugins</groupId>
183         <artifactId>maven-javadoc-plugin</artifactId>
184         <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
185         <configuration>
186           <additionalparam>-Xdoclint:none</additionalparam>
187         </configuration>
188       </plugin>
189       <plugin>
190         <groupId>org.apache.maven.plugins</groupId>
191         <artifactId>maven-jxr-plugin</artifactId>
192         <version>2.5</version>
193       </plugin>
194       <plugin>
195         <groupId>org.apache.maven.plugins</groupId>
196         <artifactId>maven-pmd-plugin</artifactId>
197         <version>3.4</version>
198         <configuration>
199           <linkXref>true</linkXref>
200           <targetJdk>1.5</targetJdk>
201         </configuration>
202       </plugin>
203     </plugins>
204   </reporting>
205
206 </project>