赞
踩
<?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>com.jipf</groupId> <artifactId>data-convert-tools</artifactId> <version>1.0</version> <packaging>jar</packaging> <properties> <java.version>1.8</java.version> <mysql-connector-java.version>5.1.46</mysql-connector-java.version> <hadoop-common.version>2.7.3</hadoop-common.version> <hadoop-client.version>2.7.3</hadoop-client.version> <hadoop-hdfs.version>2.7.3</hadoop-hdfs.version> </properties> <dependencies> <!--MySQL JDBC驱动--> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>${mysql-connector-java.version}</version> </dependency> <!-- hadoop 相关依赖 --> <!--<dependency>--> <!--<groupId>org.apache.hadoop</groupId>--> <!--<artifactId>hadoop-common</artifactId>--> <!--<version>${hadoop-common.version}</version>--> <!--</dependency>--> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client</artifactId> <version>${hadoop-client.version}</version> </dependency> <!--<dependency>--> <!--<groupId>org.apache.hadoop</groupId>--> <!--<artifactId>hadoop-hdfs</artifactId>--> <!--<version>${hadoop-hdfs.version}</version>--> <!--</dependency>--> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>1.5.15.RELEASE</version> <configuration> <mainClass>com.geotmt.tools.GeotmtToolMain</mainClass> <layout>JAR</layout> </configuration> <executions> <execution> <goals> <goal>repackage</goal> </goals> </execution> </executions> </plugin> </plugins> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <!--打包排除配置文件--> <excludes> <exclude>**/*.properties</exclude> </excludes> </resource> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> </resources> </build> </project>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。