Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
* under the License.
*/

asfMavenTlpPlgnBuild(maven: ['3.6.x','3.8.x'])
asfMavenTlpPlgnBuild()
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ under the License.
<parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugins</artifactId>
<version>40</version>
<version>41</version>
<relativePath />
</parent>

Expand Down
2 changes: 1 addition & 1 deletion src/it/resources/it-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ under the License.
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>${version.maven-compiler-plugin}</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ under the License.
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>${version.maven-compiler-plugin}</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@ public static File getBaseDir() {
public static Verifier newVerifier(File dir) throws VerificationException {
Verifier verifier = new Verifier(dir.getAbsolutePath());
verifier.setLocalRepo(System.getProperty("localRepositoryPath"));
verifier.getSystemProperties().setProperty("https.protocols", System.getProperty("https.protocols", "TLSv1.2"));

int javaVersion = Integer.getInteger("java.specification.version", 7);
if (javaVersion >= 12) {
verifier.setSystemProperty("maven.compiler.source", "7");
verifier.setSystemProperty("maven.compiler.target", "7");
}
return verifier;
}
}