|
63 | 63 | </distributionManagement> |
64 | 64 | --> |
65 | 65 | <properties> |
| 66 | + <java.version>11</java.version> |
66 | 67 | <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> |
70 | 69 | </properties> |
71 | 70 |
|
| 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 | + |
72 | 90 | <profiles> |
73 | 91 | <profile> |
74 | 92 | <id>javadoc</id> |
|
80 | 98 | <plugin> |
81 | 99 | <groupId>org.apache.maven.plugins</groupId> |
82 | 100 | <artifactId>maven-javadoc-plugin</artifactId> |
83 | | - <version>2.10.3</version> |
| 101 | + <version>3.8.0</version> |
84 | 102 | <configuration> |
85 | 103 | <additionalparam>-Xdoclint:none</additionalparam> |
86 | 104 | </configuration> |
|
107 | 125 | <plugin> |
108 | 126 | <groupId>org.apache.maven.plugins</groupId> |
109 | 127 | <artifactId>maven-javadoc-plugin</artifactId> |
110 | | - <version>2.10.3</version> |
| 128 | + <version>3.8.0</version> |
111 | 129 | <configuration> |
112 | 130 | <additionalparam>-Xdoclint:none -docencoding "UTF-8"</additionalparam> |
113 | 131 | </configuration> |
|
124 | 142 | <plugin> |
125 | 143 | <groupId>org.apache.maven.plugins</groupId> |
126 | 144 | <artifactId>maven-source-plugin</artifactId> |
127 | | - <version>2.2.1</version> |
| 145 | + <version>3.8.0</version> |
128 | 146 | <executions> |
129 | 147 | <execution> |
130 | 148 | <id>attach-sources</id> |
|
211 | 229 | </profile> |
212 | 230 | </profiles> |
213 | 231 |
|
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> |
232 | 232 | <build> |
233 | 233 | <plugins> |
234 | 234 | <plugin> |
235 | 235 | <groupId>org.apache.maven.plugins</groupId> |
236 | 236 | <artifactId>maven-compiler-plugin</artifactId> |
237 | | - <version>3.1</version> |
| 237 | + <version>3.8.0</version> |
238 | 238 | <configuration> |
239 | | - <source>1.8</source> |
240 | | - <target>1.8</target> |
241 | 239 | <encoding>${project.build.sourceEncoding}</encoding> |
| 240 | + <compilerArgs>-Xlint:deprecation</compilerArgs> |
242 | 241 | </configuration> |
243 | 242 | </plugin> |
244 | 243 | <plugin> |
245 | 244 | <groupId>org.apache.maven.plugins</groupId> |
246 | 245 | <artifactId>maven-resources-plugin</artifactId> |
247 | | - <version>2.4.3</version> |
| 246 | + <version>3.0.2</version> |
248 | 247 | <configuration> |
249 | 248 | <encoding>${project.build.sourceEncoding}</encoding> |
250 | 249 | </configuration> |
|
0 commit comments