Skip to content

Commit 76c618c

Browse files
committed
Version 1.0.4
Fixes to support UTF-8 Multi-Byte partition and explicit hash keys per #30 Adding assembly for transportable build
1 parent 9991bdd commit 76c618c

File tree

10 files changed

+242
-152
lines changed

10 files changed

+242
-152
lines changed

java/KinesisAggregator/assembly.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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>complete</id>
5+
<formats>
6+
<format>jar</format>
7+
</formats>
8+
<includeBaseDirectory>false</includeBaseDirectory>
9+
<dependencySets>
10+
<dependencySet>
11+
<outputDirectory>/</outputDirectory>
12+
<unpack>true</unpack>
13+
<scope>runtime</scope>
14+
</dependencySet>
15+
</dependencySets>
16+
</assembly>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

java/KinesisAggregator/pom.xml

Lines changed: 48 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45

@@ -7,8 +8,8 @@
78

89
<groupId>com.amazonaws</groupId>
910
<artifactId>amazon-kinesis-aggregator</artifactId>
10-
<version>1.0.3</version>
11-
11+
<version>1.0.4</version>
12+
1213
<packaging>jar</packaging>
1314

1415
<properties>
@@ -21,7 +22,7 @@
2122
<connection>scm:git:git://github.com/awslabs/kinesis-aggregation.git</connection>
2223
<url>https://github.com/awslabs/kinesis-aggregation</url>
2324
</scm>
24-
25+
2526
<licenses>
2627
<license>
2728
<name>Amazon Software License</name>
@@ -30,16 +31,16 @@
3031
</license>
3132
</licenses>
3233

33-
<developers>
34-
<developer>
35-
<id>amazonwebservices</id>
36-
<organization>Amazon Web Services</organization>
37-
<organizationUrl>https://aws.amazon.com</organizationUrl>
38-
<roles>
39-
<role>developer</role>
40-
</roles>
41-
</developer>
42-
</developers>
34+
<developers>
35+
<developer>
36+
<id>amazonwebservices</id>
37+
<organization>Amazon Web Services</organization>
38+
<organizationUrl>https://aws.amazon.com</organizationUrl>
39+
<roles>
40+
<role>developer</role>
41+
</roles>
42+
</developer>
43+
</developers>
4344

4445
<build>
4546
<defaultGoal>clean compile</defaultGoal>
@@ -86,24 +87,34 @@
8687
</executions>
8788
</plugin>
8889
<plugin>
89-
<groupId>org.apache.maven.plugins</groupId>
90-
<artifactId>maven-antrun-plugin</artifactId>
91-
<version>1.8</version>
92-
<executions>
93-
<execution>
94-
<id>copy</id>
95-
<configuration>
96-
<target name="copy POM to target">
97-
<copy file="${project.basedir}/pom.xml" tofile="${project.build.directory}/pom.xml" />
98-
</target>
99-
</configuration>
100-
<phase>package</phase>
90+
<artifactId>maven-assembly-plugin</artifactId>
91+
<configuration>
92+
<finalName>KinesisAggregator-${version}</finalName>
93+
<descriptors>
94+
<descriptor>assembly.xml</descriptor>
95+
</descriptors>
96+
</configuration>
97+
</plugin>
98+
<plugin>
99+
<groupId>org.apache.maven.plugins</groupId>
100+
<artifactId>maven-antrun-plugin</artifactId>
101+
<version>1.8</version>
102+
<executions>
103+
<execution>
104+
<id>copy</id>
105+
<configuration>
106+
<target name="copy POM to target">
107+
<copy file="${project.basedir}/pom.xml"
108+
tofile="${project.build.directory}/pom.xml" />
109+
</target>
110+
</configuration>
111+
<phase>package</phase>
101112
<goals>
102-
<goal>run</goal>
103-
</goals>
104-
</execution>
105-
</executions>
106-
</plugin>
113+
<goal>run</goal>
114+
</goals>
115+
</execution>
116+
</executions>
117+
</plugin>
107118
</plugins>
108119
</build>
109120
<dependencies>
@@ -125,6 +136,12 @@
125136
<artifactId>jackson-databind</artifactId>
126137
<version>2.8.11.1</version>
127138
</dependency>
139+
<dependency>
140+
<groupId>org.apache.commons</groupId>
141+
<artifactId>commons-lang3</artifactId>
142+
<version>3.8.1</version>
143+
<scope>test</scope>
144+
</dependency>
128145
<dependency>
129146
<groupId>junit</groupId>
130147
<artifactId>junit</artifactId>

0 commit comments

Comments
 (0)