new proeprties to control java soruce and target values
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@148293 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b41c5dbad7
commit
a3c2bcc13b
7
pom.xml
7
pom.xml
|
@ -222,8 +222,8 @@
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<target>${java_version}</target>
|
<target>${maven.compiler.target}</target>
|
||||||
<source>${java_version}</source>
|
<source>${maven.compiler.source}</source>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
@ -301,6 +301,9 @@
|
||||||
<distroDirectory>distro</distroDirectory>
|
<distroDirectory>distro</distroDirectory>
|
||||||
|
|
||||||
<java_version>1.8</java_version>
|
<java_version>1.8</java_version>
|
||||||
|
<maven.compiler.source>${java_version}</maven.compiler.source>
|
||||||
|
<maven.compiler.target>${java_version}</maven.compiler.target>
|
||||||
|
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.version>3.0.0</maven.version>
|
<maven.version>3.0.0</maven.version>
|
||||||
<snapshots.repository.url.deploy>http://maven.research-infrastructures.eu:8081/nexus/content/repositories/gcube-snapshots</snapshots.repository.url.deploy>
|
<snapshots.repository.url.deploy>http://maven.research-infrastructures.eu:8081/nexus/content/repositories/gcube-snapshots</snapshots.repository.url.deploy>
|
||||||
|
|
Loading…
Reference in New Issue