STREAMS-255: remove incubator-streams dependency on incubator-streams-master
Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/b3604a6e Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/b3604a6e Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/b3604a6e Branch: refs/heads/master Commit: b3604a6ed808dc04490f098c6b69c31369a95ca3 Parents: 7810361 Author: Steve Blackmon <sblack...@apache.org> Authored: Sat Jan 7 16:55:38 2017 -0600 Committer: Steve Blackmon <sblack...@apache.org> Committed: Sat Jan 7 16:55:38 2017 -0600 ---------------------------------------------------------------------- pom.xml | 1128 ++++++++++++++++++- src/site/custom/project-info-report.properties | 299 +++++ src/site/markdown/architecture.md | 35 + src/site/markdown/changelog.md | 560 +++++++++ src/site/markdown/concepts.md | 57 + src/site/markdown/credentials/twitter.md | 24 + src/site/markdown/dependency-info.md | 107 ++ src/site/markdown/downloads.md | 11 + src/site/markdown/faq.md | 138 +++ src/site/markdown/index.md | 17 + src/site/markdown/install/docker.md | 24 + src/site/markdown/install/git.md | 15 + src/site/markdown/install/java.md | 18 + src/site/markdown/install/maven.md | 21 + src/site/markdown/install/sbt.md | 17 + src/site/markdown/integration.md | 7 + src/site/markdown/release-setup.md | 76 ++ src/site/markdown/release.md | 251 +++++ src/site/markdown/services/elasticsearch.md | 35 + src/site/markdown/services/mongo.md | 34 + src/site/markdown/services/neo4j.md | 29 + src/site/markdown/source-repository.md | 27 + src/site/markdown/website.md | 194 ++++ src/site/markdown/who.md | 12 + src/site/site.xml | 95 +- 25 files changed, 3175 insertions(+), 56 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/b3604a6e/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 69366a0..7751d45 100644 --- a/pom.xml +++ b/pom.xml @@ -21,17 +21,17 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.streams</groupId> - <artifactId>streams-master</artifactId> - <version>0.5-incubating-SNAPSHOT</version> + <groupId>org.apache</groupId> + <artifactId>apache</artifactId> + <version>18</version> </parent> <groupId>org.apache.streams</groupId> <artifactId>streams-project</artifactId> <version>0.5-incubating-SNAPSHOT</version> - <name>Apache Streams Project</name> - <description>Apache Streams Project</description> + <name>Apache Streams</name> + <description>Apache Streams</description> <url>http://streams.incubator.apache.org/site/${project.version}/streams-project</url> @@ -48,19 +48,8 @@ <connection>scm:git:g...@github.com:apache/incubator-streams.git</connection> <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-streams.git</developerConnection> <url>scm:git:g...@github.com:apache/incubator-streams.git</url> - <tag>HEAD</tag> - </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> + <tag>HEAD</tag> + </scm> <issueManagement> <system>JIRA</system> @@ -69,7 +58,7 @@ <ciManagement> <system>jenkins</system> - <url>http://builds.apache.org/job/Streams%20Trunk/</url> + <url>http://builds.apache.org/job/streams-project/</url> </ciManagement> <prerequisites> @@ -82,9 +71,135 @@ <post>d...@streams.incubator.apache.org</post> <subscribe>dev-subscr...@streams.incubator.apache.org</subscribe> <unsubscribe>dev-unsubscr...@streams.incubator.apache.org</unsubscribe> + <archive>http://mail-archives.apache.org/mod_mbox/incubator-streams-dev/</archive> + </mailingList> + <mailingList> + <name>Commits Mailing List</name> + <post>commits@streams.incubator.apache.org</post> + <subscribe>commits-subscr...@streams.incubator.apache.org</subscribe> + <unsubscribe>commits-unsubscr...@streams.incubator.apache.org</unsubscribe> + <archive>http://mail-archives.apache.org/mod_mbox/incubator-streams-commits/</archive> </mailingList> </mailingLists> + <developers> + <developer> + <id>rbaxter85</id> + <name>Ryan Baxter</name> + <email>rbaxte...@apache.org</email> + <url>http://twitter.com/ryanjbaxter</url> + <roles> + <role>Committer</role> + </roles> + </developer> + <developer> + <id>sblackmon</id> + <name>Steve Blackmon</name> + <email>sblack...@apache.org</email> + <url>http://twitter.com/steveblackmon</url> + <roles> + <role>PPMC Member</role> + <role>Committer</role> + </roles> + <properties> + <picUrl>https://avatars.githubusercontent.com/steveblackmon</picUrl> + </properties> + </developer> + <developer> + <id>rdouglas</id> + <name>Robert Douglas</name> + <email>rdoug...@apache.org</email> + <roles> + <role>PPMC Member</role> + <role>Committer</role> + </roles> + </developer> + <developer> + <id>ate</id> + <name>Ate Douma</name> + <email>a...@apache.org</email> + <url>http://twitter.com/atedouma</url> + <roles> + <role>Mentor</role> + <role>PPMC Member</role> + <role>Committer</role> + </roles> + </developer> + <developer> + <id>rebanks</id> + <name>Ryan Ebanks</name> + <email>reba...@apache.org</email> + <url>http://twitter.com/ebanksre</url> + <roles> + <role>PPMC Member</role> + <role>Committer</role> + </roles> + </developer> + <developer> + <id>chansen</id> + <name>Carol Hansen</name> + <email>chan...@apache.org</email> + <url>http://twitter.com/carolbirgitta</url> + <roles> + <role>PPMC Member</role> + <role>Committer</role> + </roles> + </developer> + <developer> + <id>ahart</id> + <name>Andrew Hart</name> + <email>ah...@apache.org</email> + <url>http://twitter.com/andrewfhart</url> + <roles> + <role>Mentor</role> + <role>PPMC Member</role> + <role>Committer</role> + </roles> + </developer> + <developer> + <id>mfranklin</id> + <name>Matt Franklin</name> + <email>mfrank...@apache.org</email> + <url>http://twitter.com/mattfranklin</url> + <roles> + <role>Mentor</role> + <role>PPMC Member</role> + <role>Committer</role> + </roles> + </developer> + <developer> + <id>letourneau</id> + <name>Jason Letourneau</name> + <email>letourn...@apache.org</email> + <url>http://twitter.com/jletourneau8080</url> + <roles> + <role>PPMC Member</role> + <role>Committer</role> + </roles> + </developer> + <developer> + <id>craigmcc</id> + <name>Craig McClanahan</name> + <email>craig...@apache.org</email> + <url>http://twitter.com/craigmcclanahan</url> + <roles> + <role>Mentor</role> + <role>PPMC Member</role> + <role>Committer</role> + </roles> + </developer> + <developer> + <id>dsullivan</id> + <name>Danny Sullivan</name> + <email>dsulli...@apache.org</email> + <url>http://twitter.com/dbsullivan23</url> + <roles> + <role>PPMC Member</role> + <role>Committer</role> + </roles> + </developer> + </developers> + <repositories> <repository> <id>central-repo</id> @@ -158,10 +273,105 @@ </snapshotRepository> <site> <id>site.streams.project</id> - <url>scm:svn:https://svn.apache.org/repos/asf/incubator/streams/site/trunk/content/site/${project.version}/streams-project</url> + <url>scm:svn:https://svn.apache.org/repos/asf/incubator/streams/site/trunk/content/site/${project.version}/${project.artifactId}</url> </site> </distributionManagement> + <properties> + + <!-- Build Properties --> + <java.version>1.8</java.version> + <maven.version>3.3.9</maven.version> + <scala.suffix>2.10</scala.suffix> + <scala.version>2.10.6</scala.version> + <maven.javadoc.failOnError>false</maven.javadoc.failOnError> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <streams.version>0.4-incubating-SNAPSHOT</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> + + <!-- Plugin and Plugin Dependency Versions --> + <apache-rat.plugin.version>0.12</apache-rat.plugin.version> + <build-helper.plugin.version>1.8</build-helper.plugin.version> + <bundle.plugin.version>1.4.3</bundle.plugin.version> + <checkstyle.plugin.version>2.17</checkstyle.plugin.version> + <compiler.plugin.version>3.0</compiler.plugin.version> + <clean.plugin.version>2.6</clean.plugin.version> + <dependency.plugin.version>2.10</dependency.plugin.version> + <depgraph.plugin.version>1.0.3</depgraph.plugin.version> + <docker.plugin.version>0.15.0</docker.plugin.version> + <download.plugin.version>1.2.1</download.plugin.version> + <enforcer.plugin.version>1.4.1</enforcer.plugin.version> + <failsafe.plugin.version>2.19.1</failsafe.plugin.version> + <jar.plugin.version>2.6</jar.plugin.version> + <javadoc.plugin.version>2.10.2</javadoc.plugin.version> + <pax.plugin.version>1.5</pax.plugin.version> + <reflections.plugin.version>0.9.8</reflections.plugin.version> + <remote-resources.plugin.version>1.4</remote-resources.plugin.version> + <reports.plugin.version>2.9</reports.plugin.version> + <resources.plugin.version>2.7</resources.plugin.version> + <scala.plugin.version>3.2.2</scala.plugin.version> + <scalastyle.plugin.version>0.8.0</scalastyle.plugin.version> + <scm.plugin.version>1.9.4</scm.plugin.version> + <shade.plugin.version>2.4.3</shade.plugin.version> + <site.plugin.version>3.5</site.plugin.version> + <source.plugin.version>2.4</source.plugin.version> + <surefire.plugin.version>2.19.1</surefire.plugin.version> + <wagon.plugin.version>2.5</wagon.plugin.version> + <war.plugin.version>2.5</war.plugin.version> + + <!-- Library Dependency Versions --> + <jackson.version>2.6.5</jackson.version> + <jackson-xml-databind.version>0.6.2</jackson-xml-databind.version> + <aalto.version>1.0.0</aalto.version> + <joda-time.version>2.9.4</joda-time.version> + <rave.version>0.22</rave.version> + <datastax.version>1.0.3</datastax.version> + <jsonschema2pojo.version>0.4.10</jsonschema2pojo.version> + <jaxb2.version>0.13.1</jaxb2.version> + <jaxb2-basics.version>0.11.1</jaxb2-basics.version> + <jaxbutil.version>1.3.0</jaxbutil.version> + <junit.version>4.12</junit.version> + <testng.version>6.9.13.6</testng.version> + <slf4j.version>1.7.21</slf4j.version> + <log4j.version>1.2.17</log4j.version> + <logback.version>1.1.7</logback.version> + <hamcrest.version>1.3</hamcrest.version> + <commons-codec.version>1.10</commons-codec.version> + <commons-io.version>2.5</commons-io.version> + <commons-lang3.version>3.4</commons-lang3.version> + <commons-validator.version>1.5.1</commons-validator.version> + <typesafe.config.version>1.2.0</typesafe.config.version> + <reflections.version>0.9.10</reflections.version> + <orgjson.version>20140107</orgjson.version> + <guava.version>19.0</guava.version> + <clojure.version>1.4.0</clojure.version> + <zookeeper.version>3.4.5</zookeeper.version> + <netty.version>3.8.0.Final</netty.version> + <json-path.version>0.9.1</json-path.version> + <facebook4j.version>2.4.7</facebook4j.version> + <mockito.version>1.10.19</mockito.version> + <powermock.version>1.6.5</powermock.version> + <httpcomponents.core.version>4.4.5</httpcomponents.core.version> + <httpcomponents.client.version>4.5.2</httpcomponents.client.version> + <doxia.version>1.7</doxia.version> + + <!-- osgi configuration --> + <org.osgi.service.http.port>8080</org.osgi.service.http.port> + <org.osgi.service.http.port.secure>8443</org.osgi.service.http.port.secure> + + <skipITs>true</skipITs> + <skipTests>false</skipTests> + + </properties> + <modules> <module>streams-core</module> <module>streams-config</module> @@ -204,20 +414,463 @@ <plugin> <artifactId>maven-remote-resources-plugin</artifactId> </plugin> + <plugin> + <groupId>net.alchim31.maven</groupId> + <artifactId>scala-maven-plugin</artifactId> + </plugin> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + </plugin> + <plugin> + <artifactId>maven-failsafe-plugin</artifactId> + </plugin> </plugins> <pluginManagement> <plugins> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>${clean.plugin.version}</version> + </plugin> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>${java.version}</source> + <target>${java.version}</target> + <encoding>${project.build.sourceEncoding}</encoding> + </configuration> + </plugin> + <plugin> + <artifactId>maven-remote-resources-plugin</artifactId> + <version>${remote-resources.plugin.version}</version> + <executions> + <execution> + <goals> + <goal>process</goal> + </goals> + <configuration> + <resourceBundles combine.children="append"> + <!-- Will generate META-INF/DEPENDENCIES META-INF/LICENSE META-INF/NOTICE --> + <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> + <!-- Will generate META-INF/DISCLAIMER --> + <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle> + </resourceBundles> + <properties> + <projectName>${notice.file.project.name}</projectName> + </properties> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-resources-plugin</artifactId> + <version>${resources.plugin.version}</version> + <configuration> + <encoding>${project.build.sourceEncoding}</encoding> + </configuration> + <executions> + <execution> + <id>copy-resources</id> + <!-- validate is first to run--> + <!-- copy these files to src/site/resources --> + <phase>validate</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>${basedir}/src/site/resources</outputDirectory> + <resources> + <resource> + <directory>src/main/jsonschema</directory> + </resource> + <resource> + <directory>src/main/xmlschema</directory> + </resource> + <resource> + <directory>src/main/resources</directory> + </resource> + <resource> + <directory>src/site/diagrams</directory> + </resource> + <resource> + <directory>src/test/resources</directory> + </resource> + </resources> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.streams.plugins</groupId> + <artifactId>streams-plugin-pojo</artifactId> + <version>${project.version}</version> + <configuration> + <sourcePaths> + <sourcePath>${project.basedir}/src/main/jsonschema</sourcePath> + </sourcePaths> + <targetDirectory>${project.basedir}/target/generated-sources/pojo</targetDirectory> + <targetPackage>org.apache.streams.pojo</targetPackage> + </configuration> + <executions> + <execution> + <goals> + <goal>generate-sources</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.jvnet.jaxb2.maven2</groupId> + <artifactId>maven-jaxb2-plugin</artifactId> + <version>${jaxb2.version}</version> + <configuration> + <schemaDirectory>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> + </configuration> + <executions> + <execution> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>${build-helper.plugin.version}</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>${enforcer.plugin.version}</version> + <executions> + <execution> + <id>enforce-java</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireJavaVersion> + <message>Java 8 or higher is required to compile this module</message> + <version>[${java.version},)</version> + </requireJavaVersion> + <requireMavenVersion> + <message>Maven 3.3.9 or higher is required to compile this module</message> + <version>[${maven.version},)</version> + </requireMavenVersion> + </rules> + </configuration> + </execution> + <execution> + <id>enforce-banned-dependencies</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <bannedDependencies> + <excludes> + <exclude>org.slf4j:slf4j-log4j12</exclude> + <exclude>org.slf4j:slf4j-jcl</exclude> + <exclude>org.slf4j:slf4j-jdk14</exclude> + <exclude>org.log4j:log4j</exclude> + <exclude>commons-logging:commons-logging</exclude> + </excludes> + </bannedDependencies> + </rules> + <fail>true</fail> + </configuration> + </execution> + <execution> + <id>enforce-no-snapshots</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireReleaseDeps> + <message>No Snapshots Allowed!</message> + <!-- Don't fail for modules within this project's groupId or sub-groupIds --> + <excludes> + <exclude>org.apache.streams:*</exclude> + <exclude>org.apache.streams.*:*</exclude> + </excludes> + <!-- Don't fail for parents being snapshots as the only parent modules are within this project --> + <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot> + </requireReleaseDeps> + </rules> + <fail>true</fail> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>${apache-rat.plugin.version}</version> + <executions> + <execution> + <phase>validate</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <excludes> + <exclude>.git</exclude> + <exclude>.gitignore</exclude> + <exclude>.git/**</exclude> + <exclude>.idea/**</exclude> + <exclude>.java-version</exclude> + <exclude>**/DEPENDENCIES</exclude> + <exclude>**/LICENSE</exclude> + <exclude>**/MANIFEST.MF</exclude> + <exclude>**/NOTICE</exclude> + <exclude>**/README.*</exclude> + <exclude>**/target/**</exclude> + <exclude>**/overlays/**</exclude> + <exclude>**/src/test/resources/**/*.csv</exclude> + <exclude>**/src/test/resources/**/*.tsv</exclude> + <exclude>**/src/site/resources/**/*</exclude> + <exclude>**/.gitignore</exclude> + <exclude>**/*.properties</exclude> + <exclude>**/*.iml</exclude> + <exclude>**/*.ini</exclude> + <exclude>**/*.jar</exclude> + <exclude>**/*.svg</exclude> + <exclude>dependency-reduced-pom.xml</exclude> + <exclude>rat.txt</exclude> + </excludes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>${surefire.plugin.version}</version> + <executions> + <execution> + <id>test</id> + <phase>test</phase> + <goals> + <goal>test</goal> + </goals> + </execution> + </executions> <configuration> - <filesets> - <fileset> - <directory>src/site/resources</directory> - <followSymlinks>false</followSymlinks> - </fileset> - </filesets> + <!-- Skips unit tests if the value of skip.unit.tests property is true --> + <skipTests>${skipTests}</skipTests> + <threadCount>1</threadCount> + <useUnlimitedThreads>false</useUnlimitedThreads> + <forkCount>1</forkCount> + <reuseForks>false</reuseForks> + <!-- Run unit test suites before individuals tests. --> + <includes> + <include>**/*Tests.java</include> + <include>**/*Test.java</include> + </includes> + <!-- Excludes integration tests when unit tests are run. --> + <excludes> + <exclude>**/*IT.java</exclude> + <include>**/*ITs.java</include> + </excludes> + <reportFormat>plain</reportFormat> + <properties> + <property> + <name>surefire.testng.verbose</name> + <value>10</value> + </property> + </properties> </configuration> + <dependencies> + <dependency> + <groupId>org.apache.maven.surefire</groupId> + <artifactId>surefire-junit47</artifactId> + <version>${surefire.version}</version> + </dependency> + </dependencies> + </plugin> + <plugin> + <groupId>com.googlecode.maven-download-plugin</groupId> + <artifactId>download-maven-plugin</artifactId> + <version>${download.plugin.version}</version> + <executions> + <execution> + <id>download-it-data</id> + <phase>pre-integration-test</phase> + <goals> + <goal>wget</goal> + </goals> + <configuration> + <skip>${skipITs}</skip> + <url>${testDataBaseURl}/${project.artifactId}.zip</url> + <unpack>true</unpack> + <outputDirectory>${project.build.directory}/test-classes</outputDirectory> + <!--<md5>df65b5642f33676313ebe4d5b69a3fff</md5>--> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-failsafe-plugin</artifactId> + <version>${failsafe.plugin.version}</version> + <executions> + <execution> + <id>integration-tests</id> + <goals> + <goal>integration-test</goal> + <goal>verify</goal> + </goals> + </execution> + </executions> + <configuration> + <!-- Skips integration tests if the value of skip.integration.tests property is true --> + <skipTests>${skipITs}</skipTests> + <threadCount>1</threadCount> + <useUnlimitedThreads>false</useUnlimitedThreads> + <forkCount>1</forkCount> + <reuseForks>true</reuseForks> + <shutdown>exit</shutdown> + <!-- Excludes unit tests when integration tests are run. --> + <excludes> + <exclude>**/*Test.java</exclude> + <exclude>**/*Tests.java</exclude> + </excludes> + <!-- Run integration test suites before individuals tests. --> + <includes> + <include>**/*ITs.java</include> + <include>**/*IT.java</include> + </includes> + <reportFormat>plain</reportFormat> + <properties> + <property> + <name>junit</name> + <value>false</value> + </property> + <property> + <name>surefire.testng.verbose</name> + <value>10</value> + </property> + </properties> + </configuration> + <dependencies> + <dependency> + <groupId>org.apache.maven.surefire</groupId> + <artifactId>surefire-testng</artifactId> + <version>${surefire.version}</version> + </dependency> + </dependencies> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>${jar.plugin.version}</version> + <configuration> + <skipIfEmpty>true</skipIfEmpty> + </configuration> + </plugin> + <plugin> + <groupId>org.reflections</groupId> + <artifactId>reflections-maven</artifactId> + <version>${reflections.plugin.version}</version> + </plugin> + <plugin> + <groupId>org.ops4j</groupId> + <artifactId>maven-pax-plugin</artifactId> + <version>${pax.plugin.version}</version> + </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>${bundle.plugin.version}</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>${site.plugin.version}</version> + <dependencies> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-module-markdown</artifactId> + <version>${doxia.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-core</artifactId> + <version>${doxia.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.doxia</groupId> + <artifactId>doxia-module-xhtml</artifactId> + <version>${doxia.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-ssh</artifactId> + <version>${wagon.plugin.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-scm</artifactId> + <version>${wagon.plugin.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.scm</groupId> + <artifactId>maven-scm-api</artifactId> + <version>${scm.plugin.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.scm</groupId> + <artifactId>maven-scm-provider-svn-commons</artifactId> + <version>${scm.plugin.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.scm</groupId> + <artifactId>maven-scm-provider-svnexe</artifactId> + <version>${scm.plugin.version}</version> + </dependency> + </dependencies> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>${source.plugin.version}</version> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + <!-- Apache POM doesn't define default war-plugin version, so do it here --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <version>${war.plugin.version}</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>${dependency.plugin.version}</version> + </plugin> + <plugin> + <groupId>com.github.ferstl</groupId> + <artifactId>depgraph-maven-plugin</artifactId> + <version>${depgraph.plugin.version}</version> + </plugin> + <plugin> + <groupId>io.fabric8</groupId> + <artifactId>docker-maven-plugin</artifactId> + <version>${docker.plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -235,7 +888,7 @@ <id>validate</id> <phase>validate</phase> <configuration> - <configLocation>http://streams.incubator.apache.org/site/${project.version}/streams-master/streams-java-checkstyle.xml</configLocation> + <configLocation>http://streams.incubator.apache.org/site/latest/streams-master/streams-java-checkstyle.xml</configLocation> <encoding>UTF-8</encoding> <consoleOutput>true</consoleOutput> <includeTestSourceDirectory>true</includeTestSourceDirectory> @@ -273,53 +926,264 @@ </execution> </executions> </plugin> + <plugin> + <groupId>net.alchim31.maven</groupId> + <artifactId>scala-maven-plugin</artifactId> + <version>${scala.plugin.version}</version> + </plugin> </plugins> </pluginManagement> </build> - <profiles> - <profile> - <id>contrib-check</id> - <properties> - <skipTests>false</skipTests> - <maven.test.skip>false</maven.test.skip> - </properties> - <build> - <plugins> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - </plugin> - </plugins> - </build> - </profile> - </profiles> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </dependency> + </dependencies> + <dependencyManagement> <dependencies> <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>${commons-io.version}</version> + </dependency> + <dependency> + <groupId>commons-codec</groupId> + <artifactId>commons-codec</artifactId> + <version>${commons-codec.version}</version> + </dependency> + <dependency> + <groupId>commons-validator</groupId> + <artifactId>commons-validator</artifactId> + <version>${commons-validator.version}</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>${commons-lang3.version}</version> + </dependency> + <dependency> + <groupId>com.typesafe</groupId> + <artifactId>config</artifactId> + <version>${typesafe.config.version}</version> + </dependency> + <dependency> + <groupId>org.reflections</groupId> + <artifactId>reflections</artifactId> + <version>${reflections.version}</version> + </dependency> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest-all</artifactId> + <version>${hamcrest.version}</version> + <scope>test</scope> + </dependency> + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> + <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> + <version>${testng.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-all</artifactId> + <version>${mockito.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock</artifactId> + <version>${powermock.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-module-junit4</artifactId> + <version>${powermock.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-api-mockito</artifactId> + <version>${powermock.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> + <version>${slf4j.version}</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + <version>${slf4j.version}</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>log4j-over-slf4j</artifactId> + <version>${slf4j.version}</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>jcl-over-slf4j</artifactId> + <version>${slf4j.version}</version> + </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>${log4j.version}</version> + </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-core</artifactId> + <version>${logback.version}</version> + </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + <version>${logback.version}</version> + </dependency> + <dependency> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + <version>${guava.version}</version> + </dependency> + <dependency> + <groupId>io.netty</groupId> + <artifactId>netty</artifactId> + <version>${netty.version}</version> + </dependency> + <dependency> + <groupId>joda-time</groupId> + <artifactId>joda-time</artifactId> + <version>${joda-time.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-annotations</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.datatype</groupId> + <artifactId>jackson-datatype-joda</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.module</groupId> + <artifactId>jackson-module-scala_${scala.suffix}</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.dataformat</groupId> + <artifactId>jackson-dataformat-xml</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml</groupId> + <artifactId>jackson-xml-databind</artifactId> + <version>${jackson-xml-databind.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.dataformat</groupId> + <artifactId>jackson-dataformat-yaml</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.datatype</groupId> + <artifactId>jackson-datatype-json-org</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml</groupId> + <artifactId>aalto-xml</artifactId> + <version>${aalto.version}</version> + </dependency> + <dependency> + <groupId>nz.net.ultraq.jaxb</groupId> + <artifactId>jaxb-utilities</artifactId> + <version>${jaxbutil.version}</version> + </dependency> + <dependency> + <groupId>org.json</groupId> + <artifactId>json</artifactId> + <version>${orgjson.version}</version> + </dependency> + <!-- JsonPath --> + <dependency> + <groupId>com.jayway.jsonpath</groupId> + <artifactId>json-path</artifactId> + <version>${json-path.version}</version> + </dependency> + <dependency> + <groupId>com.jayway.jsonpath</groupId> + <artifactId>json-path-assert</artifactId> + <version>${json-path.version}</version> + </dependency> + <dependency> + <groupId>org.apache.zookeeper</groupId> + <artifactId>zookeeper</artifactId> + <version>${zookeeper.version}</version> + <exclusions> + <exclusion> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + </exclusion> + </exclusions> </dependency> </dependencies> + </dependencyManagement> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>${checkstyle.plugin.version}</version> + <reportSets> + <reportSet> + <reports> + <report>checkstyle</report> + <report>checkstyle-aggregate</report> + </reports> + </reportSet> + </reportSets> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>${reports.plugin.version}</version> <configuration> + <customBundle>${project.basedir}/src/site/custom/project-info-report.properties</customBundle> <dependencyLocationsEnabled>false</dependencyLocationsEnabled> + <skipEmptyReport>false</skipEmptyReport> </configuration> <reportSets> <reportSet> @@ -327,6 +1191,16 @@ <reports> <report>index</report> <report>modules</report> + <report>license</report> + <report>mailing-list</report> + <report>project-team</report> + <report>scm</report> + <report>issue-tracking</report> + <report>dependencies</report> + <report>dependency-info</report> + <report>dependency-management</report> + <report>distribution-management</report> + <report>plugin-management</report> </reports> </reportSet> </reportSets> @@ -335,11 +1209,34 @@ <artifactId>maven-site-plugin</artifactId> <version>${site.plugin.version}</version> <configuration> + <generateSitemap>true</generateSitemap> <topSiteURL>scm:svn:https://svn.apache.org/repos/infra/websites/production/streams/content/site/${project.version}/${project.artifactId}</topSiteURL> </configuration> </plugin> <plugin> + <groupId>com.github.ferstl</groupId> + <artifactId>depgraph-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> + <version>${javadoc.plugin.version}</version> + <configuration> + <additionalparam>-Xdoclint:none</additionalparam> + <aggregate>false</aggregate> + <failOnError>false</failOnError> + <minmemory>128m</minmemory> + <maxmemory>1g</maxmemory> + <docfilessubdirs /> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>javadoc-no-fork</report> + <report>test-javadoc-no-fork</report> + </reports> + </reportSet> + </reportSets> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> @@ -351,4 +1248,147 @@ </plugins> </reporting> + <profiles> + <profile> + <id>apache-release</id> + <properties> + <skipTests>false</skipTests> + <maven.test.skip>false</maven.test.skip> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>${source.plugin.version}</version> + <configuration> + <skipSource>true</skipSource> + </configuration> + <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-jar-plugin</artifactId> + <configuration> + <skip>false</skip> + </configuration> + <executions> + <execution> + <id>test-jar</id> + <goals> + <goal>test-jar</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <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> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> + <descriptorRefs> + <descriptorRef>source-release</descriptorRef> + </descriptorRefs> + <tarLongFileMode>gnu</tarLongFileMode> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-release-plugin</artifactId> + <configuration> + <releaseProfiles>apache-release</releaseProfiles> + <preparationGoals>clean install</preparationGoals> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <skipTests>false</skipTests> + <skipExec>true</skipExec> + </configuration> + </plugin> + </plugins> + </build> + <reporting> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> + <plugin> + <artifactId>maven-project-info-reports-plugin</artifactId> + <configuration> + <dependencyLocationsEnabled>false</dependencyLocationsEnabled> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <reportSets> + <reportSet> + <id>aggregate</id> + <reports> + <report>javadoc-no-fork</report> + <report>test-javadoc-no-fork</report> + <report>aggregate</report> + </reports> + </reportSet> + <reportSet> + <id>html</id> + <reports> + <report>javadoc</report> + </reports> + </reportSet> + </reportSets> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + </plugin> + <plugin> + <groupId>com.github.ferstl</groupId> + <artifactId>depgraph-maven-plugin</artifactId> + <version>${depgraph.plugin.version}</version> + </plugin> + </plugins> + </reporting> + </profile> + <profile> + <id>contrib-check</id> + <properties> + <skipTests>false</skipTests> + <maven.test.skip>false</maven.test.skip> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>