diff options
author | Vitaly Takmazov | 2024-02-27 01:21:00 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-02-27 01:21:00 +0300 |
commit | 5631120807b218dcdb659749b981235984e81c4f (patch) | |
tree | 61e29dbe6eb5f73c3912038ce5ae2fffe62f77ec | |
parent | 128405829a7ef4a1c0b91db7690a61fb0fd9ac29 (diff) |
Fix `exec-maven-plugin` configuration
-rw-r--r-- | pom.xml | 72 |
1 files changed, 34 insertions, 38 deletions
@@ -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> |