aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-02-27 01:21:00 +0300
committerGravatar Vitaly Takmazov2024-02-27 01:21:00 +0300
commit5631120807b218dcdb659749b981235984e81c4f (patch)
tree61e29dbe6eb5f73c3912038ce5ae2fffe62f77ec
parent128405829a7ef4a1c0b91db7690a61fb0fd9ac29 (diff)
Fix `exec-maven-plugin` configuration
-rw-r--r--pom.xml72
1 files changed, 34 insertions, 38 deletions
diff --git a/pom.xml b/pom.xml
index 50c1f774..d3d43cd9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -293,46 +293,42 @@
</dependency>
</dependencies>
<build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>3.2.0</version>
- <executions>
- <execution>
- <id>npm install</id>
- <goals>
- <goal>exec</goal>
- </goals>
- <phase>initialize</phase>
- <configuration>
- <executable>npm</executable>
- <arguments>
- <argument>install</argument>
- </arguments>
- </configuration>
- </execution>
- <execution>
- <id>npm run compile</id>
- <goals>
- <goal>exec</goal>
- </goals>
- <phase>generate-resources</phase>
- <configuration>
- <executable>npm</executable>
- <arguments>
- <argument>run</argument>
- <argument>compile</argument>
- </arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
<plugins>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>3.2.0</version>
+ <executions>
+ <execution>
+ <id>install</id>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <phase>initialize</phase>
+ <configuration>
+ <executable>npm</executable>
+ <arguments>
+ <argument>ci</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <phase>generate-sources</phase>
+ <configuration>
+ <executable>npm</executable>
+ <arguments>
+ <argument>run</argument>
+ <argument>compile</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.1</version>