Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STREAMS-574: Merge streams-examples into streams repo #417

Merged
merged 1 commit into from
Jan 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
59 changes: 58 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@
<scalastyle.plugin.version>0.8.0</scalastyle.plugin.version>
<scm.plugin.version>1.9.5</scm.plugin.version>
<scmpublish.plugin.version>1.1</scmpublish.plugin.version>
<shade.plugin.version>2.4.3</shade.plugin.version>
<shade.plugin.version>3.1.0</shade.plugin.version>
<site.plugin.version>3.6</site.plugin.version>
<source.plugin.version>2.4</source.plugin.version>
<surefire.plugin.version>2.19.1</surefire.plugin.version>
Expand Down Expand Up @@ -408,6 +408,7 @@
<module>streams-config</module>
<module>streams-contrib</module>
<module>streams-components</module>
<module>streams-examples</module>
<module>streams-monitoring</module>
<module>streams-pojo</module>
<module>streams-pojo-extensions</module>
Expand Down Expand Up @@ -478,6 +479,22 @@
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>${clean.plugin.version}</version>
<configuration>
<filesets>
<fileset>
<directory>src/site/resources</directory>
<followSymlinks>false</followSymlinks>
</fileset>
<!-- this is here because elasticsearch integration tests don't have a setting to change directory where temp index files get created -->
<fileset>
<directory>data</directory>
<followSymlinks>false</followSymlinks>
</fileset>
<fileset>
<directory>dist</directory>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down Expand Up @@ -1353,6 +1370,46 @@
</plugins>
</build>
</profile>
<profile>
<id>dist</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${shade.plugin.version}</version>
<configuration>
<outputDirectory>dist</outputDirectory>
<outputFile>dist/${project.artifactId}-jar-with-dependencies.jar</outputFile>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>**/META-INF/**</exclude>
</excludes>
</filter>
</filters>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>reference.conf</resource>
</transformer>
</transformers>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>apache-release</id>
<properties>
Expand Down
42 changes: 42 additions & 0 deletions streams-examples/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>apache-streams</artifactId>
<groupId>org.apache.streams</groupId>
<version>0.5.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<groupId>org.apache.streams.examples</groupId>
<artifactId>streams-examples</artifactId>
<version>0.5.2-SNAPSHOT</version>

<packaging>pom</packaging>
<name>streams-examples</name>

<modules>
<module>streams-examples-flink</module>
<module>streams-examples-local</module>
</modules>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Apache Streams (incubating)
Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
--------------------------------------------------------------------------------

org.apache.streams:flink-twitter-collection
===========================================

[README.md](src/site/markdown/index.md "README")