mirror of
https://github.com/keycloak/keycloak.git
synced 2025-12-16 20:15:46 -06:00
Update custom Maven build cache configuration for js directory
Closes #35669 Signed-off-by: Jon Koops <jonkoops@gmail.com> Signed-off-by: Alexander Schwartz <aschwart@redhat.com> Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
@@ -41,6 +41,8 @@
|
||||
<runAlways>
|
||||
<plugins>
|
||||
<plugin artifactId="maven-failsafe-plugin"/>
|
||||
<!-- The Maven Frontend plugin will build all JS parts in the subfolders, and has its own caching, therefore, run it always -->
|
||||
<plugin groupId="com.github.eirslett" artifactId="frontend-maven-plugin"/>
|
||||
</plugins>
|
||||
<goalsLists>
|
||||
<goalsList artifactId="maven-install-plugin">
|
||||
|
||||
@@ -25,28 +25,11 @@
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-resources</id>
|
||||
<phase>generate-resources</phase>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>maven-resources-community</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
|
||||
@@ -25,28 +25,11 @@
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-resources</id>
|
||||
<phase>generate-resources</phase>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>maven-resources-community</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
|
||||
@@ -27,8 +27,10 @@
|
||||
<properties>
|
||||
<node.version>v22.11.0</node.version>
|
||||
<pnpm.version>9.14.4</pnpm.version>
|
||||
<!-- The JavaScript projects use the non-standard 'src' folder for their sources, therefore, name it here explicitly -->
|
||||
<!-- The JavaScript projects use non-standard folders for their sources, therefore, name it here explicitly -->
|
||||
<maven.build.cache.input.1>src</maven.build.cache.input.1>
|
||||
<maven.build.cache.input.2>public</maven.build.cache.input.2>
|
||||
<maven.build.cache.input.3>scripts</maven.build.cache.input.3>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
|
||||
Reference in New Issue
Block a user