-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The user name will be remembered when logging in
- Loading branch information
zhangminke
committed
Oct 10, 2022
1 parent
cde828e
commit 554894a
Showing
16 changed files
with
1,346 additions
and
1,362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,160 +1,119 @@ | ||
<?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>cn.mastercom.bigdata</groupId> | ||
<artifactId>HdfsManager</artifactId> | ||
<version>0.0.3-SNAPSHOT</version> | ||
|
||
<properties> | ||
<haddop.version>3.2.3</haddop.version> | ||
</properties> | ||
|
||
<dependencies> | ||
|
||
<dependency> | ||
<groupId>org.apache.hadoop</groupId> | ||
<artifactId>hadoop-hdfs</artifactId> | ||
<version>${haddop.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.apache.hadoop</groupId> | ||
<artifactId>hadoop-client</artifactId> | ||
<version>${haddop.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.apache.hadoop</groupId> | ||
<artifactId>hadoop-common</artifactId> | ||
<version>${haddop.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.apache.hadoop</groupId> | ||
<artifactId>hadoop-yarn-client</artifactId> | ||
<version>${haddop.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>io.vavr</groupId> | ||
<artifactId>vavr</artifactId> | ||
<version>0.9.2</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.13.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<!--<dependency>--> | ||
<!--<groupId>org.apache.hive</groupId>--> | ||
<!--<artifactId>hive-jdbc</artifactId>--> | ||
<!--<version>1.2.1</version>--> | ||
<!--</dependency>--> | ||
|
||
<!--<dependency>--> | ||
<!--<groupId>org.apache.hive</groupId>--> | ||
<!--<artifactId>hive-metastore</artifactId>--> | ||
<!--<version>1.2.1</version>--> | ||
<!--</dependency>--> | ||
|
||
<!--<dependency>--> | ||
<!--<groupId>org.apache.hive</groupId>--> | ||
<!--<artifactId>hive-exec</artifactId>--> | ||
<!--<version>1.2.1</version>--> | ||
<!--</dependency>--> | ||
|
||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<configuration> | ||
<source>1.8</source> <!-- 源代码使用的开发版本 --> | ||
<target>1.8</target> <!-- 需要生成的目标class文件的编译版本 --> | ||
<encoding>utf8</encoding> | ||
</configuration> | ||
</plugin> | ||
|
||
<!-- <plugin>--> | ||
<!-- <groupId>org.apache.maven.plugins</groupId>--> | ||
<!-- <artifactId>maven-shade-plugin</artifactId>--> | ||
<!-- <version>2.1</version>--> | ||
<!-- <executions>--> | ||
<!-- <execution>--> | ||
<!-- <phase>package</phase>--> | ||
<!-- <goals>--> | ||
<!-- <goal>shade</goal>--> | ||
<!-- </goals>--> | ||
<!-- <configuration>--> | ||
<!-- <createDependencyReducedPom>true</createDependencyReducedPom>--> | ||
<!-- <transformers>--> | ||
<!-- <transformer--> | ||
<!-- implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">--> | ||
<!-- <mainClass>hdfsmanager.App</mainClass>--> | ||
<!-- </transformer>--> | ||
<!-- </transformers>--> | ||
<!-- </configuration>--> | ||
<!-- </execution>--> | ||
<!-- </executions>--> | ||
<!-- </plugin>--> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<configuration> | ||
<archive> | ||
<manifest> | ||
<addClasspath>true</addClasspath> | ||
<classpathPrefix>${project.artifactId}_lib/</classpathPrefix> | ||
<mainClass>hdfsmanager.App</mainClass> | ||
</manifest> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-dependency-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>copy</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>copy-dependencies</goal> | ||
</goals> | ||
<configuration> | ||
<outputDirectory>${project.build.directory}/${project.artifactId}_lib</outputDirectory> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<!-- IDEA Gui Designer Plugin --> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>ideauidesigner-maven-plugin</artifactId> | ||
<version>1.0-beta-1</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>javac2</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<fork>true</fork> | ||
<debug>true</debug> | ||
<failOnError>true</failOnError> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
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>cn.mastercom.bigdata</groupId> | ||
<artifactId>HdfsManager</artifactId> | ||
<version>0.0.3-SNAPSHOT</version> | ||
|
||
<properties> | ||
<haddop.version>3.2.3</haddop.version> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.hadoop</groupId> | ||
<artifactId>hadoop-hdfs</artifactId> | ||
<version>${haddop.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.apache.hadoop</groupId> | ||
<artifactId>hadoop-client</artifactId> | ||
<version>${haddop.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.apache.hadoop</groupId> | ||
<artifactId>hadoop-common</artifactId> | ||
<version>${haddop.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.apache.hadoop</groupId> | ||
<artifactId>hadoop-yarn-client</artifactId> | ||
<version>${haddop.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>io.vavr</groupId> | ||
<artifactId>vavr</artifactId> | ||
<version>0.9.2</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.13.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<configuration> | ||
<source>1.8</source> | ||
<target>1.8</target> | ||
<encoding>utf8</encoding> | ||
</configuration> | ||
</plugin> | ||
<!-- <plugin>--> | ||
<!-- <groupId>org.apache.maven.plugins</groupId>--> | ||
<!-- <artifactId>maven-jar-plugin</artifactId>--> | ||
<!-- <configuration>--> | ||
<!-- <archive>--> | ||
<!-- <manifest>--> | ||
<!-- <addClasspath>true</addClasspath>--> | ||
<!-- <classpathPrefix>${project.artifactId}_lib/</classpathPrefix>--> | ||
<!-- <mainClass>hdfsmanager.App</mainClass>--> | ||
<!-- </manifest>--> | ||
<!-- </archive>--> | ||
<!-- </configuration>--> | ||
<!-- </plugin>--> | ||
<!-- <plugin>--> | ||
<!-- <groupId>org.apache.maven.plugins</groupId>--> | ||
<!-- <artifactId>maven-dependency-plugin</artifactId>--> | ||
<!-- <executions>--> | ||
<!-- <execution>--> | ||
<!-- <id>copy</id>--> | ||
<!-- <phase>package</phase>--> | ||
<!-- <goals>--> | ||
<!-- <goal>copy-dependencies</goal>--> | ||
<!-- </goals>--> | ||
<!-- <configuration>--> | ||
<!-- <outputDirectory>${project.build.directory}/${project.artifactId}_lib</outputDirectory>--> | ||
<!-- </configuration>--> | ||
<!-- </execution>--> | ||
<!-- </executions>--> | ||
<!-- </plugin>--> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-shade-plugin</artifactId> | ||
<version>3.2.4</version> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>shade</goal> | ||
</goals> | ||
<configuration> | ||
<createDependencyReducedPom>true</createDependencyReducedPom> | ||
<shadedArtifactAttached>true</shadedArtifactAttached> | ||
<transformers> | ||
<transformer | ||
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | ||
<mainClass>hdfsmanager.App</mainClass> | ||
</transformer> | ||
</transformers> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.