|
@@ -0,0 +1,118 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+
|
|
|
+ <groupId>hello.world</groupId>
|
|
|
+ <artifactId>hello-blade</artifactId>
|
|
|
+ <version>1.0.0-BUILD-SNAPSHOT</version>
|
|
|
+
|
|
|
+ <properties>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
+ <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
|
|
+ <java.version>1.8</java.version>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.bladejava</groupId>
|
|
|
+ <artifactId>blade-mvc</artifactId>
|
|
|
+ <version>2.0.3</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.netty</groupId>
|
|
|
+ <artifactId>netty-transport-native-epoll</artifactId>
|
|
|
+ <version>4.1.16.Final</version>
|
|
|
+ <classifier>linux-x86_64</classifier>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.bladejava</groupId>
|
|
|
+ <artifactId>blade-jdbc</artifactId>
|
|
|
+ <version>0.2.2-beta</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ <version>5.1.41</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.zaxxer</groupId>
|
|
|
+ <artifactId>HikariCP</artifactId>
|
|
|
+ <version>2.7.1</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/java</directory>
|
|
|
+ <filtering>false</filtering>
|
|
|
+ <excludes>
|
|
|
+ <exclude>**/*.java</exclude>
|
|
|
+ </excludes>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+ <extensions>
|
|
|
+ <extension>
|
|
|
+ <groupId>kr.motd.maven</groupId>
|
|
|
+ <artifactId>os-maven-plugin</artifactId>
|
|
|
+ <version>1.5.0.Final</version>
|
|
|
+ </extension>
|
|
|
+ </extensions>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <source>1.8</source>
|
|
|
+ <target>1.8</target>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <appendAssemblyId>false</appendAssemblyId>
|
|
|
+ <descriptors>
|
|
|
+ <descriptor>package.xml</descriptor>
|
|
|
+ </descriptors>
|
|
|
+ <outputDirectory>${project.build.directory}/dist/</outputDirectory>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>make-assembly</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>single</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
+ <version>2.4</version>
|
|
|
+ <configuration>
|
|
|
+ <archive>
|
|
|
+ <manifest>
|
|
|
+ <mainClass>hello.Application</mainClass>
|
|
|
+ <classpathPrefix>lib/</classpathPrefix>
|
|
|
+ <addClasspath>true</addClasspath>
|
|
|
+ </manifest>
|
|
|
+ <manifestEntries>
|
|
|
+ <!-- Add the path to the configuration file under Class-Path -->
|
|
|
+ <Class-Path>resources/</Class-Path>
|
|
|
+ </manifestEntries>
|
|
|
+ </archive>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+
|
|
|
+</project>
|