|
153 | 153 | <artifactId>javax.el</artifactId> |
154 | 154 | <version>3.0.0</version> |
155 | 155 | </dependency> |
156 | | - <dependency> |
157 | | - <groupId>org.projectlombok</groupId> |
158 | | - <artifactId>lombok</artifactId> |
159 | | - <version>1.18.20</version> |
160 | | - <scope>provided</scope> |
161 | | - </dependency> |
| 156 | + <dependency> |
| 157 | + <groupId>org.projectlombok</groupId> |
| 158 | + <artifactId>lombok</artifactId> |
| 159 | + <version>1.18.20</version> |
| 160 | + <scope>provided</scope> |
| 161 | + </dependency> |
162 | 162 | </dependencies> |
163 | 163 |
|
164 | | - <build> |
165 | | - <plugins> |
| 164 | + <build> |
| 165 | + <plugins> |
166 | 166 | <plugin> |
167 | 167 | <groupId>org.apache.maven.plugins</groupId> |
168 | 168 | <artifactId>maven-checkstyle-plugin</artifactId> |
|
171 | 171 | <configLocation>src/main/resources/checkstyle.xml</configLocation> |
172 | 172 | </configuration> |
173 | 173 | </plugin> |
174 | | - <plugin> |
175 | | - <groupId>org.apache.maven.plugins</groupId> |
176 | | - <artifactId>maven-compiler-plugin</artifactId> |
177 | | - <version>3.1</version> |
178 | | - <configuration> |
179 | | - <source>1.8</source> |
180 | | - <target>1.8</target> |
| 174 | + <plugin> |
| 175 | + <groupId>org.apache.maven.plugins</groupId> |
| 176 | + <artifactId>maven-compiler-plugin</artifactId> |
| 177 | + <version>3.1</version> |
| 178 | + <configuration> |
| 179 | + <source>1.8</source> |
| 180 | + <target>1.8</target> |
181 | 181 | <compilerArgs> |
182 | 182 | <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg> |
183 | 183 | <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg> |
|
190 | 190 | <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg> |
191 | 191 | <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED</arg> |
192 | 192 | </compilerArgs> |
193 | | - </configuration> |
194 | | - </plugin> |
195 | | - <plugin> |
196 | | - <groupId>org.apache.maven.plugins</groupId> |
197 | | - <artifactId>maven-assembly-plugin</artifactId> |
198 | | - <version>2.2-beta-5</version> |
199 | | - <configuration> |
200 | | - <archive> |
201 | | - <manifest> |
202 | | - <!--mainClass>com.cronutils.cli.CronUtilsCLI</mainClass--> |
203 | | - </manifest> |
204 | | - </archive> |
205 | | - <descriptorRefs> |
206 | | - <descriptorRef>jar-with-dependencies</descriptorRef> |
207 | | - </descriptorRefs> |
208 | | - </configuration> |
209 | | - </plugin> |
210 | | - <plugin> |
211 | | - <groupId>org.apache.maven.plugins</groupId> |
212 | | - <artifactId>maven-source-plugin</artifactId> |
213 | | - <version>2.2.1</version> |
214 | | - <executions> |
215 | | - <execution> |
216 | | - <id>attach-sources</id> |
217 | | - <goals> |
218 | | - <goal>jar</goal> |
219 | | - </goals> |
220 | | - </execution> |
221 | | - </executions> |
222 | | - </plugin> |
223 | | - <plugin> |
224 | | - <groupId>org.apache.maven.plugins</groupId> |
225 | | - <artifactId>maven-clean-plugin</artifactId> |
226 | | - <version>2.5</version> |
227 | | - </plugin> |
228 | | - <plugin> |
229 | | - <groupId>org.apache.maven.plugins</groupId> |
230 | | - <artifactId>maven-install-plugin</artifactId> |
231 | | - <version>2.5.1</version> |
232 | | - </plugin> |
233 | | - <plugin> |
234 | | - <groupId>org.apache.maven.plugins</groupId> |
235 | | - <artifactId>maven-jar-plugin</artifactId> |
236 | | - <version>2.4</version> |
237 | | - <configuration> |
238 | | - <archive> |
239 | | - <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
240 | | - <manifest> |
241 | | - <addClasspath>true</addClasspath> |
242 | | - <!--mainClass>com.cronutils.cli.CronUtilsCLI</mainClass--> |
243 | | - </manifest> |
244 | | - </archive> |
245 | | - </configuration> |
246 | | - </plugin> |
247 | | - <plugin> |
248 | | - <groupId>org.apache.maven.plugins</groupId> |
249 | | - <artifactId>maven-resources-plugin</artifactId> |
250 | | - <version>2.6</version> |
251 | | - </plugin> |
252 | | - <plugin> |
253 | | - <groupId>org.apache.maven.plugins</groupId> |
254 | | - <artifactId>maven-javadoc-plugin</artifactId> |
255 | | - <version>2.9.1</version> |
256 | | - <executions> |
257 | | - <execution> |
258 | | - <id>attach-javadocs</id> |
259 | | - <goals> |
260 | | - <goal>jar</goal> |
261 | | - </goals> |
262 | | - </execution> |
263 | | - </executions> |
264 | | - </plugin> |
265 | | - <!-- <plugin> |
266 | | - <groupId>org.codehaus.mojo</groupId> |
267 | | - <artifactId>sonar-maven-plugin</artifactId> |
268 | | - <version>1.0</version> |
269 | | - </plugin> --> |
270 | | - <plugin> |
271 | | - <groupId>org.apache.maven.plugins</groupId> |
272 | | - <artifactId>maven-surefire-plugin</artifactId> |
273 | | - <version>3.0.0-M5</version> |
| 193 | + </configuration> |
| 194 | + </plugin> |
| 195 | + <plugin> |
| 196 | + <groupId>org.apache.maven.plugins</groupId> |
| 197 | + <artifactId>maven-assembly-plugin</artifactId> |
| 198 | + <version>2.2-beta-5</version> |
| 199 | + <configuration> |
| 200 | + <archive> |
| 201 | + <manifest> |
| 202 | + <!--mainClass>com.cronutils.cli.CronUtilsCLI</mainClass--> |
| 203 | + </manifest> |
| 204 | + </archive> |
| 205 | + <descriptorRefs> |
| 206 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 207 | + </descriptorRefs> |
| 208 | + </configuration> |
| 209 | + </plugin> |
| 210 | + <plugin> |
| 211 | + <groupId>org.apache.maven.plugins</groupId> |
| 212 | + <artifactId>maven-source-plugin</artifactId> |
| 213 | + <version>2.2.1</version> |
| 214 | + <executions> |
| 215 | + <execution> |
| 216 | + <id>attach-sources</id> |
| 217 | + <goals> |
| 218 | + <goal>jar</goal> |
| 219 | + </goals> |
| 220 | + </execution> |
| 221 | + </executions> |
| 222 | + </plugin> |
| 223 | + <plugin> |
| 224 | + <groupId>org.apache.maven.plugins</groupId> |
| 225 | + <artifactId>maven-clean-plugin</artifactId> |
| 226 | + <version>2.5</version> |
| 227 | + </plugin> |
| 228 | + <plugin> |
| 229 | + <groupId>org.apache.maven.plugins</groupId> |
| 230 | + <artifactId>maven-install-plugin</artifactId> |
| 231 | + <version>2.5.1</version> |
| 232 | + </plugin> |
| 233 | + <plugin> |
| 234 | + <groupId>org.apache.maven.plugins</groupId> |
| 235 | + <artifactId>maven-jar-plugin</artifactId> |
| 236 | + <version>2.4</version> |
| 237 | + <configuration> |
| 238 | + <archive> |
| 239 | + <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 240 | + <manifest> |
| 241 | + <addClasspath>true</addClasspath> |
| 242 | + <!--mainClass>com.cronutils.cli.CronUtilsCLI</mainClass--> |
| 243 | + </manifest> |
| 244 | + </archive> |
| 245 | + </configuration> |
| 246 | + </plugin> |
| 247 | + <plugin> |
| 248 | + <groupId>org.apache.maven.plugins</groupId> |
| 249 | + <artifactId>maven-resources-plugin</artifactId> |
| 250 | + <version>2.6</version> |
| 251 | + </plugin> |
| 252 | + <plugin> |
| 253 | + <groupId>org.apache.maven.plugins</groupId> |
| 254 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 255 | + <version>2.9.1</version> |
| 256 | + <executions> |
| 257 | + <execution> |
| 258 | + <id>attach-javadocs</id> |
| 259 | + <goals> |
| 260 | + <goal>jar</goal> |
| 261 | + </goals> |
| 262 | + </execution> |
| 263 | + </executions> |
| 264 | + </plugin> |
| 265 | + <!-- <plugin> |
| 266 | + <groupId>org.codehaus.mojo</groupId> |
| 267 | + <artifactId>sonar-maven-plugin</artifactId> |
| 268 | + <version>1.0</version> |
| 269 | + </plugin> --> |
| 270 | + <plugin> |
| 271 | + <groupId>org.apache.maven.plugins</groupId> |
| 272 | + <artifactId>maven-surefire-plugin</artifactId> |
| 273 | + <version>3.0.0-M5</version> |
274 | 274 | <configuration> |
275 | 275 | <argLine>${argLine} --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED</argLine> |
276 | 276 | </configuration> |
277 | | - </plugin> |
278 | | - <plugin> |
279 | | - <groupId>org.apache.maven.plugins</groupId> |
280 | | - <artifactId>maven-deploy-plugin</artifactId> |
281 | | - <version>3.0.0-M1</version> |
282 | | - </plugin> |
283 | | - <plugin> |
284 | | - <groupId>org.sonatype.plugins</groupId> |
285 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
286 | | - <version>1.6.8</version> |
287 | | - <extensions>true</extensions> |
288 | | - <configuration> |
289 | | - <serverId>ossrh</serverId> |
290 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
291 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
292 | | - </configuration> |
293 | | - </plugin> |
294 | | - <plugin> |
295 | | - <groupId>org.codehaus.mojo</groupId> |
296 | | - <artifactId>findbugs-maven-plugin</artifactId> |
297 | | - <version>2.5.3</version> |
298 | | - </plugin> |
299 | | - <plugin> |
300 | | - <groupId>org.codehaus.mojo</groupId> |
301 | | - <artifactId>clirr-maven-plugin</artifactId> |
302 | | - <version>2.6.1</version> |
303 | | - </plugin> |
304 | | - <plugin> |
305 | | - <groupId>org.codehaus.mojo</groupId> |
306 | | - <artifactId>versions-maven-plugin</artifactId> |
307 | | - <version>2.1</version> |
308 | | - </plugin> |
| 277 | + </plugin> |
| 278 | + <plugin> |
| 279 | + <groupId>org.apache.maven.plugins</groupId> |
| 280 | + <artifactId>maven-deploy-plugin</artifactId> |
| 281 | + <version>3.0.0-M1</version> |
| 282 | + </plugin> |
| 283 | + <plugin> |
| 284 | + <groupId>org.sonatype.plugins</groupId> |
| 285 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 286 | + <version>1.6.8</version> |
| 287 | + <extensions>true</extensions> |
| 288 | + <configuration> |
| 289 | + <serverId>ossrh</serverId> |
| 290 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 291 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 292 | + </configuration> |
| 293 | + </plugin> |
| 294 | + <plugin> |
| 295 | + <groupId>org.codehaus.mojo</groupId> |
| 296 | + <artifactId>findbugs-maven-plugin</artifactId> |
| 297 | + <version>2.5.3</version> |
| 298 | + </plugin> |
| 299 | + <plugin> |
| 300 | + <groupId>org.codehaus.mojo</groupId> |
| 301 | + <artifactId>clirr-maven-plugin</artifactId> |
| 302 | + <version>2.6.1</version> |
| 303 | + </plugin> |
| 304 | + <plugin> |
| 305 | + <groupId>org.codehaus.mojo</groupId> |
| 306 | + <artifactId>versions-maven-plugin</artifactId> |
| 307 | + <version>2.1</version> |
| 308 | + </plugin> |
309 | 309 |
|
310 | | - <!-- Get code coverage reports! --> |
| 310 | + <!-- Get code coverage reports! --> |
311 | 311 | <plugin> |
312 | 312 | <groupId>org.jacoco</groupId> |
313 | 313 | <artifactId>jacoco-maven-plugin</artifactId> |
|
331 | 331 | </plugin> |
332 | 332 |
|
333 | 333 |
|
334 | | - <plugin> |
335 | | - <groupId>org.apache.felix</groupId> |
336 | | - <artifactId>maven-bundle-plugin</artifactId> |
337 | | - <version>5.1.2</version> |
338 | | - <executions> |
339 | | - <execution> |
340 | | - <id>bundle-manifest</id> |
341 | | - <phase>process-classes</phase> |
342 | | - <goals> |
343 | | - <goal>manifest</goal> |
344 | | - </goals> |
345 | | - </execution> |
346 | | - </executions> |
347 | | - </plugin> |
348 | | - </plugins> |
| 334 | + <plugin> |
| 335 | + <groupId>org.apache.felix</groupId> |
| 336 | + <artifactId>maven-bundle-plugin</artifactId> |
| 337 | + <version>5.1.2</version> |
| 338 | + <executions> |
| 339 | + <execution> |
| 340 | + <id>bundle-manifest</id> |
| 341 | + <phase>process-classes</phase> |
| 342 | + <goals> |
| 343 | + <goal>manifest</goal> |
| 344 | + </goals> |
| 345 | + </execution> |
| 346 | + </executions> |
| 347 | + </plugin> |
| 348 | + </plugins> |
349 | 349 |
|
350 | | - <extensions> |
351 | | - <!-- Needed to deploy using Webdav --> |
352 | | - <extension> |
353 | | - <groupId>org.apache.maven.wagon</groupId> |
354 | | - <artifactId>wagon-webdav</artifactId> |
355 | | - <version>1.0-beta-2</version> |
356 | | - </extension> |
357 | | - </extensions> |
358 | | - </build> |
| 350 | + <extensions> |
| 351 | + <!-- Needed to deploy using Webdav --> |
| 352 | + <extension> |
| 353 | + <groupId>org.apache.maven.wagon</groupId> |
| 354 | + <artifactId>wagon-webdav</artifactId> |
| 355 | + <version>1.0-beta-2</version> |
| 356 | + </extension> |
| 357 | + </extensions> |
| 358 | + </build> |
359 | 359 |
|
360 | 360 | <profiles> |
361 | 361 | <profile> |
|
0 commit comments