Skip to content

Commit

Permalink
archetype: configure maven-compiler-plugin to use java11
Browse files Browse the repository at this point in the history
Motivation:
The test project built with dcache-nearline-plugin-archetype should
use up-to-date maven-compiler-plugin as well as java11

Modification:
update archetype to enforce java11 and latest version of
maven-compiler-plugin for newly generated project.

Result:
it's possible to build and install dcache-nearline-plugin-archetype

Acked-by: Albert Rossi
Target: master, 6.2
Require-book: no
Require-notes: no
  • Loading branch information
kofemann committed Jul 29, 2020
1 parent 342ec36 commit 16c6cb4
Showing 1 changed file with 13 additions and 0 deletions.
Expand Up @@ -12,6 +12,7 @@

<properties>
<version.dcache>${dcache}</version.dcache>
<java.version>11</java.version>
</properties>

<licenses>
Expand Down Expand Up @@ -39,6 +40,18 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<showDeprecation>true</showDeprecation>
<release>${java.version}</release>
<!-- without forking compilation happens in the
same process, so no arguments are applied -->
<fork>true</fork>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
Expand Down

0 comments on commit 16c6cb4

Please sign in to comment.