Skip to content

Commit a831e5c

Browse files
committed
document maven incantation to create a fat jar
Revert "use maven shade pluging to make uberjars" shikhar#8
1 parent b35f459 commit a831e5c

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

README.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ Run::
1010

1111
$ mvn clean package
1212

13-
Then you will find this connector and required JARs it depends upon in ``target/kafka-connect-dynamodb-0.1.0-SNAPSHOT-development/share/java/kafka-connect-dynamodb/``.
13+
Then you will find this connector and required JARs it depends upon in ``target/kafka-connect-dynamodb-$version-SNAPSHOT-package/share/java/kafka-connect-dynamodb/*``.
14+
15+
To create an uber JAR::
16+
17+
$ mvn -P standalone clean package
18+
19+
The uber JAR will be created at ``target/kafka-connect-dynamodb-$version-SNAPSHOT-standalone.jar``.
1420

1521
Sink Connector
1622
==============

pom.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -107,23 +107,6 @@
107107
<argLine>-Djava.awt.headless=true</argLine>
108108
</configuration>
109109
</plugin>
110-
111-
<!-- Maven Shade Plugin -->
112-
<plugin>
113-
<groupId>org.apache.maven.plugins</groupId>
114-
<artifactId>maven-shade-plugin</artifactId>
115-
<version>2.3</version>
116-
<executions>
117-
<!-- Run shade goal on package phase -->
118-
<execution>
119-
<phase>package</phase>
120-
<goals>
121-
<goal>shade</goal>
122-
</goals>
123-
</execution>
124-
</executions>
125-
</plugin>
126-
127110
</plugins>
128111
<resources>
129112
<resource>

0 commit comments

Comments
 (0)