Skip to content

Commit

Permalink
Version 1.0.4
Browse files Browse the repository at this point in the history
Fixes to support UTF-8 Multi-Byte partition and explicit hash keys per #30
Adding assembly for transportable build
  • Loading branch information
IanMeyers committed Dec 19, 2018
1 parent 9991bdd commit 76c618c
Show file tree
Hide file tree
Showing 10 changed files with 242 additions and 152 deletions.
16 changes: 16 additions & 0 deletions java/KinesisAggregator/assembly.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>complete</id>
<formats>
<format>jar</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<dependencySets>
<dependencySet>
<outputDirectory>/</outputDirectory>
<unpack>true</unpack>
<scope>runtime</scope>
</dependencySet>
</dependencySets>
</assembly>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
79 changes: 48 additions & 31 deletions java/KinesisAggregator/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<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>

Expand All @@ -7,8 +8,8 @@

<groupId>com.amazonaws</groupId>
<artifactId>amazon-kinesis-aggregator</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>

<packaging>jar</packaging>

<properties>
Expand All @@ -21,7 +22,7 @@
<connection>scm:git:git://github.com/awslabs/kinesis-aggregation.git</connection>
<url>https://github.com/awslabs/kinesis-aggregation</url>
</scm>

<licenses>
<license>
<name>Amazon Software License</name>
Expand All @@ -30,16 +31,16 @@
</license>
</licenses>

<developers>
<developer>
<id>amazonwebservices</id>
<organization>Amazon Web Services</organization>
<organizationUrl>https://aws.amazon.com</organizationUrl>
<roles>
<role>developer</role>
</roles>
</developer>
</developers>
<developers>
<developer>
<id>amazonwebservices</id>
<organization>Amazon Web Services</organization>
<organizationUrl>https://aws.amazon.com</organizationUrl>
<roles>
<role>developer</role>
</roles>
</developer>
</developers>

<build>
<defaultGoal>clean compile</defaultGoal>
Expand Down Expand Up @@ -86,24 +87,34 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>copy</id>
<configuration>
<target name="copy POM to target">
<copy file="${project.basedir}/pom.xml" tofile="${project.build.directory}/pom.xml" />
</target>
</configuration>
<phase>package</phase>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<finalName>KinesisAggregator-${version}</finalName>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>copy</id>
<configuration>
<target name="copy POM to target">
<copy file="${project.basedir}/pom.xml"
tofile="${project.build.directory}/pom.xml" />
</target>
</configuration>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
Expand All @@ -125,6 +136,12 @@
<artifactId>jackson-databind</artifactId>
<version>2.8.11.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
Loading

0 comments on commit 76c618c

Please sign in to comment.