Awesome....was just thinking elastic search persistance would be a great contribution...
On Mon, Feb 10, 2014 at 3:23 PM, <[email protected]> wrote: > Author: sblackmon > Date: Mon Feb 10 20:23:26 2014 > New Revision: 1566730 > > URL: http://svn.apache.org/r1566730 > Log: > Scaffold for streams-persist-elasticsearch > > > Added: > incubator/streams/trunk/streams-contrib/streams-persist-elasticsearch/ > > incubator/streams/trunk/streams-contrib/streams-persist-elasticsearch/pom.xml > > Added: > incubator/streams/trunk/streams-contrib/streams-persist-elasticsearch/pom.xml > URL: > http://svn.apache.org/viewvc/incubator/streams/trunk/streams-contrib/streams-persist-elasticsearch/pom.xml?rev=1566730&view=auto > ============================================================================== > --- > incubator/streams/trunk/streams-contrib/streams-persist-elasticsearch/pom.xml > (added) > +++ > incubator/streams/trunk/streams-contrib/streams-persist-elasticsearch/pom.xml > Mon Feb 10 20:23:26 2014 > @@ -0,0 +1,93 @@ > +<?xml version="1.0" encoding="UTF-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"> > + <parent> > + <artifactId>streams-contrib</artifactId> > + <groupId>org.apache.streams</groupId> > + <version>0.1-SNAPSHOT</version> > + </parent> > + <modelVersion>4.0.0</modelVersion> > + > + <artifactId>streams-persist-elasticsearch</artifactId> > + > + <dependencies> > + <dependency> > + <groupId>org.apache.streams</groupId> > + <artifactId>streams-config</artifactId> > + <version>0.1-SNAPSHOT</version> > + </dependency> > + <dependency> > + <groupId>org.apache.streams</groupId> > + <artifactId>streams-core</artifactId> > + <version>0.1-SNAPSHOT</version> > + </dependency> > + <dependency> > + <groupId>org.apache.streams</groupId> > + <artifactId>streams-pojo</artifactId> > + <version>0.1-SNAPSHOT</version> > + </dependency> > + <dependency> > + <groupId>org.apache.streams</groupId> > + <artifactId>streams-util</artifactId> > + <version>0.1-SNAPSHOT</version> > + </dependency> > + <dependency> > + <groupId>org.elasticsearch</groupId> > + <artifactId>elasticsearch</artifactId> > + <version>0.90.5</version> > + <scope>compile</scope> > + <type>jar</type> > + </dependency> > + <dependency> > + <groupId>org.json</groupId> > + <artifactId>json</artifactId> > + <version>20090211</version> > + </dependency> > + </dependencies> > + <build> > + <plugins> > + <plugin> > + <groupId>org.codehaus.mojo</groupId> > + <artifactId>build-helper-maven-plugin</artifactId> > + <version>1.8</version> > + <executions> > + <execution> > + <id>add-source</id> > + <phase>generate-sources</phase> > + <goals> > + <goal>add-source</goal> > + </goals> > + <configuration> > + <sources> > + > <source>target/generated-sources/jsonschema2pojo</source> > + </sources> > + </configuration> > + </execution> > + </executions> > + </plugin> > + <plugin> > + <groupId>org.jsonschema2pojo</groupId> > + <artifactId>jsonschema2pojo-maven-plugin</artifactId> > + <configuration> > + <addCompileSourceRoot>true</addCompileSourceRoot> > + <generateBuilders>true</generateBuilders> > + <sourcePaths> > + > <sourcePath>src/main/jsonschema/org/apache/streams/elasticsearch/ElasticsearchConfiguration.json</sourcePath> > + </sourcePaths> > + > <outputDirectory>target/generated-sources/jsonschema2pojo</outputDirectory> > + > <targetPackage>org.apache.streams.elasticsearch.pojo</targetPackage> > + <useLongIntegers>true</useLongIntegers> > + <useJodaDates>false</useJodaDates> > + </configuration> > + <executions> > + <execution> > + <goals> > + <goal>generate</goal> > + </goals> > + </execution> > + </executions> > + </plugin> > + </plugins> > + </build> > +</project> > \ No newline at end of file > >
