Skip to content

Commit

Permalink
restore assembly configs (#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
aayars authored Jan 12, 2018
1 parent c22e583 commit 2f9ce47
Show file tree
Hide file tree
Showing 9 changed files with 318 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ksql-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/assembly/development.xml</descriptor>
<descriptor>src/assembly/package.xml</descriptor>
<descriptor>src/assembly/standalone.xml</descriptor>
</descriptors>
<archive>
Expand Down
51 changes: 51 additions & 0 deletions ksql-cli/src/assembly/development.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
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">
<!-- Assembles all dependencies in target/ directory so scripts can easily run in a development
environment -->
<id>development</id>
<formats>
<format>dir</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>${project.parent.basedir}</directory>
<outputDirectory>share/doc/ksql-cli/</outputDirectory>
<includes>
<include>README*</include>
<include>COPYRIGHT*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.parent.basedir}</directory>
<outputDirectory></outputDirectory>
<includes>
<include>bin/*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.parent.basedir}/config</directory>
<outputDirectory>etc/ksql-cli</outputDirectory>
<includes>
<include>*</include>
</includes>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>share/java/ksql-cli</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<!-- Warning: Enabling useTransitiveFiltering is potentially unsafe,
cf. https://github.com/miguno/maven-assembly-transitive-deps-woes
and https://issues.apache.org/jira/browse/MASSEMBLY-504. If
dependencies happen to be missing in the assembly you may want to
disable transitive filtering. -->
<useTransitiveFiltering>true</useTransitiveFiltering>
<excludes>
<exclude>org.slf4j:slf4j-log4j12</exclude> <!-- Already included by rest-app-->
</excludes>
</dependencySet>
</dependencySets>
</assembly>
55 changes: 55 additions & 0 deletions ksql-cli/src/assembly/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
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">
<!-- Assembles a package that can run the ksql cli given dependency packages. This is used to
construct packages OS packages where underlying libraries, like rest-utils, can be shared
-->
<id>package</id>
<formats>
<format>dir</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>${project.parent.basedir}</directory>
<outputDirectory>share/doc/ksql-cli/</outputDirectory>
<includes>
<include>version.txt</include>
<include>COPYRIGHT*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.parent.basedir}</directory>
<outputDirectory></outputDirectory>
<includes>
<include>bin/*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.parent.basedir}/config</directory>
<outputDirectory>etc/ksql-cli</outputDirectory>
<includes>
<include>*</include>
</includes>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>share/java/ksql-cli</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<!-- Warning: Enabling useTransitiveFiltering is potentially unsafe,
cf. https://github.com/miguno/maven-assembly-transitive-deps-woes
and https://issues.apache.org/jira/browse/MASSEMBLY-504. If
dependencies happen to be missing in the assembly you may want to
disable transitive filtering. -->
<useTransitiveFiltering>true</useTransitiveFiltering>
<excludes>
<exclude>io.confluent.ksql:ksql-rest-app</exclude>
<exclude>io.confluent:rest-utils</exclude>
<exclude>io.confluent:common-*</exclude>
<exclude>com.google.guava:guava</exclude>
</excludes>
</dependencySet>
</dependencySets>
</assembly>
2 changes: 2 additions & 0 deletions ksql-clickstream-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/assembly/development.xml</descriptor>
<descriptor>src/assembly/package.xml</descriptor>
<descriptor>src/assembly/standalone.xml</descriptor>
</descriptors>
<archive>
Expand Down
51 changes: 51 additions & 0 deletions ksql-clickstream-demo/src/assembly/development.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
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">
<!-- Assembles all dependencies in target/ directory so scripts can easily run in a development
environment -->
<id>development</id>
<formats>
<format>dir</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>${project.parent.basedir}</directory>
<outputDirectory>share/doc/ksql-examples/</outputDirectory>
<includes>
<include>README*</include>
<include>COPYRIGHT*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.parent.basedir}</directory>
<outputDirectory></outputDirectory>
<includes>
<include>bin/*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.parent.basedir}/config</directory>
<outputDirectory>etc/ksql-examples</outputDirectory>
<includes>
<include>*</include>
</includes>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>share/java/ksql-examples</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<!-- Warning: Enabling useTransitiveFiltering is potentially unsafe,
cf. https://github.com/miguno/maven-assembly-transitive-deps-woes
and https://issues.apache.org/jira/browse/MASSEMBLY-504. If
dependencies happen to be missing in the assembly you may want to
disable transitive filtering. -->
<useTransitiveFiltering>true</useTransitiveFiltering>
<excludes>
<exclude>org.slf4j:slf4j-log4j12</exclude> <!-- Already included by rest-app-->
</excludes>
</dependencySet>
</dependencySets>
</assembly>
52 changes: 52 additions & 0 deletions ksql-clickstream-demo/src/assembly/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
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">
<!-- Assembles a package that can run the ksql examples tool given dependency packages. This is used to
construct packages OS packages where underlying libraries, like rest-utils, can be shared
-->
<id>package</id>
<formats>
<format>dir</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>${project.parent.basedir}</directory>
<outputDirectory>share/doc/ksql-examples/</outputDirectory>
<includes>
<include>version.txt</include>
<include>COPYRIGHT*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.parent.basedir}</directory>
<outputDirectory></outputDirectory>
<includes>
<include>bin/*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.parent.basedir}/config</directory>
<outputDirectory>etc/ksql-examples</outputDirectory>
<includes>
<include>*</include>
</includes>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>share/java/ksql-examples</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<!-- Warning: Enabling useTransitiveFiltering is potentially unsafe,
cf. https://github.com/miguno/maven-assembly-transitive-deps-woes
and https://issues.apache.org/jira/browse/MASSEMBLY-504. If
dependencies happen to be missing in the assembly you may want to
disable transitive filtering. -->
<useTransitiveFiltering>true</useTransitiveFiltering>
<excludes>
<exclude>com.google.guava:guava</exclude>
</excludes>
</dependencySet>
</dependencySets>
</assembly>
2 changes: 2 additions & 0 deletions ksql-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/assembly/development.xml</descriptor>
<descriptor>src/assembly/package.xml</descriptor>
<descriptor>src/assembly/standalone.xml</descriptor>
</descriptors>
<archive>
Expand Down
51 changes: 51 additions & 0 deletions ksql-examples/src/assembly/development.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
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">
<!-- Assembles all dependencies in target/ directory so scripts can easily run in a development
environment -->
<id>development</id>
<formats>
<format>dir</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>${project.parent.basedir}</directory>
<outputDirectory>share/doc/ksql-examples/</outputDirectory>
<includes>
<include>README*</include>
<include>COPYRIGHT*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.parent.basedir}</directory>
<outputDirectory></outputDirectory>
<includes>
<include>bin/*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.parent.basedir}/config</directory>
<outputDirectory>etc/ksql-examples</outputDirectory>
<includes>
<include>*</include>
</includes>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>share/java/ksql-examples</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<!-- Warning: Enabling useTransitiveFiltering is potentially unsafe,
cf. https://github.com/miguno/maven-assembly-transitive-deps-woes
and https://issues.apache.org/jira/browse/MASSEMBLY-504. If
dependencies happen to be missing in the assembly you may want to
disable transitive filtering. -->
<useTransitiveFiltering>true</useTransitiveFiltering>
<excludes>
<exclude>org.slf4j:slf4j-log4j12</exclude> <!-- Already included by rest-app-->
</excludes>
</dependencySet>
</dependencySets>
</assembly>
52 changes: 52 additions & 0 deletions ksql-examples/src/assembly/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
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">
<!-- Assembles a package that can run the ksql examples tool given dependency packages. This is used to
construct packages OS packages where underlying libraries, like rest-utils, can be shared
-->
<id>package</id>
<formats>
<format>dir</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>${project.parent.basedir}</directory>
<outputDirectory>share/doc/ksql-examples/</outputDirectory>
<includes>
<include>version.txt</include>
<include>COPYRIGHT*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.parent.basedir}</directory>
<outputDirectory></outputDirectory>
<includes>
<include>bin/*</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.parent.basedir}/config</directory>
<outputDirectory>etc/ksql-examples</outputDirectory>
<includes>
<include>*</include>
</includes>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>share/java/ksql-examples</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<!-- Warning: Enabling useTransitiveFiltering is potentially unsafe,
cf. https://github.com/miguno/maven-assembly-transitive-deps-woes
and https://issues.apache.org/jira/browse/MASSEMBLY-504. If
dependencies happen to be missing in the assembly you may want to
disable transitive filtering. -->
<useTransitiveFiltering>true</useTransitiveFiltering>
<excludes>
<exclude>com.google.guava:guava</exclude>
</excludes>
</dependencySet>
</dependencySets>
</assembly>

0 comments on commit 2f9ce47

Please sign in to comment.