Skip to content

Commit 1fd1970

Browse files
ysq
1 parent 2021814 commit 1fd1970

File tree

4 files changed

+421
-0
lines changed

4 files changed

+421
-0
lines changed

elasticsearch5/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/target/
2+
target/*
3+
.project
4+
.settings
5+
.classpath
6+
.metadata/

elasticsearch5/assembly.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<assembly
2+
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
5+
<formats>
6+
<format>jar</format>
7+
</formats>
8+
<id>with-dependencies</id>
9+
<includeBaseDirectory>false</includeBaseDirectory>
10+
<dependencySets>
11+
<dependencySet>
12+
<outputDirectory>/</outputDirectory>
13+
<useProjectArtifact>true</useProjectArtifact>
14+
<unpack>true</unpack>
15+
<scope>runtime</scope>
16+
</dependencySet>
17+
</dependencySets>
18+
</assembly>

elasticsearch5/pom.xml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<groupId>com.dtstack.logstash.output</groupId>
6+
<artifactId>elasticsearch5</artifactId>
7+
<version>0.0.1-SNAPSHOT</version>
8+
<packaging>jar</packaging>
9+
10+
<name>elasticsearch5</name>
11+
<url>http://maven.apache.org</url>
12+
13+
<properties>
14+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15+
</properties>
16+
17+
<build>
18+
<resources>
19+
<resource>
20+
<directory>src/main/java/</directory>
21+
</resource>
22+
<resource>
23+
<directory>src/main/resources/</directory>
24+
</resource>
25+
</resources>
26+
<plugins>
27+
<plugin>
28+
<groupId>org.apache.maven.plugins</groupId>
29+
<artifactId>maven-assembly-plugin</artifactId>
30+
<configuration>
31+
<descriptors>
32+
<descriptor>assembly.xml</descriptor>
33+
</descriptors>
34+
</configuration>
35+
<executions>
36+
<execution>
37+
<phase>package</phase>
38+
<goals>
39+
<goal>single</goal>
40+
</goals>
41+
</execution>
42+
</executions>
43+
</plugin>
44+
<plugin>
45+
<groupId>org.apache.maven.plugins</groupId>
46+
<artifactId>maven-compiler-plugin</artifactId>
47+
<version>2.3.2</version>
48+
<configuration>
49+
<source>1.7</source>
50+
<target>1.7</target>
51+
<compilerVersion>1.7</compilerVersion>
52+
</configuration>
53+
</plugin>
54+
</plugins>
55+
</build>
56+
57+
<dependencies>
58+
<dependency>
59+
<groupId>org.elasticsearch.client</groupId>
60+
<artifactId>transport</artifactId>
61+
<version>5.0.1</version>
62+
</dependency>
63+
64+
<dependency>
65+
<groupId>org.apache.logging.log4j</groupId>
66+
<artifactId>log4j-to-slf4j</artifactId>
67+
<version>2.6.2</version>
68+
<exclusions>
69+
<exclusion>
70+
<artifactId>slf4j-api</artifactId>
71+
<groupId>org.slf4j</groupId>
72+
</exclusion>
73+
</exclusions>
74+
</dependency>
75+
</dependencies>
76+
</project>

0 commit comments

Comments
 (0)