112 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			112 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
|  | <?xml version="1.0"?> | ||
|  | <project | ||
|  | 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
|  | 	xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
|  | 	<modelVersion>4.0.0</modelVersion> | ||
|  | 	<parent> | ||
|  | 		<groupId>com.baeldung</groupId> | ||
|  | 		<artifactId>parent-modules</artifactId> | ||
|  | 		<version>1.0.0-SNAPSHOT</version> | ||
|  | 	</parent> | ||
|  | 	<groupId>com.baeldung</groupId> | ||
|  | 	<artifactId>vertx</artifactId> | ||
|  | 	<version>1.0-SNAPSHOT</version> | ||
|  | 	<name>vertx</name> | ||
|  | 	<url>http://maven.apache.org</url> | ||
|  | 	<dependencies> | ||
|  | 		<dependency> | ||
|  | 			<groupId>junit</groupId> | ||
|  | 			<artifactId>junit</artifactId> | ||
|  | 			<version>4.12</version> | ||
|  | 			<scope>test</scope> | ||
|  | 		</dependency> | ||
|  | 
 | ||
|  | 		<dependency> | ||
|  | 			<groupId>io.vertx</groupId> | ||
|  | 			<artifactId>vertx-core</artifactId> | ||
|  | 			<version>3.0.0</version> | ||
|  | 		</dependency> | ||
|  | 
 | ||
|  | 		<dependency> | ||
|  | 			<groupId>io.vertx</groupId> | ||
|  | 			<artifactId>vertx-web</artifactId> | ||
|  | 			<version>3.0.0</version> | ||
|  | 		</dependency> | ||
|  | 
 | ||
|  | 		<dependency> | ||
|  | 			<groupId>io.vertx</groupId> | ||
|  | 			<artifactId>vertx-unit</artifactId> | ||
|  | 			<version>3.0.0</version> | ||
|  | 			<scope>test</scope> | ||
|  | 		</dependency> | ||
|  | 		 | ||
|  | 		<!-- logging --> | ||
|  | 
 | ||
|  |         <dependency> | ||
|  |             <groupId>org.slf4j</groupId> | ||
|  |             <artifactId>slf4j-api</artifactId> | ||
|  |             <version>${org.slf4j.version}</version> | ||
|  |         </dependency> | ||
|  |         <dependency> | ||
|  |             <groupId>ch.qos.logback</groupId> | ||
|  |             <artifactId>logback-classic</artifactId> | ||
|  |             <version>${logback.version}</version> | ||
|  |         </dependency> | ||
|  | 	</dependencies> | ||
|  | 
 | ||
|  | 	<build> | ||
|  | 		<plugins> | ||
|  | 			<plugin> | ||
|  | 				<artifactId>maven-compiler-plugin</artifactId> | ||
|  | 				<version>3.3</version> | ||
|  | 				<configuration> | ||
|  | 					<source>1.8</source> | ||
|  | 					<target>1.8</target> | ||
|  | 				</configuration> | ||
|  | 			</plugin> | ||
|  | 			<plugin> | ||
|  | 				<groupId>org.apache.maven.plugins</groupId> | ||
|  | 				<artifactId>maven-shade-plugin</artifactId> | ||
|  | 				<version>2.3</version> | ||
|  | 				<executions> | ||
|  | 					<execution> | ||
|  | 						<phase>package</phase> | ||
|  | 						<goals> | ||
|  | 							<goal>shade</goal> | ||
|  | 						</goals> | ||
|  | 						<configuration> | ||
|  | 							<transformers> | ||
|  | 								<transformer | ||
|  | 									implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | ||
|  | 									<manifestEntries> | ||
|  | 										<Main-Class>io.vertx.core.Starter</Main-Class> | ||
|  | 										<Main-Verticle>com.baeldung.SimpleServerVerticle</Main-Verticle> | ||
|  | 									</manifestEntries> | ||
|  | 								</transformer> | ||
|  | 							</transformers> | ||
|  | 							<artifactSet /> | ||
|  | 							<outputFile>${project.build.directory}/${project.artifactId}-${project.version}-app.jar</outputFile> | ||
|  | 						</configuration> | ||
|  | 					</execution> | ||
|  | 				</executions> | ||
|  | 			</plugin> | ||
|  | 		</plugins> | ||
|  | 	</build> | ||
|  | 	 | ||
|  | 	 <properties> | ||
|  | 
 | ||
|  |         <!-- logging --> | ||
|  |         <org.slf4j.version>1.7.21</org.slf4j.version> | ||
|  |         <logback.version>1.1.7</logback.version> | ||
|  | 
 | ||
|  |         <!-- testing --> | ||
|  |         <testng.version>6.10</testng.version> | ||
|  | 
 | ||
|  |         <!-- maven plugins --> | ||
|  |         <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version> | ||
|  |         <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version> | ||
|  | 
 | ||
|  |     </properties> | ||
|  | 	 | ||
|  | </project> |