-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add Maven Build Cache plugin #4919
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 |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| <cache xmlns="http://maven.apache.org/BUILD-CACHE-CONFIG/1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/BUILD-CACHE-CONFIG/1.2.0 https://maven.apache.org/xsd/build-cache-config-1.2.0.xsd"> | ||
| <input> | ||
| <global> | ||
| <includes> | ||
| <!-- By default, project sources and resources directories are included (src/main/java and src/main/resources) --> | ||
| <!-- Here, the goal is to include a wider range of src directories (like src/main/assembly or src/main/antora) --> | ||
| <include>src/</include> | ||
| </includes> | ||
| </global> | ||
| </input> | ||
| <executionControl> | ||
| <reconcile> | ||
| <plugins> | ||
| <plugin artifactId="maven-surefire-plugin" goal="test"> | ||
| <reconciles> | ||
| <reconcile propertyName="skip" skipValue="true"/> | ||
| <reconcile propertyName="skipExec" skipValue="true"/> | ||
| <reconcile propertyName="skipTests" skipValue="true"/> | ||
| <reconcile propertyName="testFailureIgnore" skipValue="true"/> | ||
| </reconciles> | ||
| </plugin> | ||
| <plugin artifactId="maven-failsafe-plugin" goal="integration-test"> | ||
| <reconciles> | ||
| <reconcile propertyName="skip" skipValue="true"/> | ||
| <reconcile propertyName="skipExec" skipValue="true"/> | ||
| <reconcile propertyName="skipITs" skipValue="true"/> | ||
| <reconcile propertyName="skipTests" skipValue="true"/> | ||
| </reconciles> | ||
| </plugin> | ||
|
|
||
| </plugins> | ||
| </reconcile> | ||
| </executionControl> | ||
| </cache> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,5 +13,5 @@ | |
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
| distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip | ||
| distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.1/apache-maven-3.9.1-bin.zip | ||
| wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar | ||
|
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. shall we update to https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/ @ericbottard ?
Member
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. What do you mean? Should we also update the wrapper version? The maven version was updated by the PR you just merged anyway
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, update the wrapper version. |
||
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.
mr. claude said this could be dangerous.