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