Skip to content

Commit cf8fc6e

Browse files
committed
Submit DataX engine module
1 parent 80b3f0f commit cf8fc6e

File tree

300 files changed

+36736
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

300 files changed

+36736
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
4+
<id>core</id>
5+
<formats>
6+
<format>dir</format>
7+
</formats>
8+
<includeBaseDirectory>false</includeBaseDirectory>
9+
<fileSets>
10+
<fileSet>
11+
<directory>../datax-core/target/core</directory>
12+
<outputDirectory>/</outputDirectory>
13+
</fileSet>
14+
<fileSet>
15+
<directory>../datax-hdfsreader/target/plugin</directory>
16+
<outputDirectory>/</outputDirectory>
17+
</fileSet>
18+
<fileSet>
19+
<directory>../datax-hdfswriter/target/plugin</directory>
20+
<outputDirectory>/</outputDirectory>
21+
</fileSet>
22+
<fileSet>
23+
<directory>../datax-textfilereader/target/plugin</directory>
24+
<outputDirectory>/</outputDirectory>
25+
</fileSet>
26+
<fileSet>
27+
<directory>../datax-textfilewriter/target/plugin</directory>
28+
<outputDirectory>/</outputDirectory>
29+
</fileSet>
30+
<fileSet>
31+
<directory>../datax-ftpreader/target/plugin</directory>
32+
<outputDirectory>/</outputDirectory>
33+
</fileSet>
34+
<fileSet>
35+
<directory>../datax-ftpwriter/target/plugin</directory>
36+
<outputDirectory>/</outputDirectory>
37+
</fileSet>
38+
<fileSet>
39+
<directory>../datax-elasticsearchwriter/target/plugin</directory>
40+
<outputDirectory>/</outputDirectory>
41+
</fileSet>
42+
<fileSet>
43+
<directory>../datax-mysqlreader/target/plugin</directory>
44+
<outputDirectory>/</outputDirectory>
45+
</fileSet>
46+
<fileSet>
47+
<directory>../datax-mysqlwriter/target/plugin</directory>
48+
<outputDirectory>/</outputDirectory>
49+
</fileSet>
50+
</fileSets>
51+
<dependencySets>
52+
<dependencySet>
53+
<useProjectArtifact>true</useProjectArtifact>
54+
<outputDirectory>lib</outputDirectory>
55+
<scope>runtime</scope>
56+
</dependencySet>
57+
</dependencySets>
58+
</assembly>
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<parent>
6+
<artifactId>exchangis-executor-engine-datax</artifactId>
7+
<groupId>com.webank.wedatasphere.exchangis</groupId>
8+
<version>0.5.0.RELEASE</version>
9+
<relativePath>../pom.xml</relativePath>
10+
</parent>
11+
<modelVersion>4.0.0</modelVersion>
12+
13+
<artifactId>datax-assembly</artifactId>
14+
15+
<build>
16+
<plugins>
17+
<plugin>
18+
<groupId>org.apache.maven.plugins</groupId>
19+
<artifactId>maven-assembly-plugin</artifactId>
20+
<version>2.2.1</version>
21+
<executions>
22+
<execution>
23+
<id>assemble</id>
24+
<goals>
25+
<goal>single</goal>
26+
</goals>
27+
<!-- install -->
28+
<phase>install</phase>
29+
</execution>
30+
</executions>
31+
<configuration>
32+
<appendAssemblyId>false</appendAssemblyId>
33+
<attach>false</attach>
34+
<descriptors>
35+
<descriptor>${basedir}/package.xml</descriptor>
36+
</descriptors>
37+
<finalName>datax</finalName>
38+
<outputDirectory>${project.parent.build.directory}</outputDirectory>
39+
</configuration>
40+
</plugin>
41+
</plugins>
42+
</build>
43+
</project>
Lines changed: 197 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<parent>
6+
<artifactId>exchangis-executor-engine-datax</artifactId>
7+
<groupId>com.webank.wedatasphere.exchangis</groupId>
8+
<version>0.5.0.RELEASE</version>
9+
<relativePath>../pom.xml</relativePath>
10+
</parent>
11+
<modelVersion>4.0.0</modelVersion>
12+
<packaging>jar</packaging>
13+
<version>${datax.engine.version}</version>
14+
<artifactId>datax-core</artifactId>
15+
<dependencies>
16+
<dependency>
17+
<groupId>com.alibaba</groupId>
18+
<artifactId>druid</artifactId>
19+
<version>1.0.15</version>
20+
</dependency>
21+
<dependency>
22+
<groupId>com.alibaba</groupId>
23+
<artifactId>fastjson</artifactId>
24+
</dependency>
25+
<dependency>
26+
<groupId>commons-configuration</groupId>
27+
<artifactId>commons-configuration</artifactId>
28+
</dependency>
29+
<dependency>
30+
<groupId>org.apache.commons</groupId>
31+
<artifactId>commons-lang3</artifactId>
32+
</dependency>
33+
<dependency>
34+
<groupId>commons-cli</groupId>
35+
<artifactId>commons-cli</artifactId>
36+
</dependency>
37+
<dependency>
38+
<groupId>commons-pool</groupId>
39+
<artifactId>commons-pool</artifactId>
40+
</dependency>
41+
<dependency>
42+
<groupId>commons-beanutils</groupId>
43+
<artifactId>commons-beanutils</artifactId>
44+
</dependency>
45+
<dependency>
46+
<groupId>org.apache.httpcomponents</groupId>
47+
<artifactId>httpclient</artifactId>
48+
<version>4.4</version>
49+
</dependency>
50+
<dependency>
51+
<groupId>org.apache.httpcomponents</groupId>
52+
<artifactId>fluent-hc</artifactId>
53+
<version>4.4</version>
54+
</dependency>
55+
<dependency>
56+
<groupId>org.codehaus.janino</groupId>
57+
<artifactId>janino</artifactId>
58+
<version>2.5.16</version>
59+
</dependency>
60+
<dependency>
61+
<groupId>org.codehaus.groovy</groupId>
62+
<artifactId>groovy-all</artifactId>
63+
<version>2.1.9</version>
64+
</dependency>
65+
<dependency>
66+
<groupId>net.sourceforge.javacsv</groupId>
67+
<artifactId>javacsv</artifactId>
68+
<version>2.0</version>
69+
</dependency>
70+
<dependency>
71+
<groupId>org.anarres.lzo</groupId>
72+
<artifactId>lzo-core</artifactId>
73+
<version>1.0.5</version>
74+
</dependency>
75+
<dependency>
76+
<groupId>ch.qos.logback</groupId>
77+
<artifactId>logback-classic</artifactId>
78+
</dependency>
79+
<dependency>
80+
<groupId>org.slf4j</groupId>
81+
<artifactId>slf4j-api</artifactId>
82+
</dependency>
83+
<dependency>
84+
<groupId>io.airlift</groupId>
85+
<artifactId>aircompressor</artifactId>
86+
<version>0.3</version>
87+
</dependency>
88+
<dependency>
89+
<groupId>com.facebook.presto.hadoop</groupId>
90+
<artifactId>hadoop-apache2</artifactId>
91+
<version>0.3</version>
92+
<scope>provided</scope>
93+
</dependency>
94+
<dependency>
95+
<groupId>junit</groupId>
96+
<artifactId>junit</artifactId>
97+
<scope>test</scope>
98+
</dependency>
99+
<dependency>
100+
<groupId>org.apache.commons</groupId>
101+
<artifactId>commons-math3</artifactId>
102+
</dependency>
103+
<dependency>
104+
<groupId>org.apache.commons</groupId>
105+
<artifactId>commons-compress</artifactId>
106+
</dependency>
107+
<dependency>
108+
<groupId>commons-io</groupId>
109+
<artifactId>commons-io</artifactId>
110+
</dependency>
111+
<dependency>
112+
<groupId>com.google.guava</groupId>
113+
<artifactId>guava</artifactId>
114+
</dependency>
115+
<dependency>
116+
<groupId>com.google.code.gson</groupId>
117+
<artifactId>gson</artifactId>
118+
</dependency>
119+
<dependency>
120+
<groupId>com.dm</groupId>
121+
<artifactId>dm</artifactId>
122+
<version>16</version>
123+
<scope>system</scope>
124+
<systemPath>${basedir}/src/main/lib/Dm7JdbcDriver16.jar</systemPath>
125+
</dependency>
126+
<dependency>
127+
<groupId>com.sybase</groupId>
128+
<artifactId>jconn3</artifactId>
129+
<version>1.0.0-SNAPSHOT</version>
130+
<scope>system</scope>
131+
<systemPath>${basedir}/src/main/lib/jconn3-1.0.0-SNAPSHOT.jar</systemPath>
132+
</dependency>
133+
<dependency>
134+
<groupId>ppas</groupId>
135+
<artifactId>ppas</artifactId>
136+
<version>16</version>
137+
<scope>system</scope>
138+
<systemPath>${basedir}/src/main/lib/edb-jdbc16.jar</systemPath>
139+
</dependency>
140+
<!--hadoop dependency-->
141+
<dependency>
142+
<groupId>org.apache.hadoop</groupId>
143+
<artifactId>hadoop-common</artifactId>
144+
<version>${hadoop.version}</version>
145+
<exclusions>
146+
<exclusion>
147+
<groupId>org.apache.commons</groupId>
148+
<artifactId>commons-compress</artifactId>
149+
</exclusion>
150+
<exclusion>
151+
<artifactId>slf4j-log4j12</artifactId>
152+
<groupId>org.slf4j</groupId>
153+
</exclusion>
154+
</exclusions>
155+
</dependency>
156+
</dependencies>
157+
<build>
158+
<resources>
159+
<resource>
160+
<directory>src/main/resources</directory>
161+
<excludes>
162+
<exclude>**/*</exclude>
163+
</excludes>
164+
</resource>
165+
</resources>
166+
<plugins>
167+
<plugin>
168+
<groupId>org.apache.maven.plugins</groupId>
169+
<artifactId>maven-assembly-plugin</artifactId>
170+
<version>2.2.1</version>
171+
<executions>
172+
<execution>
173+
<id>assemble</id>
174+
<goals>
175+
<goal>single</goal>
176+
</goals>
177+
<!-- install -->
178+
<phase>install</phase>
179+
</execution>
180+
</executions>
181+
<configuration>
182+
<appendAssemblyId>false</appendAssemblyId>
183+
<attach>false</attach>
184+
<archive>
185+
<manifest>
186+
<mainClass>com.alibaba.datax.core.Engine</mainClass>
187+
</manifest>
188+
</archive>
189+
<descriptors>
190+
<descriptor>${basedir}/src/main/assembly/package.xml</descriptor>
191+
</descriptors>
192+
<finalName>core</finalName>
193+
</configuration>
194+
</plugin>
195+
</plugins>
196+
</build>
197+
</project>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
4+
<id>core</id>
5+
<formats>
6+
<format>dir</format>
7+
</formats>
8+
<includeBaseDirectory>false</includeBaseDirectory>
9+
<fileSets>
10+
<fileSet>
11+
<directory>src/main/resources</directory>
12+
<outputDirectory>conf</outputDirectory>
13+
</fileSet>
14+
<fileSet>
15+
<directory>src/main/bin</directory>
16+
<outputDirectory>bin</outputDirectory>
17+
</fileSet>
18+
<fileSet>
19+
<directory>src/main/log</directory>
20+
<outputDirectory>log</outputDirectory>
21+
</fileSet>
22+
</fileSets>
23+
<dependencySets>
24+
<dependencySet>
25+
<useProjectArtifact>true</useProjectArtifact>
26+
<outputDirectory>lib</outputDirectory>
27+
<scope>runtime</scope>
28+
</dependencySet>
29+
</dependencySets>
30+
</assembly>

0 commit comments

Comments
 (0)