|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
2
|
+<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">
|
|
|
3
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
4
|
+
|
|
|
5
|
+ <groupId>org.springframework</groupId>
|
|
|
6
|
+ <artifactId>gs-rest-service</artifactId>
|
|
|
7
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
8
|
+
|
|
|
9
|
+ <dependencies>
|
|
|
10
|
+ <dependency>
|
|
|
11
|
+ <groupId>org.springframework</groupId>
|
|
|
12
|
+ <artifactId>spring-webmvc</artifactId>
|
|
|
13
|
+ <version>3.2.2.RELEASE</version>
|
|
|
14
|
+ </dependency>
|
|
|
15
|
+ <dependency>
|
|
|
16
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
17
|
+ <artifactId>jackson-core</artifactId>
|
|
|
18
|
+ <version>2.1.4</version>
|
|
|
19
|
+ </dependency>
|
|
|
20
|
+ <dependency>
|
|
|
21
|
+ <groupId>org.apache.tomcat</groupId>
|
|
|
22
|
+ <artifactId>tomcat-catalina</artifactId>
|
|
|
23
|
+ <version>7.0.39</version>
|
|
|
24
|
+ </dependency>
|
|
|
25
|
+ <dependency>
|
|
|
26
|
+ <groupId>org.apache.tomcat.embed</groupId>
|
|
|
27
|
+ <artifactId>tomcat-embed-core</artifactId>
|
|
|
28
|
+ <version>7.0.39</version>
|
|
|
29
|
+ </dependency>
|
|
|
30
|
+ <dependency>
|
|
|
31
|
+ <groupId>org.apache.tomcat</groupId>
|
|
|
32
|
+ <artifactId>tomcat-jasper</artifactId>
|
|
|
33
|
+ <version>7.0.39</version>
|
|
|
34
|
+ </dependency>
|
|
|
35
|
+ </dependencies>
|
|
|
36
|
+
|
|
|
37
|
+ <properties>
|
|
|
38
|
+ <!-- use UTF-8 for everything -->
|
|
|
39
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
40
|
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
41
|
+ </properties>
|
|
|
42
|
+
|
|
|
43
|
+ <build>
|
|
|
44
|
+ <plugins>
|
|
|
45
|
+ <plugin>
|
|
|
46
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
47
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
48
|
+ <version>2.3.2</version>
|
|
|
49
|
+ <!-- compile for Java 1.6 -->
|
|
|
50
|
+ <configuration>
|
|
|
51
|
+ <source>1.6</source>
|
|
|
52
|
+ <target>1.6</target>
|
|
|
53
|
+ <encoding>UTF-8</encoding>
|
|
|
54
|
+ </configuration>
|
|
|
55
|
+ </plugin>
|
|
|
56
|
+ <plugin>
|
|
|
57
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
58
|
+ <artifactId>maven-shade-plugin</artifactId>
|
|
|
59
|
+ <version>1.6</version>
|
|
|
60
|
+ <configuration>
|
|
|
61
|
+ <createDependencyReducedPom>true</createDependencyReducedPom>
|
|
|
62
|
+ <filters>
|
|
|
63
|
+ <filter>
|
|
|
64
|
+ <artifact>*:*</artifact>
|
|
|
65
|
+ <excludes>
|
|
|
66
|
+ <exclude>META-INF/*.SF</exclude>
|
|
|
67
|
+ <exclude>META-INF/*.DSA</exclude>
|
|
|
68
|
+ <exclude>META-INF/*.RSA</exclude>
|
|
|
69
|
+ </excludes>
|
|
|
70
|
+ </filter>
|
|
|
71
|
+ </filters>
|
|
|
72
|
+ </configuration>
|
|
|
73
|
+ <executions>
|
|
|
74
|
+ <execution>
|
|
|
75
|
+ <phase>package</phase>
|
|
|
76
|
+ <goals>
|
|
|
77
|
+ <goal>shade</goal>
|
|
|
78
|
+ </goals>
|
|
|
79
|
+ <configuration>
|
|
|
80
|
+ <transformers>
|
|
|
81
|
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
|
82
|
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
|
83
|
+ <mainClass>hello.Main</mainClass>
|
|
|
84
|
+ </transformer>
|
|
|
85
|
+ </transformers>
|
|
|
86
|
+ </configuration>
|
|
|
87
|
+ </execution>
|
|
|
88
|
+ </executions>
|
|
|
89
|
+ </plugin>
|
|
|
90
|
+ </plugins>
|
|
|
91
|
+ </build>
|
|
|
92
|
+</project>
|