| <?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 |
| ~ |
| ~ 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>streams-contrib</artifactId> |
| <groupId>org.apache.streams</groupId> |
| <version>0.2-incubating</version> |
| </parent> |
| |
| <artifactId>streams-provider-facebook</artifactId> |
| <name>${project.artifactId}</name> |
| |
| <description>Facebook Provider</description> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.apache.streams</groupId> |
| <artifactId>streams-core</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.streams</groupId> |
| <artifactId>streams-config</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.streams</groupId> |
| <artifactId>streams-pojo</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.streams</groupId> |
| <artifactId>streams-pojo-extensions</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-core</artifactId> |
| <version>1.3</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.facebook4j</groupId> |
| <artifactId>facebook4j-core</artifactId> |
| <version>2.1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <sourceDirectory>src/main/java</sourceDirectory> |
| |
| <testSourceDirectory>src/test/java</testSourceDirectory> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| </resource> |
| </resources> |
| <testResources> |
| <testResource> |
| <directory>src/test/resources</directory> |
| </testResource> |
| </testResources> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <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/facebook/FacebookConfiguration.json</sourcePath> |
| <sourcePath>src/main/jsonschema/org/apache/streams/facebook/FacebookUserInformationConfiguration.json</sourcePath> |
| <sourcePath>src/main/jsonschema/org/apache/streams/facebook/FacebookUserstreamConfiguration.json</sourcePath> |
| <sourcePath>src/main/jsonschema/org/apache/streams/facebook/graph/Post.json</sourcePath> |
| <sourcePath>src/main/jsonschema/org/apache/streams/facebook/Page.json</sourcePath> |
| </sourcePaths> |
| <outputDirectory>target/generated-sources/jsonschema2pojo</outputDirectory> |
| <targetPackage>com.facebook</targetPackage> |
| <useLongIntegers>true</useLongIntegers> |
| <useJodaDates>true</useJodaDates> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.jvnet.jaxb2.maven2</groupId> |
| <artifactId>maven-jaxb2-plugin</artifactId> |
| <version>0.8.3</version> |
| <configuration> |
| <schemaDirectory>../streams-provider-gnip/gnip-powertrack/src/main/xmlschema/</schemaDirectory> |
| <generateDirectory>target/generated-sources/jaxb2</generateDirectory> |
| <verbose>true</verbose> |
| <debug>true</debug> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| <forceRegenerate>true</forceRegenerate> |
| <removeOldOutput>false</removeOldOutput> |
| <generatePackage>org.apache.streams.pojo.xml</generatePackage> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |