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="${JAVA_ARGS} -Ddruid.realtime.specFile=${SPEC_FILE}"
|
||||
|
||||
|
||||
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}:../config
|
||||
#For the kit
|
||||
DRUID_CP=${DRUID_CP}:`ls ./lib/druid-examples-*-selfcontained.jar`
|
||||
DRUID_CP=${DRUID_CP}:./config
|
||||
|
||||
echo "Running command:"
|
||||
|
||||
|
|
|
@ -63,7 +63,6 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!--
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
|
@ -81,7 +80,6 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
-->
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
|
|
@ -3,19 +3,48 @@
|
|||
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>
|
||||
<formats>
|
||||
<format>dir</format>
|
||||
<format>tar.gz</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<directory>src/bin</directory>
|
||||
<directory>../examples/config</directory>
|
||||
<includes>
|
||||
<include>*.sh</include>
|
||||
<include>*</include>
|
||||
</includes>
|
||||
<fileMode>0644</fileMode>
|
||||
<outputDirectory>config</outputDirectory>
|
||||
</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>
|
||||
<include>LICENSE</include>
|
||||
</includes>
|
||||
|
@ -25,7 +54,7 @@
|
|||
<dependencySet>
|
||||
<useProjectArtifact>true</useProjectArtifact>
|
||||
<useTransitiveDependencies>true</useTransitiveDependencies>
|
||||
<outputDirectory>lib/</outputDirectory>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
</assembly>
|
Loading…
Reference in New Issue