mirror of https://github.com/apache/druid.git
commit
72e40fd97f
|
@ -52,9 +52,14 @@ fi
|
||||||
JAVA_ARGS="-Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8"
|
JAVA_ARGS="-Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8"
|
||||||
JAVA_ARGS="${JAVA_ARGS} -Ddruid.realtime.specFile=${SPEC_FILE}"
|
JAVA_ARGS="${JAVA_ARGS} -Ddruid.realtime.specFile=${SPEC_FILE}"
|
||||||
|
|
||||||
|
|
||||||
DRUID_CP=${EXAMPLE_LOC}
|
DRUID_CP=${EXAMPLE_LOC}
|
||||||
DRUID_CP=${DRUID_CP}:../config
|
#For a pull
|
||||||
DRUID_CP=${DRUID_CP}:`ls ../target/druid-examples-*-selfcontained.jar`
|
DRUID_CP=${DRUID_CP}:`ls ../target/druid-examples-*-selfcontained.jar`
|
||||||
|
DRUID_CP=${DRUID_CP}:../config
|
||||||
|
#For the kit
|
||||||
|
DRUID_CP=${DRUID_CP}:`ls ./lib/druid-examples-*-selfcontained.jar`
|
||||||
|
DRUID_CP=${DRUID_CP}:./config
|
||||||
|
|
||||||
echo "Running command:"
|
echo "Running command:"
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,6 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!--
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
|
@ -81,7 +80,6 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
-->
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -2,20 +2,49 @@
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
|
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
|
||||||
<id>bin</id>
|
<id>bin</id>
|
||||||
<formats>
|
<formats>
|
||||||
<format>dir</format>
|
<format>tar.gz</format>
|
||||||
</formats>
|
</formats>
|
||||||
<includeBaseDirectory>false</includeBaseDirectory>
|
|
||||||
<fileSets>
|
<fileSets>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>src/bin</directory>
|
<directory>../examples/config</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>*.sh</include>
|
<include>*</include>
|
||||||
</includes>
|
</includes>
|
||||||
<fileMode>0644</fileMode>
|
<outputDirectory>config</outputDirectory>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>/</directory>
|
<directory>../examples/bin</directory>
|
||||||
|
<includes>
|
||||||
|
<include>*sh</include>
|
||||||
|
</includes>
|
||||||
|
<fileMode>744</fileMode>
|
||||||
|
<outputDirectory>/</outputDirectory>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>../examples/target</directory>
|
||||||
|
<includes>
|
||||||
|
<include>druid-examples-*-selfcontained.jar</include>
|
||||||
|
</includes>
|
||||||
|
<outputDirectory>lib</outputDirectory>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>../examples/bin/examples</directory>
|
||||||
|
<includes>
|
||||||
|
<include>**</include>
|
||||||
|
</includes>
|
||||||
|
<outputDirectory>examples</outputDirectory>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>../examples/bin/examples/twitter</directory>
|
||||||
|
<includes>
|
||||||
|
<include>*sh</include>
|
||||||
|
</includes>
|
||||||
|
<fileMode>744</fileMode>
|
||||||
|
<outputDirectory>examples/twitter</outputDirectory>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>../</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>LICENSE</include>
|
<include>LICENSE</include>
|
||||||
</includes>
|
</includes>
|
||||||
|
@ -25,7 +54,7 @@
|
||||||
<dependencySet>
|
<dependencySet>
|
||||||
<useProjectArtifact>true</useProjectArtifact>
|
<useProjectArtifact>true</useProjectArtifact>
|
||||||
<useTransitiveDependencies>true</useTransitiveDependencies>
|
<useTransitiveDependencies>true</useTransitiveDependencies>
|
||||||
<outputDirectory>lib/</outputDirectory>
|
<outputDirectory>lib</outputDirectory>
|
||||||
</dependencySet>
|
</dependencySet>
|
||||||
</dependencySets>
|
</dependencySets>
|
||||||
</assembly>
|
</assembly>
|
||||||
|
|
Loading…
Reference in New Issue