zqq90 vor 8 Jahren
Ursprung
Commit
1e1563b8de

+ 2 - 2
hdata-csv/pom.xml

@@ -12,12 +12,12 @@
 		<dependency>
 			<groupId>com.github.stuxuhai</groupId>
 			<artifactId>hdata-api</artifactId>
-      <scope>provided</scope>
+			<scope>provided</scope>
 		</dependency>
 		<dependency>
 			<groupId>com.github.stuxuhai</groupId>
 			<artifactId>hdata-core</artifactId>
-      <scope>provided</scope>
+			<scope>provided</scope>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.commons</groupId>

+ 1 - 1
hdata-excel/pom.xml

@@ -12,7 +12,7 @@
 		<dependency>
 			<groupId>com.github.stuxuhai</groupId>
 			<artifactId>hdata-api</artifactId>
-      <scope>provided</scope>
+			<scope>provided</scope>
 		</dependency>
 		<dependency>
 			<groupId>com.google.guava</groupId>

+ 1 - 1
hdata-ftp/pom.xml

@@ -12,7 +12,7 @@
 		<dependency>
 			<groupId>com.github.stuxuhai</groupId>
 			<artifactId>hdata-api</artifactId>
-      <scope>provided</scope>
+			<scope>provided</scope>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.commons</groupId>

+ 1 - 1
hdata-hbase/pom.xml

@@ -17,7 +17,7 @@
 		<dependency>
 			<groupId>com.github.stuxuhai</groupId>
 			<artifactId>hdata-api</artifactId>
-      <scope>provided</scope>
+			<scope>provided</scope>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.hadoop</groupId>

+ 1 - 1
hdata-hdfs/pom.xml

@@ -16,7 +16,7 @@
 		<dependency>
 			<groupId>com.github.stuxuhai</groupId>
 			<artifactId>hdata-api</artifactId>
-      <scope>provided</scope>
+			<scope>provided</scope>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.hadoop</groupId>

+ 3 - 3
hdata-hdfs/src/main/java/com/github/stuxuhai/hdata/plugin/reader/hdfs/HDFSReader.java

