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
.gitignore
... ... @@ -0,0 +1,7 @@
  1 +/bin/
  2 +/target/
  3 +
  4 +# Eclipse files
  5 +.classpath
  6 +.project
  7 +.settings/
... ...
pom.xml
... ... @@ -17,49 +17,23 @@
17 17 </repositories>
18 18  
19 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 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 24 <jaxb2-basics.version>0.9.5</jaxb2-basics.version>
26 25 <log4j.version>2.4</log4j.version>
27 26 <junit.version>4.12</junit.version>
28 27 </properties>
29 28  
30 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 30 <!-- Jersey Client -->
43 31 <dependency>
44   - <groupId>org.glassfish.jersey.core</groupId>
45   - <artifactId>jersey-client</artifactId>
46   - <version>${jersey.version}</version>
47   - </dependency>
48   - <dependency>
49 32 <groupId>org.glassfish.jersey.containers</groupId>
50 33 <artifactId>jersey-container-servlet</artifactId>
51 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 37 <!-- JAXB2 Commons -->
64 38 <dependency>
65 39 <groupId>org.jvnet.jaxb2_commons</groupId>
... ... @@ -72,13 +46,6 @@
72 46 <artifactId>log4j-core</artifactId>
73 47 <version>${log4j.version}</version>
74 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 49 </dependencies>
83 50  
84 51 <build>
... ... @@ -144,8 +111,8 @@
144 111 <version>3.3</version>
145 112 <inherited>true</inherited>
146 113 <configuration>
147   - <source>${java.version}</source>
148   - <target>${java.version}</target>
  114 + <source/>
  115 + <target/>
149 116 </configuration>
150 117 </plugin>
151 118 <plugin>
... ... @@ -155,22 +122,9 @@
155 122 <configuration>
156 123 <skipTests>true</skipTests>
157 124 </configuration>
158   - </plugin>
  125 + </plugin>
159 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 128 </build>
175 129 </project>
176 130  
... ...