Commit fd37992c862c24d6f0d13c4e053ef8e23fee5aa9

Authored by Paulo Graça
1 parent 4c94a28895

PG: Optimize maven dependencies

Showing 2 changed files with 15 additions and 54 deletions   Show diff stats
@@ -0,0 +1,7 @@ @@ -0,0 +1,7 @@
  1 +/bin/
  2 +/target/
  3 +
  4 +# Eclipse files
  5 +.classpath
  6 +.project
  7 +.settings/
@@ -17,49 +17,23 @@ @@ -17,49 +17,23 @@
17 </repositories> 17 </repositories>
18 18
19 <properties> 19 <properties>
20 - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>  
21 - <java.version>1.8</java.version> 20 + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22 21
23 <restlet-version>2.3.5</restlet-version> 22 <restlet-version>2.3.5</restlet-version>
24 - <jersey.version>2.22.1</jersey.version> 23 + <jersey.version>2.22.2</jersey.version>
25 <jaxb2-basics.version>0.9.5</jaxb2-basics.version> 24 <jaxb2-basics.version>0.9.5</jaxb2-basics.version>
26 <log4j.version>2.4</log4j.version> 25 <log4j.version>2.4</log4j.version>
27 <junit.version>4.12</junit.version> 26 <junit.version>4.12</junit.version>
28 </properties> 27 </properties>
29 28
30 <dependencies> 29 <dependencies>
31 - <!-- Restlet -->  
32 - <dependency>  
33 - <groupId>org.restlet.jse</groupId>  
34 - <artifactId>org.restlet</artifactId>  
35 - <version>${restlet-version}</version>  
36 - </dependency>  
37 - <dependency>  
38 - <groupId>org.restlet.jse</groupId>  
39 - <artifactId>org.restlet.ext.jackson</artifactId>  
40 - <version>${restlet-version}</version>  
41 - </dependency>  
42 <!-- Jersey Client --> 30 <!-- Jersey Client -->
43 <dependency> 31 <dependency>
44 - <groupId>org.glassfish.jersey.core</groupId>  
45 - <artifactId>jersey-client</artifactId>  
46 - <version>${jersey.version}</version>  
47 - </dependency>  
48 - <dependency>  
49 <groupId>org.glassfish.jersey.containers</groupId> 32 <groupId>org.glassfish.jersey.containers</groupId>
50 <artifactId>jersey-container-servlet</artifactId> 33 <artifactId>jersey-container-servlet</artifactId>
51 <version>${jersey.version}</version> 34 <version>${jersey.version}</version>
52 - </dependency>  
53 - <dependency>  
54 - <groupId>org.glassfish.jersey.media</groupId>  
55 - <artifactId>jersey-media-json-jackson</artifactId>  
56 - <version>${jersey.version}</version>  
57 - </dependency>  
58 - <dependency>  
59 - <groupId>org.glassfish.jersey.media</groupId>  
60 - <artifactId>jersey-media-jaxb</artifactId>  
61 - <version>${jersey.version}</version>  
62 - </dependency> 35 + </dependency>
  36 +
63 <!-- JAXB2 Commons --> 37 <!-- JAXB2 Commons -->
64 <dependency> 38 <dependency>
65 <groupId>org.jvnet.jaxb2_commons</groupId> 39 <groupId>org.jvnet.jaxb2_commons</groupId>
@@ -72,13 +46,6 @@ @@ -72,13 +46,6 @@
72 <artifactId>log4j-core</artifactId> 46 <artifactId>log4j-core</artifactId>
73 <version>${log4j.version}</version> 47 <version>${log4j.version}</version>
74 </dependency> 48 </dependency>
75 - <!-- JUnit -->  
76 - <dependency>  
77 - <groupId>junit</groupId>  
78 - <artifactId>junit</artifactId>  
79 - <version>${junit.version}</version>  
80 - <scope>test</scope>  
81 - </dependency>  
82 </dependencies> 49 </dependencies>
83 50
84 <build> 51 <build>
@@ -144,8 +111,8 @@ @@ -144,8 +111,8 @@
144 <version>3.3</version> 111 <version>3.3</version>
145 <inherited>true</inherited> 112 <inherited>true</inherited>
146 <configuration> 113 <configuration>
147 - <source>${java.version}</source>  
148 - <target>${java.version}</target> 114 + <source/>
  115 + <target/>
149 </configuration> 116 </configuration>
150 </plugin> 117 </plugin>
151 <plugin> 118 <plugin>
@@ -155,22 +122,9 @@ @@ -155,22 +122,9 @@
155 <configuration> 122 <configuration>
156 <skipTests>true</skipTests> 123 <skipTests>true</skipTests>
157 </configuration> 124 </configuration>
158 - </plugin> 125 + </plugin>
159 </plugins> 126 </plugins>
160 -<resources>  
161 - <resource>  
162 - <directory>${project.build.directory}/generated-sources</directory>  
163 - <includes>  
164 - <include>**/*.java</include>  
165 - </includes>  
166 - </resource>  
167 - <resource>  
168 - <directory>src/main/java</directory>  
169 - <includes>  
170 - <include>**/*.java</include>  
171 - </includes>  
172 - </resource>  
173 -</resources> 127 +
174 </build> 128 </build>
175 </project> 129 </project>
176 130