mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 15:02:05 -03:30
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:
parent
27b0bf5791
commit
55c714a89a
@ -41,6 +41,8 @@
|
|||||||
<runAlways>
|
<runAlways>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin artifactId="maven-failsafe-plugin"/>
|
<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>
|
</plugins>
|
||||||
<goalsLists>
|
<goalsLists>
|
||||||
<goalsList artifactId="maven-install-plugin">
|
<goalsList artifactId="maven-install-plugin">
|
||||||
|
|||||||
@ -25,28 +25,11 @@
|
|||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<resources>
|
||||||
<plugin>
|
<resource>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<directory>maven-resources-community</directory>
|
||||||
<executions>
|
</resource>
|
||||||
<execution>
|
</resources>
|
||||||
<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>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
|
|||||||
@ -25,28 +25,11 @@
|
|||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<resources>
|
||||||
<plugin>
|
<resource>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<directory>maven-resources-community</directory>
|
||||||
<executions>
|
</resource>
|
||||||
<execution>
|
</resources>
|
||||||
<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>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
|
|||||||
@ -27,8 +27,10 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<node.version>v22.11.0</node.version>
|
<node.version>v22.11.0</node.version>
|
||||||
<pnpm.version>9.14.4</pnpm.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.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>
|
</properties>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user