diff options
-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> |