|
|
@@ -198,6 +198,47 @@
|
|
|
</dependencies>
|
|
|
<build>
|
|
|
<finalName>platform-b2b</finalName>
|
|
|
+ <pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.m2e</groupId>
|
|
|
+ <artifactId>lifecycle-mapping</artifactId>
|
|
|
+ <version>1.0.0</version>
|
|
|
+ <configuration>
|
|
|
+ <lifecycleMappingMetadata>
|
|
|
+ <pluginExecutions>
|
|
|
+ <pluginExecution>
|
|
|
+ <pluginExecutionFilter>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-antrun-plugin</artifactId>
|
|
|
+ <versionRange>[1.0,)</versionRange>
|
|
|
+ <goals>
|
|
|
+ <goal>run</goal>
|
|
|
+ </goals>
|
|
|
+ </pluginExecutionFilter>
|
|
|
+ <action>
|
|
|
+ <ignore />
|
|
|
+ </action>
|
|
|
+ </pluginExecution>
|
|
|
+ <pluginExecution>
|
|
|
+ <pluginExecutionFilter>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-dependency-plugin</artifactId>
|
|
|
+ <versionRange>[1.0,)</versionRange>
|
|
|
+ <goals>
|
|
|
+ <goal>copy</goal>
|
|
|
+ </goals>
|
|
|
+ </pluginExecutionFilter>
|
|
|
+ <action>
|
|
|
+ <ignore />
|
|
|
+ </action>
|
|
|
+ </pluginExecution>
|
|
|
+ </pluginExecutions>
|
|
|
+ </lifecycleMappingMetadata>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </pluginManagement>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
@@ -213,26 +254,91 @@
|
|
|
</goals> 远程服务器的相关配置 <configuration> <hostname>60.host</hostname> <port>9999</port>
|
|
|
用户名和密码为jboss as 中添加的用户名和密码 <username>administrator</username> <password>select111***</password>
|
|
|
</configuration> </execution> </executions> </plugin> -->
|
|
|
- <plugin>
|
|
|
+ <!-- <plugin>
|
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
|
|
<version>2.2</version>
|
|
|
+ <executions> <execution> <phase>install</phase> <goals> <goal>deploy</goal>
|
|
|
+ </goals> <configuration> <url>http://60.host:9090/manager/text</url> <username>administrator</username>
|
|
|
+ <password>select111***</password> <path>/platform-b2b</path> <update>true</update>
|
|
|
+ </configuration> </execution> </executions>
|
|
|
+ </plugin> -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-dependency-plugin</artifactId>
|
|
|
+ <version>2.4</version>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
- <phase>install</phase>
|
|
|
+ <phase>validate</phase>
|
|
|
<goals>
|
|
|
- <goal>deploy</goal>
|
|
|
+ <goal>copy</goal>
|
|
|
</goals>
|
|
|
<configuration>
|
|
|
- <url>http://60.host:9090/manager/text</url>
|
|
|
- <username>administrator</username>
|
|
|
- <password>select111***</password>
|
|
|
- <path>/platform-b2b</path>
|
|
|
- <update>true</update>
|
|
|
+ <artifactItems>
|
|
|
+ <artifactItem>
|
|
|
+ <groupId>com.google.javascript</groupId>
|
|
|
+ <artifactId>closure-compiler</artifactId>
|
|
|
+ <version>v20150505</version>
|
|
|
+ <type>jar</type>
|
|
|
+ <overWrite>true</overWrite>
|
|
|
+ <outputDirectory>${project.build.directory}/compressor</outputDirectory>
|
|
|
+ <destFileName>closure-compiler.jar</destFileName>
|
|
|
+ </artifactItem>
|
|
|
+ <artifactItem>
|
|
|
+ <groupId>com.yahoo.platform.yui</groupId>
|
|
|
+ <artifactId>yuicompressor</artifactId>
|
|
|
+ <version>2.4.8</version>
|
|
|
+ <type>jar</type>
|
|
|
+ <overWrite>true</overWrite>
|
|
|
+ <outputDirectory>${project.build.directory}/compressor</outputDirectory>
|
|
|
+ <destFileName>yuicompressor.jar</destFileName>
|
|
|
+ </artifactItem>
|
|
|
+ </artifactItems>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-antrun-plugin</artifactId>
|
|
|
+ <version>1.7</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <phase>install</phase>
|
|
|
+ <configuration>
|
|
|
+ <tasks>
|
|
|
+ <property name="project.build.directory" value="${project.build.directory}" />
|
|
|
+ <property name="project.build.finalName" value="${project.build.finalName}" />
|
|
|
+ <ant antfile="build.xml" />
|
|
|
+ </tasks>
|
|
|
</configuration>
|
|
|
+ <goals>
|
|
|
+ <goal>run</goal>
|
|
|
+ </goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.ant</groupId>
|
|
|
+ <artifactId>ant-launcher</artifactId>
|
|
|
+ <version>1.8.2</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
+ <distributionManagement>
|
|
|
+ <!-- 发布release仓库 -->
|
|
|
+ <repository>
|
|
|
+ <id>platform-release</id>
|
|
|
+ <name>platform-release</name>
|
|
|
+ <url>http://192.168.253.111:8001/artifactory/libs-release-local</url>
|
|
|
+ </repository>
|
|
|
+ <!-- 发布快照版本 -->
|
|
|
+ <snapshotRepository>
|
|
|
+ <id>platform-snapshots</id>
|
|
|
+ <name>platform-snapshots</name>
|
|
|
+ <url>http://192.168.253.111:8001/artifactory/libs-snapshot-local</url>
|
|
|
+ </snapshotRepository>
|
|
|
+ </distributionManagement>
|
|
|
</project>
|