| <?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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>17</version> |
| </parent> |
| |
| <groupId>io.fluo</groupId> |
| <artifactId>fluo-recipes-parent</artifactId> |
| <version>1.0.0-beta-1</version> |
| <packaging>pom</packaging> |
| |
| <name>Fluo Recipes Parent POM</name> |
| <description>None</description> |
| <url>http://www.fluo.io</url> |
| <organization> |
| <name>Fluo IO</name> |
| <url>http://www.fluo.io</url> |
| </organization> |
| <licenses> |
| <license> |
| <name>Apache License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <mailingLists> |
| <mailingList> |
| <name>Dev</name> |
| <subscribe>fluo-dev+subscribe@googlegroups.com</subscribe> |
| <unsubscribe>fluo-dev+unsubscribe@googlegroups.com</unsubscribe> |
| <post>fluo-dev@googlegroups.com</post> |
| </mailingList> |
| </mailingLists> |
| |
| <modules> |
| <module>modules/core</module> |
| <module>modules/accumulo</module> |
| </modules> |
| |
| <scm> |
| <connection>scm:git:https://github.com/fluo-io/fluo-recipes.git</connection> |
| <developerConnection>scm:git:git@github.com:fluo-io/fluo-recipes.git</developerConnection> |
| <tag>1.0.0-beta-1</tag> |
| <url>https://github.com/fluo-io/fluo-recipes</url> |
| </scm> |
| <issueManagement> |
| <system>GitHub</system> |
| <url>https://github.com/fluo-io/fluo-recipes/issues</url> |
| </issueManagement> |
| <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.4</accumulo.version> |
| <eclipseFormatterStyle>${project.parent.basedir}/contrib/fluo-eclipse-style.xml</eclipseFormatterStyle> |
| <fluo.version>1.0.0-beta-2</fluo.version> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| </properties> |
| |
| <repositories> |
| <repository> |
| <releases> |
| <enabled>false</enabled> |
| <updatePolicy>never</updatePolicy> |
| <checksumPolicy>fail</checksumPolicy> |
| </releases> |
| <snapshots> |
| <enabled>true</enabled> |
| <updatePolicy>daily</updatePolicy> |
| <checksumPolicy>fail</checksumPolicy> |
| </snapshots> |
| <id>sonatype-nexus-snapshots</id> |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| </repository> |
| </repositories> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>io.fluo</groupId> |
| <artifactId>fluo-accumulo</artifactId> |
| <version>${fluo.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-mini</artifactId> |
| <version>${fluo.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.fluo</groupId> |
| <artifactId>fluo-recipes-core</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.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| <version>3.4.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymock</artifactId> |
| <version>3.4</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <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> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>tidy-maven-plugin</artifactId> |
| <version>1.0-beta-1</version> |
| </plugin> |
| <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.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Sealed>true</Sealed> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <configuration> |
| <arguments>-Pfull,sign -DskipTests</arguments> |
| <autoVersionSubmodules>true</autoVersionSubmodules> |
| <goals>clean deploy</goals> |
| <preparationGoals>clean verify</preparationGoals> |
| <tagNameFormat>@{project.version}</tagNameFormat> |
| <useReleaseProfile>false</useReleaseProfile> |
| <pushChanges>false</pushChanges> |
| <localCheckout>true</localCheckout> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>README.md</exclude> |
| <exclude>docs/**.md</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <versionRange>[0.8,)</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> |
| <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.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <versionRange>[2.15,)</versionRange> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>tidy-maven-plugin</artifactId> |
| <versionRange>[1.0-beta-1,)</versionRange> |
| <goals> |
| <goal>pom</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>3.0.0</version> |
| <configuration> |
| <xmlOutput>true</xmlOutput> |
| <effort>Max</effort> |
| <failOnError>true</failOnError> |
| <includeTests>true</includeTests> |
| <maxRank>9</maxRank> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.15</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <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> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>run-findbugs</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>accumulo-api-check</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <configuration> |
| <checkstyleRules> |
| <module name="Checker"> |
| <module name="TreeWalker"> |
| <module name="AvoidStarImport" /> |
| <module name="RegexpSinglelineJava"> |
| <!--check that only Accumulo public APIs are imported--> |
| <property name="format" value="import\s+org\.apache\.accumulo\.(.*\.(impl|thrift)\..*|(?!core|minicluster).*|core\.(?!client|data|iterators|security\.Authorizations|security\.ColumnVisibility|util\.format\.Formatter).*|core\.data\.(?!Key|Mutation|Value|Range|Condition|ConditionalMutation|ByteSequence|PartialKey|ColumnUpdate|ArrayByteSequence).*)" /> |
| <property name="ignoreComments" value="true" /> |
| <property name="message" value="Accumulo non-public classes imported" /> |
| </module> |
| </module> |
| </module> |
| </checkstyleRules> |
| <failOnViolation>true</failOnViolation> |
| <outputFile>${project.build.directory}/checkstyle-results-accumulo.xml</outputFile> |
| </configuration> |
| </execution> |
| <execution> |
| <id>java-style-check</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>validate</phase> |
| <configuration> |
| <configLocation>contrib/fluo-checks.xml</configLocation> |
| <encoding>UTF-8</encoding> |
| <logViolationsToConsole>true</logViolationsToConsole> |
| <failOnViolation>true</failOnViolation> |
| <violationSeverity>warning</violationSeverity> |
| <outputFile>${project.build.directory}/checkstyle-results-java.xml</outputFile> |
| </configuration> |
| </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.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> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>tidy-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>pom</goal> |
| </goals> |
| <phase>process-sources</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <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> |
| <profile> |
| <id>sign</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>full</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.apache.resources</groupId> |
| <artifactId>apache-source-release-assembly-descriptor</artifactId> |
| <version>1.0.5</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>source-release-assembly</id> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <phase>validate</phase> |
| <configuration> |
| <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> |
| <finalName>fluo-${project.version}</finalName> |
| <descriptorRefs> |
| <descriptorRef>source-release-tar</descriptorRef> |
| </descriptorRefs> |
| <attach>false</attach> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |