diff options
Diffstat (limited to 'alarm-analysis')
-rw-r--r-- | alarm-analysis/pom.xml | 137 |
1 files changed, 58 insertions, 79 deletions
diff --git a/alarm-analysis/pom.xml b/alarm-analysis/pom.xml index 14ccd8fd..8c20995a 100644 --- a/alarm-analysis/pom.xml +++ b/alarm-analysis/pom.xml @@ -26,88 +26,67 @@ <modelVersion>4.0.0</modelVersion> <artifactId>holmes</artifactId> <packaging>war</packaging> - <version>1.1.0-SNAPSHOT</version> + <version>1.1.0-SNAPSHOT</version> <build> <plugins> - <plugin> - <groupId>com.github.eirslett</groupId> - <artifactId>frontend-maven-plugin</artifactId> - <version>1.3</version> - <executions> - <execution> - <id>install node and npm</id> - <goals> - <goal>install-node-and-npm</goal> - </goals> - <phase>generate-resources</phase> - </execution> - <execution> - <id>npm install</id> - <goals> - <goal>npm</goal> - </goals> - <configuration> - <arguments>install</arguments> - <npmRegistryURL>https://registry.npm.taobao.org/</npmRegistryURL> - </configuration> - </execution> - <execution> - <id>webpack build</id> - <goals> - <goal>webpack</goal> - </goals> - <phase>generate-resources</phase> - </execution> - </executions> - <configuration> - <workingDirectory>src/main/webapp</workingDirectory> - <nodeVersion>v6.9.5</nodeVersion> - <npmVersion>3.10.10</npmVersion> - <nodeDownloadRoot>https://npm.taobao.org/mirrors/node/</nodeDownloadRoot> - <npmDownloadRoot>https://registry.npmjs.org/npm/-/</npmDownloadRoot> - </configuration> - </plugin> + <plugin> + <groupId>com.github.eirslett</groupId> + <artifactId>frontend-maven-plugin</artifactId> + <version>1.3</version> + <executions> + <execution> + <id>install node and npm</id> + <goals> + <goal>install-node-and-npm</goal> + </goals> + <phase>generate-resources</phase> + </execution> + <execution> + <id>npm install</id> + <goals> + <goal>npm</goal> + </goals> + <configuration> + <arguments>install</arguments> + </configuration> + </execution> + <execution> + <id>webpack build</id> + <goals> + <goal>webpack</goal> + </goals> + <phase>generate-resources</phase> + </execution> + </executions> + <configuration> + <workingDirectory>src/main/webapp</workingDirectory> + <nodeVersion>v6.9.5</nodeVersion> + <npmVersion>3.10.10</npmVersion> + <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot> + <npmDownloadRoot>https://registry.npmjs.org/npm/-/</npmDownloadRoot> + </configuration> + </plugin> - <!--plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <configuration> - <finalName>${project.name}</finalName> - <descriptors> - <descriptor>assembly.xml</descriptor> - </descriptors> - <appendAssemblyId>false</appendAssemblyId> - </configuration> - <executions> - <execution> - <id>assemble</id> - <phase>package</phase> - <goals> - <goal>attached</goal> - </goals> - </execution> - </executions> - </plugin--> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-war-plugin</artifactId> - <configuration> - <failOnMissingWebXml>false</failOnMissingWebXml> - <warSourceExcludes> - alarm/**, - config/**, - foo/**, - i18n/**, - node/**, - node_modules/**, - public/**, - *.json, - *.js - </warSourceExcludes> - </configuration> - </plugin> - - </plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <configuration> + <failOnMissingWebXml>false</failOnMissingWebXml> + <warSourceExcludes> + alarm/**, + config/**, + foo/**, + i18n/**, + node/**, + node_modules/**, + public/**, + *.json, + *.js + </warSourceExcludes> + </configuration> + </plugin> + + </plugins> </build> </project>
\ No newline at end of file |