pom.xml更新
This commit is contained in:
		
							
								
								
									
										45
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										45
									
								
								pom.xml
									
									
									
									
									
								
							| @@ -24,7 +24,7 @@ | |||||||
| 			<groupId>junit</groupId> | 			<groupId>junit</groupId> | ||||||
| 			<artifactId>junit</artifactId> | 			<artifactId>junit</artifactId> | ||||||
| 			<version>4.11</version> | 			<version>4.11</version> | ||||||
| 			<scope>test</scope> | 			<!-- <scope>test</scope> --> | ||||||
| 		</dependency> | 		</dependency> | ||||||
| 		<dependency> | 		<dependency> | ||||||
| 			<groupId>commons-logging</groupId> | 			<groupId>commons-logging</groupId> | ||||||
| @@ -154,6 +154,7 @@ | |||||||
| 		<finalName>useful-code</finalName> | 		<finalName>useful-code</finalName> | ||||||
| 		<pluginManagement> | 		<pluginManagement> | ||||||
| 			<plugins> | 			<plugins> | ||||||
|  | 				<!-- mybatis-generator 插件; Run AS——>Maven Build… ——>在Goals框中输入:mybatis-generator:generate --> | ||||||
| 				<plugin> | 				<plugin> | ||||||
| 					<groupId>org.mybatis.generator</groupId> | 					<groupId>org.mybatis.generator</groupId> | ||||||
| 					<artifactId>mybatis-generator-maven-plugin</artifactId> | 					<artifactId>mybatis-generator-maven-plugin</artifactId> | ||||||
| @@ -163,7 +164,49 @@ | |||||||
| 						<overwrite>true</overwrite> | 						<overwrite>true</overwrite> | ||||||
| 					</configuration> | 					</configuration> | ||||||
| 				</plugin> | 				</plugin> | ||||||
|  |  | ||||||
|  | 				<!-- 指定JDK编译版本 --> | ||||||
|  | 				<plugin> | ||||||
|  | 					<groupId>org.apache.maven.plugins</groupId> | ||||||
|  | 					<artifactId>maven-compiler-plugin</artifactId> | ||||||
|  | 					<configuration> | ||||||
|  | 						<source>1.7</source> | ||||||
|  | 						<target>1.7</target> | ||||||
|  | 						<encoding>${file_encoding}</encoding> | ||||||
|  | 					</configuration> | ||||||
|  | 				</plugin> | ||||||
|  |  | ||||||
|  | 				<!-- jetty 服务器; Maven build... -> jetty:run --> | ||||||
|  | 				<plugin> | ||||||
|  | 					<groupId>org.mortbay.jetty</groupId> | ||||||
|  | 					<artifactId>jetty-maven-plugin</artifactId> | ||||||
|  | 					<version>8.1.15.v20140411</version> | ||||||
|  | 					<configuration> | ||||||
|  | 						<webApp> | ||||||
|  | 							<contextPath>/usefull-code</contextPath> | ||||||
|  | 						</webApp> | ||||||
|  | 						<stopKey>exit</stopKey> | ||||||
|  | 						<stopPort>9090</stopPort> | ||||||
|  | 						<scanIntervalSeconds>1</scanIntervalSeconds> | ||||||
|  | 						<connectors> | ||||||
|  | 							<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> | ||||||
|  | 								<port>8080</port> | ||||||
|  | 								<maxIdleTime>60000</maxIdleTime> | ||||||
|  | 							</connector> | ||||||
|  | 						</connectors> | ||||||
|  | 						<requestLog implementation="org.eclipse.jetty.server.NCSARequestLog"> | ||||||
|  | 							<filename>target/access.log</filename> | ||||||
|  | 							<retainDays>90</retainDays> | ||||||
|  | 							<append>false</append> | ||||||
|  | 							<extended>false</extended> | ||||||
|  | 							<logTimeZone>GMT+8:00</logTimeZone> | ||||||
|  | 						</requestLog> | ||||||
|  | 						<!-- <systemProperties> <systemProperty> <name>productionMode</name>  | ||||||
|  | 							<value>${productionMode}</value> </systemProperty> </systemProperties> --> | ||||||
|  | 					</configuration> | ||||||
|  | 				</plugin> | ||||||
| 			</plugins> | 			</plugins> | ||||||
| 		</pluginManagement> | 		</pluginManagement> | ||||||
|  | 		<defaultGoal>compile</defaultGoal> | ||||||
| 	</build> | 	</build> | ||||||
| </project> | </project> | ||||||
|   | |||||||
| @@ -4,7 +4,7 @@ | |||||||
|   "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">   |   "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">   | ||||||
| <generatorConfiguration>   | <generatorConfiguration>   | ||||||
|     <classPathEntry  location="C:\Users\lixiangrong\.m2\repository\mysql\mysql-connector-java\5.1.38\mysql-connector-java-5.1.38.jar"/>   |     <classPathEntry  location="C:\Users\lixiangrong\.m2\repository\mysql\mysql-connector-java\5.1.38\mysql-connector-java-5.1.38.jar"/>   | ||||||
|     <context id="DB2Tables"  targetRuntime="MyBatis3">   |     <context id="MySQL"  targetRuntime="MyBatis3">   | ||||||
|         <commentGenerator>   |         <commentGenerator>   | ||||||
|             <property name="suppressDate" value="true"/>   |             <property name="suppressDate" value="true"/>   | ||||||
|             <property name="suppressAllComments" value="true"/>   |             <property name="suppressAllComments" value="true"/>   | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user