diff --git a/bin/kafka-rest-run-class b/bin/kafka-rest-run-class index 18c8a1dcfa..acd658855a 100755 --- a/bin/kafka-rest-run-class +++ b/bin/kafka-rest-run-class @@ -18,12 +18,12 @@ base_dir=$(dirname $0)/.. # Development jars. `mvn package` should collect all the required dependency jars here for dir in $base_dir/target/kafka-rest-*-development; do - CLASSPATH=$CLASSPATH:$dir/share/kafka-rest/* + CLASSPATH=$CLASSPATH:$dir/share/java/kafka-rest/* done # Production jars, including kafka, rest-utils, and kafka-rest for library in "kafka" "confluent-common" "rest-utils" "kafka-rest"; do - CLASSPATH=$CLASSPATH:$base_dir/share/$library/* + CLASSPATH=$CLASSPATH:$base_dir/share/java/$library/* done # JMX settings diff --git a/src/assembly/development.xml b/src/assembly/development.xml index c8f98b7b01..c3bacf2098 100644 --- a/src/assembly/development.xml +++ b/src/assembly/development.xml @@ -11,7 +11,7 @@ <includeBaseDirectory>false</includeBaseDirectory> <dependencySets> <dependencySet> - <outputDirectory>share/kafka-rest/</outputDirectory> + <outputDirectory>share/java/kafka-rest/</outputDirectory> </dependencySet> </dependencySets> -</assembly> \ No newline at end of file +</assembly> diff --git a/src/assembly/package.xml b/src/assembly/package.xml index 96511e6eca..e2ae2bfa4e 100644 --- a/src/assembly/package.xml +++ b/src/assembly/package.xml @@ -30,7 +30,7 @@ </fileSets> <dependencySets> <dependencySet> - <outputDirectory>share/kafka-rest</outputDirectory> + <outputDirectory>share/java/kafka-rest</outputDirectory> <useProjectArtifact>true</useProjectArtifact> <useTransitiveFiltering>true</useTransitiveFiltering> <excludes> @@ -39,4 +39,4 @@ </excludes> </dependencySet> </dependencySets> -</assembly> \ No newline at end of file +</assembly>