Quellcode durchsuchen

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

administrator vor 11 Jahren
Ursprung
Commit
4ed1094bc5
1 geänderte Dateien mit 45 neuen und 3 gelöschten Zeilen
  1. 45 3
      pom.xml

+ 45 - 3
pom.xml

@@ -73,6 +73,13 @@
 		<dependency>
 			<groupId>org.hibernate</groupId>
 			<artifactId>hibernate-core</artifactId>
+			<scope>provided</scope>
+			<exclusions>
+				<exclusion>
+					<groupId>antlr</groupId>
+					<artifactId>antlr</artifactId>
+				</exclusion>
+			</exclusions>
 		</dependency>
 		<dependency>
 			<groupId>org.hibernate</groupId>
@@ -184,10 +191,23 @@
 		</dependency>
 		<!-- xinge -->
 		<dependency>
-		    <groupId>tencent</groupId>
-		    <artifactId>xinge</artifactId>
-		    <version>1.0.0</version>
+			<groupId>tencent</groupId>
+			<artifactId>xinge</artifactId>
+			<version>1.0.0</version>
 		</dependency>
+		<!-- <dependency>
+			<groupId>org.jboss.spec</groupId>
+			<artifactId>jboss-javaee-6.0</artifactId>
+			<version>3.0.0.Beta1</version>
+			<type>pom</type>
+			<scope>provided</scope>
+			<exclusions>
+				<exclusion>
+					<groupId>org.apache.xalan</groupId>
+					<artifactId>xalan</artifactId>
+				</exclusion>
+			</exclusions>
+		</dependency> -->
 	</dependencies>
 	<build>
 		<finalName>platform-b2b</finalName>
@@ -200,6 +220,28 @@
 					<target>1.7</target>
 				</configuration>
 			</plugin>
+			<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>
 		</plugins>
 	</build>
 </project>