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:
Jon Koops
2024-12-10 11:07:02 +01:00
committed by GitHub
parent 27b0bf5791
commit 55c714a89a
4 changed files with 15 additions and 45 deletions

View File

@@ -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">

View File

@@ -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>
<resources>
<resource>
<directory>maven-resources-community</directory>
</resource>
</resources>
</build>
</profile>
<profile>

View File

@@ -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>
<resources>
<resource>
<directory>maven-resources-community</directory>
</resource>
</resources>
</build>
</profile>
<profile>

View File

@@ -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>