-
Notifications
You must be signed in to change notification settings - Fork 27
use maven.compiler.release instead of .target
#165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -129,9 +129,7 @@ under the License. | |
| <profile> | ||
| <id>run-its</id> | ||
| <properties> | ||
| <!-- when testing with JDK9, change these values to 1.6 from cmdline --> | ||
| <invoker.maven.compiler.source>${maven.compiler.source}</invoker.maven.compiler.source> | ||
| <invoker.maven.compiler.target>${maven.compiler.target}</invoker.maven.compiler.target> | ||
| <invoker.maven.compiler.release>${maven.compiler.release}</invoker.maven.compiler.release> | ||
| </properties> | ||
| <build> | ||
| <plugins> | ||
|
|
@@ -150,8 +148,7 @@ under the License. | |
| <pomInclude>*/pom.xml</pomInclude> | ||
| </pomIncludes> | ||
| <properties> | ||
| <maven.compiler.source>${invoker.maven.compiler.source}</maven.compiler.source> | ||
| <maven.compiler.target>${invoker.maven.compiler.target}</maven.compiler.target> | ||
|
Comment on lines
-153
to
-154
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please also preserver here |
||
| <maven.compiler.release>${invoker.maven.compiler.release}</maven.compiler.release> | ||
| </properties> | ||
| </configuration> | ||
| <executions> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -176,9 +176,7 @@ under the License. | |
| <profile> | ||
| <id>run-its</id> | ||
| <properties> | ||
| <!-- when testing with JDK9, change these values to 1.6 from cmdline --> | ||
| <invoker.maven.compiler.source>${maven.compiler.source}</invoker.maven.compiler.source> | ||
| <invoker.maven.compiler.target>${maven.compiler.target}</invoker.maven.compiler.target> | ||
|
Comment on lines
-180
to
-181
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please also preserver here |
||
| <invoker.maven.compiler.release>${maven.compiler.release}</invoker.maven.compiler.release> | ||
| </properties> | ||
| <build> | ||
| <plugins> | ||
|
|
@@ -197,8 +195,7 @@ under the License. | |
| <pomInclude>*/pom.xml</pomInclude> | ||
| </pomIncludes> | ||
| <properties> | ||
| <maven.compiler.source>${invoker.maven.compiler.source}</maven.compiler.source> | ||
| <maven.compiler.target>${invoker.maven.compiler.target}</maven.compiler.target> | ||
|
Comment on lines
-200
to
-201
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please also preserver here |
||
| <maven.compiler.release>${invoker.maven.compiler.release}</maven.compiler.release> | ||
| </properties> | ||
| </configuration> | ||
| <executions> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -946,6 +946,7 @@ under the License. | |
| <javaVersion>8</javaVersion> | ||
| <maven.compiler.source>${javaVersion}</maven.compiler.source> | ||
| <maven.compiler.target>${javaVersion}</maven.compiler.target> | ||
| <maven.compiler.release>${javaVersion}</maven.compiler.release> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we left old properties and allow to m-compiler-p to use proper one? What java version will be used by m-compiler-p when we have only maven.compiler.release and build on JDK 8?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, leave original .source and .target properties.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done for main properties, not sure whether we need them in other places, too
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. in ale place should be the same |
||
| <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation> | ||
| <!-- in order to restore default annotation processing behaviour, please override with empty value --> | ||
| <maven.compiler.proc>none</maven.compiler.proc> | ||
|
|
@@ -1097,7 +1098,7 @@ under the License. | |
| <artifactId>maven-pmd-plugin</artifactId> | ||
| <version>3.23.0</version> | ||
| <configuration> | ||
| <targetJdk>${maven.compiler.target}</targetJdk> | ||
| <targetJdk>${maven.compiler.release}</targetJdk> | ||
| <rulesets> | ||
| <ruleset>rulesets/maven.xml</ruleset> | ||
| </rulesets> | ||
|
|
@@ -1177,7 +1178,7 @@ under the License. | |
| <configuration> | ||
| <rules> | ||
| <enforceBytecodeVersion> | ||
| <maxJdkVersion>${maven.compiler.target}</maxJdkVersion> | ||
| <maxJdkVersion>${maven.compiler.release}</maxJdkVersion> | ||
| </enforceBytecodeVersion> | ||
| </rules> | ||
| <fail>true</fail> | ||
|
|
@@ -1454,7 +1455,7 @@ under the License. | |
| <configuration> | ||
| <toolchains> | ||
| <jdk> | ||
| <version>${maven.compiler.target}</version> | ||
| <version>${maven.compiler.release}</version> | ||
| </jdk> | ||
| </toolchains> | ||
| </configuration> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please also preserver here