Skip to content

Commit

Permalink
Merge pulsar-functions dist package into pulsar binary distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
sijie committed Mar 5, 2018
1 parent c5a7779 commit 2648100
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 1,091 deletions.
9 changes: 9 additions & 0 deletions all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@
<artifactId>pulsar-zookeeper</artifactId>
<version>${project.version}</version>
</dependency>

<!-- function examples -->
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-functions-api-examples</artifactId>
<version>${project.version}</version>
<!-- make sure the api examples are compiled before assembly -->
<scope>provided</scope>
</dependency>
</dependencies>

<build>
Expand Down
14 changes: 14 additions & 0 deletions all/src/assemble/bin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
<fileSet>
<directory>${basedir}/licenses</directory>
</fileSet>
<fileSet>
<directory>${basedir}/../pulsar-functions/runtime/target/python-instance</directory>
<outputDirectory>instances/python-instance</outputDirectory>
</fileSet>
</fileSets>
<files>
<file>
Expand All @@ -68,6 +72,16 @@
<outputDirectory>.</outputDirectory>
<fileMode>644</fileMode>
</file>
<file>
<source>${basedir}/../pulsar-functions/runtime/target/java-instance.jar</source>
<destName>java-instance.jar</destName>
<outputDirectory>instances</outputDirectory>
</file>
<file>
<source>${basedir}/../pulsar-functions/java-examples/target/pulsar-functions-api-examples.jar</source>
<destName>api-examples.jar</destName>
<outputDirectory>examples</outputDirectory>
</file>
</files>
<dependencySets>
<dependencySet>
Expand Down
192 changes: 0 additions & 192 deletions pulsar-functions/bin/pulsar

This file was deleted.

148 changes: 0 additions & 148 deletions pulsar-functions/bin/pulsar-functions

This file was deleted.

Loading

0 comments on commit 2648100

Please sign in to comment.