@@ -61,9 +61,9 @@ public class HDFSReader extends Reader {
 	public void execute(RecordCollector recordCollector) {
 		Configuration conf = new Configuration();
 		if (readerConfig.containsKey(HDFSReaderProperties.HDFS_CONF_PATH)) {
-      for (String path: readerConfig.getString(HDFSReaderProperties.HDFS_CONF_PATH).split(",")) {
-        conf.addResource(new Path("file://" + path));
-      }
+			for (String path: readerConfig.getString(HDFSReaderProperties.HDFS_CONF_PATH).split(",")) {
+				conf.addResource(new Path("file://" + path));
+			}
 		}
 
 		CompressionCodecFactory codecFactory = new CompressionCodecFactory(conf);

+ 3 - 3
hdata-hdfs/src/main/java/com/github/stuxuhai/hdata/plugin/reader/hdfs/HDFSSplitter.java

@@ -45,9 +45,9 @@ public class HDFSSplitter extends Splitter {
 
 		Configuration conf = new Configuration();
 		if (readerConfig.containsKey(HDFSReaderProperties.HDFS_CONF_PATH)) {
-      for (String path: readerConfig.getString(HDFSReaderProperties.HDFS_CONF_PATH).split(",")) {
-        conf.addResource(new Path("file://" + path));
-      }
+			for (String path: readerConfig.getString(HDFSReaderProperties.HDFS_CONF_PATH).split(",")) {
+				conf.addResource(new Path("file://" + path));
+			}
 		}
 		try {
 			FileSystem fs = dir.getFileSystem(conf);

+ 3 - 3
hdata-hdfs/src/main/java/com/github/stuxuhai/hdata/plugin/writer/hdfs/HDFSWriter.java

@@ -154,9 +154,9 @@ public class HDFSWriter extends Writer {
 			Path hdfsPath = createFilePath(fileNum++);
 			conf = new Configuration();
 			if (writerConfig.containsKey(HDFSWriterProperties.HDFS_CONF_PATH)) {
-        for (String path: writerConfig.getString(HDFSWriterProperties.HDFS_CONF_PATH).split(",")) {
-          conf.addResource(new Path("file://" + path));
-        }
+				for (String path: writerConfig.getString(HDFSWriterProperties.HDFS_CONF_PATH).split(",")) {
+					conf.addResource(new Path("file://" + path));
+				}
 			}
 
 			try {

+ 1 - 1
hdata-hive/pom.xml

@@ -17,7 +17,7 @@
 		<dependency>
 			<groupId>com.github.stuxuhai</groupId>
 			<artifactId>hdata-api</artifactId>
-      <scope>provided</scope>
+			<scope>provided</scope>
 		</dependency>
 		<dependency>
 			<groupId>org.anarres.lzo</groupId>

+ 1 - 1
hdata-http/pom.xml

@@ -12,7 +12,7 @@
 		<dependency>
 			<groupId>com.github.stuxuhai</groupId>
 			<artifactId>hdata-api</artifactId>
-      <scope>provided</scope>
+			<scope>provided</scope>
 		</dependency>
 		<dependency>
 			<groupId>com.google.guava</groupId>

+ 2 - 2
hdata-jdbc/pom.xml

@@ -12,12 +12,12 @@
 		<dependency>
 			<groupId>com.github.stuxuhai</groupId>
 			<artifactId>hdata-api</artifactId>
-      <scope>provided</scope>
+			<scope>provided</scope>
 		</dependency>
 		<dependency>
 			<groupId>com.github.stuxuhai</groupId>
 			<artifactId>hdata-core</artifactId>
-      <scope>provided</scope>
+			<scope>provided</scope>
 		</dependency>
 		<dependency>
 			<groupId>com.google.guava</groupId>

+ 1 - 1
hdata-kafka/pom.xml

@@ -12,7 +12,7 @@
 		<dependency>
 			<groupId>com.github.stuxuhai</groupId>
 			<artifactId>hdata-api</artifactId>
-      <scope>provided</scope>
+			<scope>provided</scope>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.kafka</groupId>

+ 1 - 1
hdata-mongodb/pom.xml

@@ -12,7 +12,7 @@
 		<dependency>
 			<groupId>com.github.stuxuhai</groupId>
 			<artifactId>hdata-api</artifactId>
-      <scope>provided</scope>
+			<scope>provided</scope>
 		</dependency>
 		<dependency>
 			<groupId>org.mongodb</groupId>

+ 86 - 86
pom.xml

@@ -1,93 +1,93 @@
 <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.github.stuxuhai</groupId>
-  <artifactId>hdata</artifactId>
-  <version>0.2.8</version>
-  <name>HData</name>
-  <packaging>pom</packaging>
+		 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.github.stuxuhai</groupId>
+	<artifactId>hdata</artifactId>
+	<version>0.2.8</version>
+	<name>HData</name>
+	<packaging>pom</packaging>
 
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <maven.compiler.source>1.7</maven.compiler.source>
-    <maven.compiler.target>1.7</maven.compiler.target>
-  </properties>
+	<properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<maven.compiler.source>1.7</maven.compiler.source>
+		<maven.compiler.target>1.7</maven.compiler.target>
+	</properties>
 
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>com.github.stuxuhai</groupId>
-        <artifactId>hdata-api</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>com.github.stuxuhai</groupId>
-        <artifactId>hdata-core</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
+	<dependencyManagement>
+		<dependencies>
+			<dependency>
+				<groupId>com.github.stuxuhai</groupId>
+				<artifactId>hdata-api</artifactId>
+				<version>${project.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>com.github.stuxuhai</groupId>
+				<artifactId>hdata-core</artifactId>
+				<version>${project.version}</version>
+			</dependency>
+		</dependencies>
+	</dependencyManagement>
 
-  <profiles>
-    <profile>
-      <id>copy-dependency</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-dependency-plugin</artifactId>
-            <configuration>
-              <includeScope>runtime</includeScope>
-            </configuration>
-            <executions>
-              <execution>
-                <phase>package</phase>
-                <goals>
-                  <goal>copy-dependencies</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
+	<profiles>
+		<profile>
+			<id>copy-dependency</id>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-dependency-plugin</artifactId>
+						<configuration>
+							<includeScope>runtime</includeScope>
+						</configuration>
+						<executions>
+							<execution>
+								<phase>package</phase>
+								<goals>
+									<goal>copy-dependencies</goal>
+								</goals>
+							</execution>
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+	</profiles>
 
-  <build>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-compiler-plugin</artifactId>
-          <version>3.5.1</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-jar-plugin</artifactId>
-          <version>2.6</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-dependency-plugin</artifactId>
-          <version>2.10</version>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-  </build>
+	<build>
+		<pluginManagement>
+			<plugins>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-compiler-plugin</artifactId>
+					<version>3.5.1</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-jar-plugin</artifactId>
+					<version>2.6</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-dependency-plugin</artifactId>
+					<version>2.10</version>
+				</plugin>
+			</plugins>
+		</pluginManagement>
+	</build>
 
-  <modules>
-    <module>hdata-api</module>
-    <module>hdata-core</module>
-    <module>hdata-console</module>
-    <module>hdata-csv</module>
-    <module>hdata-jdbc</module>
-    <module>hdata-ftp</module>
-    <module>hdata-http</module>
-    <module>hdata-kafka</module>
-    <module>hdata-hdfs</module>
-    <module>hdata-hive</module>
-    <module>hdata-hbase</module>
-    <module>hdata-mongodb</module>
-    <module>hdata-excel</module>
-  </modules>
+	<modules>
+		<module>hdata-api</module>
+		<module>hdata-core</module>
+		<module>hdata-console</module>
+		<module>hdata-csv</module>
+		<module>hdata-jdbc</module>
+		<module>hdata-ftp</module>
+		<module>hdata-http</module>
+		<module>hdata-kafka</module>
+		<module>hdata-hdfs</module>
+		<module>hdata-hive</module>
+		<module>hdata-hbase</module>
+		<module>hdata-mongodb</module>
+		<module>hdata-excel</module>
+	</modules>
 </project>