Skip to content

Commit

Permalink
Upgrade maven cache extension
Browse files Browse the repository at this point in the history
Also ensure that JS project is not built too often, and the Quarkus distribution is not missed when sub-dependencies change.

Closes keycloak#30463

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
  • Loading branch information
ahus1 committed Jun 19, 2024
1 parent fb7c8c5 commit 319c87e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .mvn/extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
<extension>
<groupId>org.apache.maven.extensions</groupId>
<artifactId>maven-build-cache-extension</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
</extension>
</extensions>
2 changes: 1 addition & 1 deletion js/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
<!-- The JavaScript projects use the non-standard 'src' folder for their sources, therefore, name it here explicitly -->
<maven.build.cache.input.1>src</maven.build.cache.input.1>
<!-- The child projects will package from the 'dist' folder, which is listed as a resource, but isn't a source folder -->
<maven.build.cache.exclude.value.1>${project.basedir}/dist</maven.build.cache.exclude.value.1>
<maven.build.cache.exclude.value.1>dist</maven.build.cache.exclude.value.1>
</properties>
</project>
12 changes: 0 additions & 12 deletions quarkus/dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,11 @@
<groupId>org.keycloak</groupId>
<artifactId>keycloak-quarkus-server-app</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-quarkus-server-deployment</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
Expand Down

0 comments on commit 319c87e

Please sign in to comment.