diff options
author | 2017-03-24 10:42:18 +0800 | |
---|---|---|
committer | 2017-03-24 10:42:18 +0800 | |
commit | b550b6dfc36759552c4ff3fab59451a120563d76 (patch) | |
tree | fcaa9ec7b2bf8a6501d595e7c94efbf885625d29 /alarm-analysis | |
parent | 4e4b306dec1b7e33e11144a3c17136a0683bd299 (diff) |
Modify pom.xml
modify pom proxy download note
Issue-ID:CLIENT-164
Change-Id: Ie0fc06c845d941b8854146c4d101b885ecb932bd
Signed-off-by: YILI <li.yi101@zte.com.cn>
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 |