move library build to dist build (#34394)

towards: #34393

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2024-10-29 10:30:14 +01:00 committed by GitHub
parent 9662e3e528
commit 87d2dc6a45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 50 additions and 25 deletions

View file

@ -49,6 +49,31 @@
</plugins>
</build>
</profile>
<profile>
<id>jboss-release</id>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>lib-build</id>
<goals>
<goal>pnpm</goal>
</goals>
<configuration>
<arguments>build</arguments>
<environmentVariables>
<LIB>true</LIB>
</environmentVariables>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
@ -63,18 +88,6 @@
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>lib-build</id>
<goals>
<goal>pnpm</goal>
</goals>
<configuration>
<arguments>build</arguments>
<environmentVariables>
<LIB>true</LIB>
</environmentVariables>
</configuration>
</execution>
<execution>
<id>pack</id>
<phase>package</phase>

View file

@ -49,6 +49,31 @@
</plugins>
</build>
</profile>
<profile>
<id>jboss-release</id>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>lib-build</id>
<goals>
<goal>pnpm</goal>
</goals>
<configuration>
<arguments>build</arguments>
<environmentVariables>
<LIB>true</LIB>
</environmentVariables>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
@ -57,24 +82,11 @@
<directory>maven-resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>lib-build</id>
<goals>
<goal>pnpm</goal>
</goals>
<configuration>
<arguments>build</arguments>
<environmentVariables>
<LIB>true</LIB>
</environmentVariables>
</configuration>
</execution>
<execution>
<id>pack</id>
<phase>package</phase>