Browse Source

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@720 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d

administrator 11 years ago
parent
commit
3ab45eb2ef
1 changed files with 14 additions and 30 deletions
  1. 14 30
      pom.xml

+ 14 - 30
pom.xml

@@ -211,48 +211,32 @@
 					<target>1.7</target>
 				</configuration>
 			</plugin>
-			<!-- <plugin>
-				<groupId>org.jboss.as.plugins</groupId>
-				<artifactId>jboss-as-maven-plugin</artifactId>
-				<version>7.6.Final</version>
+			<!-- <plugin> <groupId>org.jboss.as.plugins</groupId> <artifactId>jboss-as-maven-plugin</artifactId> 
+				<version>7.6.Final</version> <executions> <execution> 下面部分是让执行 mvn install 
+				时 自动执行jboss-as:deploy <phase>install</phase> <goals> <goal>deploy</goal> 
+				</goals> 远程服务器的相关配置 <configuration> <hostname>60.host</hostname> <port>9999</port> 
+				用户名和密码为jboss as 中添加的用户名和密码 <username>administrator</username> <password>select111***</password> 
+				</configuration> </execution> </executions> </plugin> -->
+			<plugin>
+				<groupId>org.apache.tomcat.maven</groupId>
+				<artifactId>tomcat7-maven-plugin</artifactId>
+				<version>2.2</version>
 				<executions>
 					<execution>
-						下面部分是让执行 mvn install 时 自动执行jboss-as:deploy
 						<phase>install</phase>
 						<goals>
 							<goal>deploy</goal>
 						</goals>
-						远程服务器的相关配置
 						<configuration>
-							<hostname>60.host</hostname>
-							<port>9999</port>
-							用户名和密码为jboss as 中添加的用户名和密码
+							<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.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>
 		</plugins>
 	</build>
 </project>