-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and ability to pass in compile version (#314)
* Update dependencies and ability to pass in compile version * Attempt to Fix codeQL * Add Java 21 and update some GH actions * Update some GH actions * Fixes after review
- Loading branch information
Showing
9 changed files
with
55 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,25 +16,31 @@ or contact [[email protected]](mailto:[email protected]) with any addi | |
## Submit an Issue | ||
|
||
if you wish to contribute to GCToolKit we would kindly ask that you submit an issue to the issue tracker. Doing so will help with the management of the project. | ||
|
||
## Build | ||
|
||
The build requires JDK 11, and uses the Maven wrapper (`mvnw`) to help ensure reproducible builds and so we don't force you to change your system Maven install. If you prefer to build with your local Maven installation, make sure the version matches the one in the project's [.mvn/wrapper/maven-wrapper.properties](https://github.com/microsoft/gctoolkit/blob/main/.mvn/wrapper/maven-wrapper.properties) file. | ||
The build requires JDK 11 and uses the Maven wrapper (`mvnw`) to help ensure reproducible builds and so we don't force you to change your system Maven install. If you prefer to build with your local Maven installation, make sure the version matches the one in the project's [.mvn/wrapper/maven-wrapper.properties](https://github.com/microsoft/gctoolkit/blob/main/.mvn/wrapper/maven-wrapper.properties) file. You can also use JDK 17 or 21 by passing in `-Dmaven.compiler.release=<17|21>` as an extra property to any of the `./mvnw` commands below. | ||
|
||
* `mvnw clean` - remove build artifacts | ||
* `mvnw compile` - compile the source code | ||
* `./mvnw clean` - remove build artifacts | ||
* `./mvnw compile` - compile the source code. | ||
|
||
## Test | ||
|
||
You can execute test cases with following command. | ||
|
||
* `mvnw test` - run unit tests (this project uses JUnit 5) | ||
* `./mvnw test` - run unit tests (this project uses JUnit 5) | ||
|
||
## Package | ||
|
||
The packaging is vanilla Maven. | ||
|
||
* `mvnw package` - create the binaries. | ||
* `./mvnw package` - create the binaries. | ||
|
||
## Site | ||
|
||
The packaging is vanilla Maven. | ||
|
||
* `./mvnw site` - create the site with reports on source code analysis etc. | ||
|
||
## Deploy / Publish | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,42 +56,43 @@ | |
|
||
<properties> | ||
<revision>3.0.3-SNAPSHOT</revision> | ||
<checkstyle.version>10.12.4</checkstyle.version> | ||
<jreleaser.plugin.version>1.7.0</jreleaser.plugin.version> | ||
<junit5.version>5.10.0</junit5.version> | ||
<checkstyle.version>10.12.6</checkstyle.version> | ||
<jreleaser.plugin.version>1.9.0</jreleaser.plugin.version> | ||
<junit5.version>5.10.1</junit5.version> | ||
<maven.antrun-plugin.version>3.1.0</maven.antrun-plugin.version> | ||
<maven.changes-plugin.version>2.12.1</maven.changes-plugin.version> | ||
<maven.checkstyle-plugin.version>3.3.1</maven.checkstyle-plugin.version> | ||
<maven.clean-plugin.version>3.3.2</maven.clean-plugin.version> | ||
<maven.compiler-plugin.version>3.11.0</maven.compiler-plugin.version> | ||
<maven.compiler.release>17</maven.compiler.release> | ||
<maven.compiler-plugin.version>3.12.1</maven.compiler-plugin.version> | ||
<!-- Commented out as we pass this parameter in so we can execute a matrix of builds --> | ||
<maven.compiler.release>11</maven.compiler.release> | ||
<maven.dependency-plugin.version>3.6.1</maven.dependency-plugin.version> | ||
<maven.deploy-plugin.version>3.1.1</maven.deploy-plugin.version> | ||
<maven.directory-maven-plugin.version>1.0</maven.directory-maven-plugin.version> | ||
<maven.enforcer-plugin.version>3.4.1</maven.enforcer-plugin.version> | ||
<maven.exec-plugin.version>3.1.0</maven.exec-plugin.version> | ||
<maven.exec-plugin.version>3.1.1</maven.exec-plugin.version> | ||
<maven.install-plugin.version>3.1.1</maven.install-plugin.version> | ||
<maven.jacoco-plugin.version>0.8.11</maven.jacoco-plugin.version> | ||
<maven.jar-plugin.version>3.3.0</maven.jar-plugin.version> | ||
<maven.javadoc-plugin.version>3.6.0</maven.javadoc-plugin.version> | ||
<maven.javadoc-plugin.version>3.6.3</maven.javadoc-plugin.version> | ||
<maven.jxr-plugin.version>3.3.1</maven.jxr-plugin.version> | ||
<maven.license-plugin.version>2.3.0</maven.license-plugin.version> | ||
<maven.pmd-plugin.version>3.21.0</maven.pmd-plugin.version> | ||
<maven.project-info-reports-plugin.version>3.4.5</maven.project-info-reports-plugin.version> | ||
<maven.pmd-plugin.version>3.21.2</maven.pmd-plugin.version> | ||
<maven.project-info-reports-plugin.version>3.5.0</maven.project-info-reports-plugin.version> | ||
<maven.rat-plugin.version>0.15</maven.rat-plugin.version> | ||
<maven.resources-plugin.version>3.3.1</maven.resources-plugin.version> | ||
<maven.site-plugin.version>4.0.0-M11</maven.site-plugin.version> | ||
<maven.site-plugin.version>4.0.0-M13</maven.site-plugin.version> | ||
<maven.source-plugin.version>3.3.0</maven.source-plugin.version> | ||
<maven.spotbugs-plugin.version>4.7.3.6</maven.spotbugs-plugin.version> | ||
<maven.surefire-plugin.version>3.2.1</maven.surefire-plugin.version> | ||
<maven.version>3.9.5</maven.version> | ||
<maven.spotbugs-plugin.version>4.8.2.0</maven.spotbugs-plugin.version> | ||
<maven.surefire-plugin.version>3.2.3</maven.surefire-plugin.version> | ||
<maven.version>3.9.6</maven.version> | ||
<maven.versions-plugin.version>2.16.1</maven.versions-plugin.version> | ||
<mutability.detector.version>0.9.1</mutability.detector.version> | ||
<pmd.version>6.55.0</pmd.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<project.github.repository>microsoft/gctoolkit</project.github.repository> | ||
<repository.url>[email protected]:${project.github.repository}.git</repository.url> | ||
<spotbugs.version>4.8.0</spotbugs.version> | ||
<spotbugs.version>4.8.3</spotbugs.version> | ||
</properties> | ||
|
||
<modules> | ||
|
@@ -195,8 +196,8 @@ | |
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>${maven.compiler-plugin.version}</version> | ||
<configuration> | ||
<source>17</source> | ||
<target>17</target> | ||
<source>{maven.compiler.release}</source> | ||
<target>{maven.compiler.release}</target> | ||
<compilerArgs> | ||
<arg>--module-version=${project.version}</arg> | ||
<arg>-Xlint:unchecked</arg> | ||
|
@@ -389,7 +390,7 @@ | |
<plugin> | ||
<groupId>org.hjug.refactorfirst.plugin</groupId> | ||
<artifactId>refactor-first-maven-plugin</artifactId> | ||
<version>0.4.0</version> | ||
<version>0.5.0-M1</version> | ||
<!-- optional --> | ||
<configuration> | ||
<showDetails>true</showDetails> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters