Skip to content

Commit

Permalink
refactoring hadoop modules
Browse files Browse the repository at this point in the history
  • Loading branch information
nofateg authored Jan 26, 2024
1 parent f67f1c9 commit 90edd01
Show file tree
Hide file tree
Showing 12 changed files with 73 additions and 53 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?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>

<parent>
<groupId>oap</groupId>
<artifactId>oap</artifactId>
<artifactId>oap-hadoop-parent</artifactId>
<version>${oap.project.version}</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>oap-hadoop-test</artifactId>

<dependencies>
Expand Down
62 changes: 62 additions & 0 deletions oap-hadoop/oap-hadoop/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?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">

<parent>
<groupId>oap</groupId>
<artifactId>oap-hadoop-parent</artifactId>
<version>${oap.project.version}</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>oap-hadoop</artifactId>

<dependencies>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bundle</artifactId>
<version>${oap.deps.aws-java-sdk-bundle.version}</version>
</dependency>
<dependency>
<groupId>oap</groupId>
<artifactId>oap-stdlib</artifactId>
<version>${project.parent.version}</version>
</dependency>

<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-aws</artifactId>
<version>${oap.deps.hadoop.version}</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId>
<version>${oap.deps.hadoop.version}</version>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-reload4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${oap.deps.lombok.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

</project>
57 changes: 8 additions & 49 deletions oap-hadoop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,61 +2,20 @@
<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">

<packaging>pom</packaging>

<parent>
<groupId>oap</groupId>
<artifactId>oap</artifactId>
<version>${oap.project.version}</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>oap-hadoop</artifactId>

<dependencies>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bundle</artifactId>
<version>${oap.deps.aws-java-sdk-bundle.version}</version>
</dependency>
<dependency>
<groupId>oap</groupId>
<artifactId>oap-stdlib</artifactId>
<version>${project.parent.version}</version>
</dependency>

<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-aws</artifactId>
<version>${oap.deps.hadoop.version}</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId>
<version>${oap.deps.hadoop.version}</version>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-reload4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${oap.deps.lombok.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<artifactId>oap-hadoop-parent</artifactId>
<name>oap-hadoop-parent</name>

<modules>
<module>oap-hadoop</module>
<module>oap-hadoop-test</module>
</modules>
</project>
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<module>oap-jpath</module>
<module>oap-pnio</module>
<module>oap-hadoop</module>
<module>oap-hadoop-test</module>
<module>oap-maven-plugin</module>
</modules>

Expand All @@ -46,7 +45,7 @@
</repositories>

<properties>
<oap.project.version>21.3.1</oap.project.version>
<oap.project.version>21.3.2</oap.project.version>

<oap.deps.config.version>21.0.0</oap.deps.config.version>

Expand Down

0 comments on commit 90edd01

Please sign in to comment.