mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 23:12:06 -03:30
Stop cleaning JavaScript build files using Maven (#35346)
Closes #35289 Signed-off-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
parent
37dc2b6ca3
commit
c401222d93
41
js/pom.xml
41
js/pom.xml
@ -27,8 +27,6 @@
|
||||
<properties>
|
||||
<node.version>v22.11.0</node.version>
|
||||
<pnpm.version>9.14.4</pnpm.version>
|
||||
<!-- The clean step is skipped on Windows -->
|
||||
<js.skip.clean>false</js.skip.clean>
|
||||
<!-- 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>
|
||||
</properties>
|
||||
@ -73,46 +71,7 @@
|
||||
<pnpmInheritsProxyConfigFromMaven>false</pnpmInheritsProxyConfigFromMaven>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<configuration>
|
||||
<followSymLinks>false</followSymLinks>
|
||||
<!-- Skip this step if on windows -->
|
||||
<skip>${js.skip.clean}</skip>
|
||||
<filesets>
|
||||
<fileset>
|
||||
<directory>${basedir}</directory>
|
||||
<includes>
|
||||
<include>**/.wireit/**</include>
|
||||
<include>**/node_modules/**</include>
|
||||
</includes>
|
||||
</fileset>
|
||||
<!-- include all non-maven projects here as well -->
|
||||
<fileset>
|
||||
<directory>js/apps/keycloak-server</directory>
|
||||
<includes>
|
||||
<include>server/**</include>
|
||||
</includes>
|
||||
</fileset>
|
||||
</filesets>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>clean-when-not-on-windows</id>
|
||||
<activation>
|
||||
<os>
|
||||
<family>windows</family>
|
||||
</os>
|
||||
</activation>
|
||||
<properties>
|
||||
<js.skip.clean>true</js.skip.clean>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user