Skip to content

Instantly share code, notes, and snippets.

@markuman
Created September 4, 2018 13:39
Show Gist options
  • Save markuman/414770ffeb46bdcb60923674060ef09f to your computer and use it in GitHub Desktop.
Save markuman/414770ffeb46bdcb60923674060ef09f to your computer and use it in GitHub Desktop.
diff --git a/pom.xml b/pom.xml
index 6a858c2..90e7d36 100644
--- a/pom.xml
+++ b/pom.xml
@@ -192,6 +192,11 @@
<build>
<directory>target</directory>
+ <resources>
+ <resource>
+ <directory>resources</directory>
+ </resource>
+ </resources>
<outputDirectory>target/classes</outputDirectory>
<finalName>${project.artifactId}-${project.version}</finalName>
<sourceDirectory>src</sourceDirectory>
@@ -226,7 +231,18 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <mainClass>com.amazon.kinesis.streaming.agent.Agent</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment