Skip to content

Commit 0988c8e

Browse files
committed
Afinando parametros y dependencias en archivos pom.
1 parent 7a48f62 commit 0988c8e

File tree

2 files changed

+28
-29
lines changed

2 files changed

+28
-29
lines changed

commons/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<groupId>org.apache.commons</groupId>
1515
<artifactId>commons-lang3</artifactId>
1616
<version>3.18.0</version>
17-
</dependency>
17+
</dependency>
1818
<dependency>
1919
<groupId>commons-io</groupId>
2020
<artifactId>commons-io</artifactId>

pom.xml

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,30 @@
6363
</distributionManagement>
6464
-->
6565
<properties>
66+
<java.version>11</java.version>
6667
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
67-
<maven.compiler.source>1.8</maven.compiler.source>
68-
<maven.compiler.target>1.8</maven.compiler.target>
69-
<java.version>1.8</java.version>
68+
<maven.compiler.release>${java.version}</maven.compiler.release>
7069
</properties>
7170

71+
<dependencies>
72+
<dependency>
73+
<groupId>junit</groupId>
74+
<artifactId>junit</artifactId>
75+
<version>4.13.1</version>
76+
<scope>test</scope>
77+
</dependency>
78+
<dependency>
79+
<groupId>org.apache.logging.log4j</groupId>
80+
<artifactId>log4j-core</artifactId>
81+
<version>2.25.0</version>
82+
</dependency>
83+
<dependency>
84+
<groupId>org.apache.logging.log4j</groupId>
85+
<artifactId>log4j-api</artifactId>
86+
<version>2.25.0</version>
87+
</dependency>
88+
</dependencies>
89+
7290
<profiles>
7391
<profile>
7492
<id>javadoc</id>
@@ -80,7 +98,7 @@
8098
<plugin>
8199
<groupId>org.apache.maven.plugins</groupId>
82100
<artifactId>maven-javadoc-plugin</artifactId>
83-
<version>2.10.3</version>
101+
<version>3.8.0</version>
84102
<configuration>
85103
<additionalparam>-Xdoclint:none</additionalparam>
86104
</configuration>
@@ -107,7 +125,7 @@
107125
<plugin>
108126
<groupId>org.apache.maven.plugins</groupId>
109127
<artifactId>maven-javadoc-plugin</artifactId>
110-
<version>2.10.3</version>
128+
<version>3.8.0</version>
111129
<configuration>
112130
<additionalparam>-Xdoclint:none -docencoding "UTF-8"</additionalparam>
113131
</configuration>
@@ -124,7 +142,7 @@
124142
<plugin>
125143
<groupId>org.apache.maven.plugins</groupId>
126144
<artifactId>maven-source-plugin</artifactId>
127-
<version>2.2.1</version>
145+
<version>3.8.0</version>
128146
<executions>
129147
<execution>
130148
<id>attach-sources</id>
@@ -211,40 +229,21 @@
211229
</profile>
212230
</profiles>
213231

214-
<dependencies>
215-
<dependency>
216-
<groupId>junit</groupId>
217-
<artifactId>junit</artifactId>
218-
<version>4.13.1</version>
219-
<scope>test</scope>
220-
</dependency>
221-
<dependency>
222-
<groupId>org.apache.logging.log4j</groupId>
223-
<artifactId>log4j-core</artifactId>
224-
<version>2.25.0</version>
225-
</dependency>
226-
<dependency>
227-
<groupId>org.apache.logging.log4j</groupId>
228-
<artifactId>log4j-api</artifactId>
229-
<version>2.25.0</version>
230-
</dependency>
231-
</dependencies>
232232
<build>
233233
<plugins>
234234
<plugin>
235235
<groupId>org.apache.maven.plugins</groupId>
236236
<artifactId>maven-compiler-plugin</artifactId>
237-
<version>3.1</version>
237+
<version>3.8.0</version>
238238
<configuration>
239-
<source>1.8</source>
240-
<target>1.8</target>
241239
<encoding>${project.build.sourceEncoding}</encoding>
240+
<compilerArgs>-Xlint:deprecation</compilerArgs>
242241
</configuration>
243242
</plugin>
244243
<plugin>
245244
<groupId>org.apache.maven.plugins</groupId>
246245
<artifactId>maven-resources-plugin</artifactId>
247-
<version>2.4.3</version>
246+
<version>3.0.2</version>
248247
<configuration>
249248
<encoding>${project.build.sourceEncoding}</encoding>
250249
</configuration>

0 commit comments

Comments
 (0)