|
363 | 363 | <artifactId>maven-compiler-plugin</artifactId>
|
364 | 364 | <version>3.1</version>
|
365 | 365 | <configuration>
|
366 |
| - <source>1.7</source> |
367 |
| - <target>1.7</target> |
| 366 | + <source>21</source> |
| 367 | + <target>21</target> |
| 368 | + </configuration> |
| 369 | + </plugin> |
| 370 | + <plugin> |
| 371 | + <groupId>org.apache.maven.plugins</groupId> |
| 372 | + <artifactId>maven-release-plugin</artifactId> |
| 373 | + <version>2.5.3</version> |
| 374 | + <configuration> |
| 375 | + <tagNameFormat>r@{project.version}</tagNameFormat> |
368 | 376 | </configuration>
|
369 | 377 | </plugin>
|
370 | 378 | </plugins>
|
371 | 379 | </build>
|
372 |
| - |
373 |
| - <profiles> |
374 |
| - <profile> |
375 |
| - <id>sonatype-oss-release</id> |
376 |
| -<!-- This profile is enabled automatically by the Sonatype |
377 |
| - oss-parent POM when invoking the Maven Release Plugin--> |
378 |
| - <build> |
379 |
| - <plugins> |
380 |
| - <plugin> |
381 |
| - <groupId>org.apache.maven.plugins</groupId> |
382 |
| - <artifactId>maven-deploy-plugin</artifactId> |
383 |
| - <version>2.7</version> |
384 |
| - <configuration> |
385 |
| - <skip>true</skip> |
386 |
| - </configuration> |
387 |
| - </plugin> |
388 |
| - <plugin> |
389 |
| - <groupId>org.sonatype.plugins</groupId> |
390 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
391 |
| - <version>1.7.0</version> |
392 |
| - <executions> |
393 |
| - <execution> |
394 |
| - <id>default-deploy</id> |
395 |
| - <phase>deploy</phase> |
396 |
| -<!-- By default, this is the phase deploy goal will bind to--> |
397 |
| - <goals> |
398 |
| - <goal>deploy</goal> |
399 |
| - </goals> |
400 |
| - </execution> |
401 |
| - </executions> |
402 |
| - <configuration> |
403 |
| -<!-- The Base URL of Nexus instance where we want to stage--> |
404 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
405 |
| -<!-- The server "id" element from settings to use authentication from--> |
406 |
| - <serverId>sonatype-nexus-staging</serverId> |
407 |
| - </configuration> |
408 |
| - </plugin> |
409 |
| - </plugins> |
410 |
| - </build> |
411 |
| - </profile> |
412 |
| - </profiles> |
413 | 380 | </project>
|