| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright 2015 Fluo authors (see AUTHORS) |
| |
| Licensed 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> |
| <groupId>io.fluo</groupId> |
| <artifactId>webindex-parent</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <name>WebIndex Parent</name> |
| <description>Example Fluo application that creates web index using CommonCrawl data.</description> |
| <url>https://github.com/fluo-io/webindex</url> |
| <modules> |
| <module>modules/core</module> |
| <module>modules/data</module> |
| <module>modules/ui</module> |
| </modules> |
| <distributionManagement> |
| <repository> |
| <id>sonatype-nexus-staging</id> |
| <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
| <layout>default</layout> |
| </repository> |
| <snapshotRepository> |
| <id>sonatype-nexus-snapshots</id> |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| <layout>default</layout> |
| </snapshotRepository> |
| </distributionManagement> |
| <properties> |
| <accumulo.version>1.6.1</accumulo.version> |
| <dropwizard.version>0.8.2</dropwizard.version> |
| <eclipseFormatterStyle>${project.parent.basedir}/conf/fluo-eclipse-style.xml</eclipseFormatterStyle> |
| <fluo-recipes.version>1.0.0-beta-1-SNAPSHOT</fluo-recipes.version> |
| <fluo.version>1.0.0-beta-2-SNAPSHOT</fluo.version> |
| <hadoop.version>2.7.0</hadoop.version> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| </properties> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>com.esotericsoftware.yamlbeans</groupId> |
| <artifactId>yamlbeans</artifactId> |
| <version>1.09</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>2.3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| <version>2.6</version> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-core</artifactId> |
| <version>${dropwizard.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-views-freemarker</artifactId> |
| <version>${dropwizard.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.fluo</groupId> |
| <artifactId>fluo-api</artifactId> |
| <version>${fluo.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.fluo</groupId> |
| <artifactId>fluo-core</artifactId> |
| <version>${fluo.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.fluo</groupId> |
| <artifactId>fluo-integration</artifactId> |
| <version>${fluo.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| <dependency> |
| <groupId>io.fluo</groupId> |
| <artifactId>fluo-mapreduce</artifactId> |
| <version>${fluo.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.fluo</groupId> |
| <artifactId>fluo-mini</artifactId> |
| <version>${fluo.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.fluo</groupId> |
| <artifactId>fluo-recipes-accumulo</artifactId> |
| <version>${fluo-recipes.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.fluo</groupId> |
| <artifactId>fluo-recipes-core</artifactId> |
| <version>${fluo-recipes.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.fluo</groupId> |
| <artifactId>webindex-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.fluo</groupId> |
| <artifactId>webindex-data</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.fluo</groupId> |
| <artifactId>webindex-ui</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.12</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.accumulo</groupId> |
| <artifactId>accumulo-core</artifactId> |
| <version>${accumulo.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.accumulo</groupId> |
| <artifactId>accumulo-minicluster</artifactId> |
| <version>${accumulo.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.accumulo</groupId> |
| <artifactId>accumulo-test</artifactId> |
| <version>${accumulo.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-core_2.10</artifactId> |
| <version>1.4.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| <version>3.4.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.netpreserve.commons</groupId> |
| <artifactId>webarchive-commons</artifactId> |
| <version>1.1.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.7.12</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>1.7.12</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <repositories> |
| <repository> |
| <releases> |
| <updatePolicy>always</updatePolicy> |
| </releases> |
| <snapshots> |
| <updatePolicy>always</updatePolicy> |
| </snapshots> |
| <id>sonatype-nexus-snapshots</id> |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| </repository> |
| </repositories> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| <artifactId>maven-java-formatter-plugin</artifactId> |
| <version>0.4</version> |
| <configuration> |
| <compilerCompliance>${maven.compiler.source}</compilerCompliance> |
| <compilerSource>${maven.compiler.source}</compilerSource> |
| <compilerTargetPlatform>${maven.compiler.target}</compilerTargetPlatform> |
| <lineEnding>LF</lineEnding> |
| <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>org.eclipse.jdt.core</artifactId> |
| <version>3.10.0.v20140604-1726</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>README.md</exclude> |
| <exclude>docs/**.md</exclude> |
| <exclude>src/test/resources/*.warc</exclude> |
| <exclude>src/main/resources/io/fluo/webindex/ui/views/*.ftl</exclude> |
| <exclude>src/main/resources/io/fluo/webindex/ui/views/common/*.ftl</exclude> |
| <exclude>data/*</exclude> |
| <exclude>dependency-reduced-pom.xml</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| <artifactId>maven-java-formatter-plugin</artifactId> |
| <versionRange>[0.4,)</versionRange> |
| <goals> |
| <goal>format</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <versionRange>[0.11,)</versionRange> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>com.github.ekryd.sortpom</groupId> |
| <artifactId>sortpom-maven-plugin</artifactId> |
| <versionRange>[2.4.0,)</versionRange> |
| <goals> |
| <goal>sort</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.github.ekryd.sortpom</groupId> |
| <artifactId>sortpom-maven-plugin</artifactId> |
| <version>2.4.0</version> |
| <configuration> |
| <predefinedSortOrder>recommended_2008_06</predefinedSortOrder> |
| <createBackupFile>false</createBackupFile> |
| <lineSeparator>\n</lineSeparator> |
| <expandEmptyElements>false</expandEmptyElements> |
| <nrOfIndentSpace>2</nrOfIndentSpace> |
| <sortDependencies>scope,groupId,artifactId</sortDependencies> |
| <sortProperties>true</sortProperties> |
| <verifyFail>Stop</verifyFail> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>com.github.ekryd.sortpom</groupId> |
| <artifactId>sortpom-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sort-pom</id> |
| <goals> |
| <goal>sort</goal> |
| </goals> |
| <phase>validate</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</version> |
| <configuration> |
| <source>${maven.compiler.source}</source> |
| <target>${maven.compiler.target}</target> |
| <optimize>true</optimize> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <descriptorRefs> |
| <descriptorRef>jar-with-dependencies</descriptorRef> |
| </descriptorRefs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <systemPropertyVariables> |
| <io.fluo.it.instance.name>it-instance-maven</io.fluo.it.instance.name> |
| <io.fluo.it.instance.clear>false</io.fluo.it.instance.clear> |
| </systemPropertyVariables> |
| </configuration> |
| <executions> |
| <execution> |
| <id>run-integration-tests</id> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <!-- on by default, but disable with '-P !autoformat' or '-DskipFormat' --> |
| <id>autoformat</id> |
| <activation> |
| <property> |
| <name>!skipFormat</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| <artifactId>maven-java-formatter-plugin</artifactId> |
| <configuration> |
| <configFile>${eclipseFormatterStyle}</configFile> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>format</goal> |
| </goals> |
| <phase>process-sources</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |