Repository: incubator-streams-examples Updated Branches: refs/heads/master 5ddc67c06 -> 8d0818d1c
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/107852b2/local/twitter-userstream-elasticsearch/src/site/resources/org/apache/streams/example/twitter/TwitterUserstreamElasticsearch.json ---------------------------------------------------------------------- diff --git a/local/twitter-userstream-elasticsearch/src/site/resources/org/apache/streams/example/twitter/TwitterUserstreamElasticsearch.json b/local/twitter-userstream-elasticsearch/src/site/resources/org/apache/streams/example/twitter/TwitterUserstreamElasticsearch.json new file mode 100644 index 0000000..d2167a8 --- /dev/null +++ b/local/twitter-userstream-elasticsearch/src/site/resources/org/apache/streams/example/twitter/TwitterUserstreamElasticsearch.json @@ -0,0 +1,14 @@ +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0", + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "type": "object", + "javaType" : "org.apache.streams.example.twitter.TwitterUserstreamElasticsearchConfiguration", + "javaInterfaces": ["java.io.Serializable"], + "properties": { + "twitter": { "javaType": "org.apache.streams.twitter.TwitterStreamConfiguration", "type": "object", "required": true }, + "elasticsearch": { "javaType": "org.apache.streams.elasticsearch.ElasticsearchWriterConfiguration", "type": "object", "required": true } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/107852b2/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index b49d35e..f9ec512 100644 --- a/pom.xml +++ b/pom.xml @@ -19,12 +19,8 @@ <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>streams-project</artifactId> - <groupId>org.apache.streams</groupId> - <version>0.2-incubating-SNAPSHOT</version> - </parent> + <groupId>org.apache.streams</groupId> <artifactId>streams-examples</artifactId> <packaging>pom</packaging> @@ -32,7 +28,139 @@ <description>Contributed examples of use cases for Streams.</description> + <url>http://streams.incubator.apache.org/site/${project.version}/streams-examples</url> + + <licenses> + <license> + <name>Apache License, Version 2.0</name> + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> + <distribution>repo</distribution> + <comments>A business-friendly OSS license</comments> + </license> + </licenses> + + <scm> + <connection>scm:git:g...@github.com:apache/incubator-streams-examples.git</connection> + <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-streams-examples.git</developerConnection> + <url>scm:git:g...@github.com:apache/incubator-streams-examples.git</url> + </scm> + + <developers> + <developer> + <id>sblackmon</id> + <name>Steve Blackmon</name> + <email>sblack...@apache.org</email> + <url>https://github.com/steveblackmon</url> + <organization>Apache Software Foundation</organization> + <organizationUrl>http://streams.incubator.apache.org</organizationUrl> + </developer> + </developers> + + <issueManagement> + <system>JIRA</system> + <url>https://issues.apache.org/jira/browse/STREAMS</url> + </issueManagement> + + <ciManagement> + <system>jenkins</system> + <url>http://builds.apache.org/job/Streams%20Examples/</url> + </ciManagement> + + <prerequisites> + <maven>3.0.5</maven> + </prerequisites> + + <mailingLists> + <mailingList> + <name>Dev Mailing List</name> + <post>d...@streams.incubator.apache.org</post> + <subscribe>dev-subscr...@streams.incubator.apache.org</subscribe> + <unsubscribe>dev-unsubscr...@streams.incubator.apache.org</unsubscribe> + </mailingList> + <mailingList> + <name>User Mailing List</name> + <post>u...@streams.incubator.apache.org</post> + <subscribe>user-subscr...@streams.incubator.apache.org</subscribe> + <unsubscribe>user-unsubscr...@streams.incubator.apache.org</unsubscribe> + </mailingList> + </mailingLists> + + <distributionManagement> + <site> + <id>streams.site.examples</id> + <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/streams/content/site/${project.version}/streams-examples/</url> + </site> + </distributionManagement> + + <repositories> + <repository> + <id>central-repo</id> + <name>Maven Repository</name> + <!-- HTTPS is unavailable for Maven Central --> + <url>http://repo.maven.apache.org/maven2</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + <repository> + <id>apache-releases</id> + <name>Apache Repository</name> + <url>https://repository.apache.org/content/repositories/releases</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + <repository> + <id>apache-snapshots</id> + <name>Apache Repository</name> + <url>https://repository.apache.org/content/repositories/snapshots</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </repository> + <repository> + <id>clojars-repo</id> + <name>Clojars Repository</name> + <url>http://clojars.org/repo</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + <repository> + <id>cloudera-repo</id> + <name>Cloudera Repository</name> + <url>https://repository.cloudera.com/artifactory/cloudera-repos</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + <properties> + <streams.version>${project.version}</streams.version> + + <!-- Release Properties --> + <snapshot.repository.url> + https://repository.apache.org/content/repositories/snapshots + </snapshot.repository.url> + <release.repository.url> + https://repository.apache.org/service/local/staging/deploy/maven2 + </release.repository.url> </properties> @@ -45,23 +173,112 @@ <dependency> <groupId>org.apache.streams</groupId> <artifactId>streams-config</artifactId> - <version>${project.version}</version> + <version>${streams.version}</version> </dependency> <dependency> <groupId>org.apache.streams</groupId> <artifactId>streams-core</artifactId> - <version>${project.version}</version> + <version>${streams.version}</version> + </dependency> + <dependency> + <groupId>org.apache.streams</groupId> + <artifactId>streams-filters</artifactId> + <version>${streams.version}</version> </dependency> <dependency> <groupId>org.apache.streams</groupId> <artifactId>streams-pojo</artifactId> - <version>${project.version}</version> + <version>${streams.version}</version> + </dependency> + <dependency> + <groupId>org.apache.streams</groupId> + <artifactId>streams-pojo</artifactId> + <version>${streams.version}</version> + <type>test-jar</type> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.streams</groupId> + <artifactId>streams-util</artifactId> + <version>${streams.version}</version> + </dependency> + <dependency> + <groupId>org.apache.streams</groupId> + <artifactId>streams-util</artifactId> + <version>${streams.version}</version> + <type>test-jar</type> + <scope>test</scope> </dependency> <dependency> <groupId>org.apache.streams</groupId> <artifactId>streams-pojo-extensions</artifactId> - <version>${project.version}</version> + <version>${streams.version}</version> + </dependency> + <dependency> + <groupId>org.apache.streams</groupId> + <artifactId>streams-runtime-local</artifactId> + <version>${streams.version}</version> + </dependency> + <dependency> + <groupId>org.apache.streams</groupId> + <artifactId>streams-provider-twitter</artifactId> + <version>${streams.version}</version> + </dependency> + <dependency> + <groupId>org.apache.streams</groupId> + <artifactId>streams-persist-elasticsearch</artifactId> + <version>${streams.version}</version> </dependency> + <dependency> + <groupId>org.apache.streams</groupId> + <artifactId>streams-persist-graph</artifactId> + <version>${streams.version}</version> + </dependency> + <dependency> + <groupId>org.apache.streams</groupId> + <artifactId>streams-persist-hdfs</artifactId> + <version>${streams.version}</version> + </dependency> + <dependency> + <groupId>org.apache.streams</groupId> + <artifactId>streams-persist-mongo</artifactId> + <version>${streams.version}</version> + </dependency> + </dependencies> </dependencyManagement> + + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>3.4</version> + <dependencies> + <dependency> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-scm</artifactId> + <version>2.8</version> + </dependency> + <dependency> + <groupId>org.apache.maven.scm</groupId> + <artifactId>maven-scm-api</artifactId> + <version>1.9.4</version> + </dependency> + <dependency> + <groupId>org.apache.maven.scm</groupId> + <artifactId>maven-scm-provider-svn-commons</artifactId> + <version>1.9.4</version> + </dependency> + <dependency> + <groupId>org.apache.maven.scm</groupId> + <artifactId>maven-scm-provider-svnexe</artifactId> + <version>1.9.4</version> + </dependency> + </dependencies> + </plugin> + </plugins> + </pluginManagement> + </build> </project> http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/107852b2/src/site/site.xml ---------------------------------------------------------------------- diff --git a/src/site/site.xml b/src/site/site.xml new file mode 100644 index 0000000..fef0628 --- /dev/null +++ b/src/site/site.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + ~ 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 + ~ + ~ 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> + <version position="right"/> + <skin> + <groupId>org.apache.maven.skins</groupId> + <artifactId>maven-fluido-skin</artifactId> + <version>1.3.0</version> + </skin> + <body> + <menu ref="reports"/> + </body> +</project> \ No newline at end of file