streams-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sblack...@apache.org
Subject incubator-streams-master git commit: consolidated plugin versions and configuration
Date Mon, 15 Jun 2015 22:27:59 GMT
Repository: incubator-streams-master
Updated Branches:
  refs/heads/master b321e7f78 -> ecaa2030c


consolidated plugin versions and configuration


Project: http://git-wip-us.apache.org/repos/asf/incubator-streams-master/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams-master/commit/ecaa2030
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams-master/tree/ecaa2030
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams-master/diff/ecaa2030

Branch: refs/heads/master
Commit: ecaa2030c267f0716f3b9d5ab6d992c47970b264
Parents: b321e7f
Author: Steve Blackmon (@steveblackmon) <sblackmon@apache.org>
Authored: Mon Jun 15 16:27:57 2015 -0600
Committer: Steve Blackmon (@steveblackmon) <sblackmon@apache.org>
Committed: Mon Jun 15 16:27:57 2015 -0600

----------------------------------------------------------------------
 pom.xml | 800 +++++++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 617 insertions(+), 183 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams-master/blob/ecaa2030/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e4c7a46..f22c582 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,189 +19,623 @@
 -->
 <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/maven-v4_0_0.xsd">
 
-  <modelVersion>4.0.0</modelVersion>
-
-  <prerequisites>
-    <maven>3.0</maven>
-  </prerequisites>
-  
-  <parent>
-    <groupId>org.apache</groupId>
-    <artifactId>apache</artifactId>
-    <version>16</version>
-  </parent>
-
-  <groupId>org.apache.streams</groupId>
-  <artifactId>streams-master</artifactId>
-  <name>Apache Streams :: streams-master (Master POM)</name>
-  <description>Apache Streams Master Project</description>
-  <packaging>pom</packaging>
-  <version>0.3-incubating-SNAPSHOT</version>
-  
-  <inceptionYear>2012</inceptionYear>
-
-  <url>http://incubator.apache.org/streams</url>
-
-  <scm>
-    <connection>scm:svn:https://svn.apache.org/repos/asf/incubator/streams/streams-master-pom/trunk</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/streams/streams-master-pom/trunk</developerConnection>
-    <url>https://svn.apache.org/repos/asf/incubator/streams/streams-master-pom/trunk</url>
-  </scm>
-
-  <mailingLists>
-
-    <mailingList>
-      <name>Streams Developer List</name>
-      <subscribe>dev-subscribe@streams.incubator.apache.org</subscribe>
-      <unsubscribe>dev-unsubscribe@streams.incubator.apache.org</unsubscribe>
-      <post>mailto:dev@rstreams.incubator.apache.org</post>
-      <archive>http://mail-archives.apache.org/mod_mbox/streams-dev/</archive>
-    </mailingList>
-
-  </mailingLists>
-
-  <issueManagement>
-    <url>https://issues.apache.org/jira/browse/STREAMS</url>
-  </issueManagement>
-
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <!-- property to set projectName variable used by maven-remote-resources-plugin velocity
scripts:
-         set here to global project name instead of else used $project.project.name which
is
-         different for each and every module.
-    -->
-    <notice.file.project.name>Apache Streams</notice.file.project.name>
-  </properties>
-
-<build>
-
-  <pluginManagement>
-    <plugins>
-      <!-- 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>2.3</version>
-      </plugin>
-    </plugins>
-  </pluginManagement>
-
-  <plugins>
-
-    <!-- requires Java 6 -->
-    <plugin>
-      <groupId>org.apache.maven.plugins</groupId>
-      <artifactId>maven-enforcer-plugin</artifactId>
-      <executions>
-        <execution>
-          <id>enforce-java</id>
-          <goals>
-            <goal>enforce</goal>
-          </goals>
-          <configuration>
-            <rules>
-              <requireJavaVersion>
-                <message>Java 6 or higher is required to compile this module</message>
-                <version>1.7</version>
-              </requireJavaVersion>
-            </rules>
-          </configuration>
-        </execution>
-      </executions>
-    </plugin>
-    <!-- Enforce using Java 6 compatible language and byte code -->
-    <plugin>
-      <groupId>org.apache.maven.plugins</groupId>
-      <artifactId>maven-compiler-plugin</artifactId>
-      <configuration>
-        <source>1.7</source>
-        <target>1.7</target>
-      </configuration>
-    </plugin>
-
-    <plugin>
-      <groupId>org.apache.maven.plugins</groupId>
-      <artifactId>maven-remote-resources-plugin</artifactId>
-      <executions>
-        <execution>
-          <goals>
-            <goal>process</goal>
-          </goals>
-          <configuration>
-            <!-- add apache-incubator-disclaimer-resource-bundle to be removed again when
graduating from Incubator -->
-            <resourceBundles combine.children="append">
-              <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>
-      <groupId>org.apache.maven.plugins</groupId>
-      <artifactId>maven-war-plugin</artifactId>
-      <configuration>
-        <!-- copy legal files added/appended by maven-remote-resources-plugin
-             from /WEB-INF/classes/META-INF/ to root /META-INF folder as expected
-             for war artifacts,
-        -->
-        <webResources>
-          <resource>
-            <directory>${project.build.directory}/classes</directory>
-            <includes>
-              <include>META-INF/LICENSE</include>
-              <include>META-INF/NOTICE</include>
-              <include>META-INF/DEPENDENCIES</include>
-              <include>META-INF/DISCLAIMER</include>
-            </includes>
-            <filtering>false</filtering>
-          </resource>
-        </webResources>
-        <!-- exclude legal files added/appended by maven-remote-resources-plugin
-             under /WEB-INF/classes/META-INF/ as for war artifacts these should (see above)
-             be provided under /META-INF/ instead.
-         -->
-        <packagingExcludes>
-          WEB-INF/classes/META-INF/LICENSE,
-          WEB-INF/classes/META-INF/LICENSE.txt,
-          WEB-INF/classes/META-INF/NOTICE,
-          WEB-INF/classes/META-INF/NOTICE.txt,
-          WEB-INF/classes/META-INF/DISCLAIMER,
-          WEB-INF/classes/META-INF/DEPENDENCIES
-        </packagingExcludes>
-      </configuration>
-    </plugin>
-
-  </plugins>
-
-</build>
-
-  <profiles>
-    <profile>
-      <id>pedantic</id>
-      <build>
+    <modelVersion>4.0.0</modelVersion>
+
+    <prerequisites>
+        <maven>3.0</maven>
+    </prerequisites>
+
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>16</version>
+    </parent>
+
+    <groupId>org.apache.streams</groupId>
+    <artifactId>streams-master</artifactId>
+    <name>Apache Streams :: streams-master (Master POM)</name>
+    <description>Apache Streams Master Project</description>
+    <packaging>pom</packaging>
+    <version>0.3-incubating-SNAPSHOT</version>
+
+    <inceptionYear>2012</inceptionYear>
+
+    <url>http://incubator.apache.org/streams</url>
+
+    <scm>
+        <connection>scm:svn:https://svn.apache.org/repos/asf/incubator/streams/streams-master-pom/trunk</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/streams/streams-master-pom/trunk</developerConnection>
+        <url>https://svn.apache.org/repos/asf/incubator/streams/streams-master-pom/trunk</url>
+    </scm>
+
+    <mailingLists>
+
+        <mailingList>
+            <name>Streams Developer List</name>
+            <subscribe>dev-subscribe@streams.incubator.apache.org</subscribe>
+            <unsubscribe>dev-unsubscribe@streams.incubator.apache.org</unsubscribe>
+            <post>mailto:dev@rstreams.incubator.apache.org</post>
+            <archive>http://mail-archives.apache.org/mod_mbox/streams-dev/</archive>
+        </mailingList>
+
+    </mailingLists>
+
+    <issueManagement>
+        <url>https://issues.apache.org/jira/browse/STREAMS</url>
+    </issueManagement>
+
+    <properties>
+
+        <!-- Build Properties -->
+        <java.version>1.7</java.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.3-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 -->
+        <build-helper.plugin.version>1.8</build-helper.plugin.version>
+        <compiler.plugin.version>3.0</compiler.plugin.version>
+        <clean.plugin.version>2.6</clean.plugin.version>
+        <docker.plugin.version>0.11.5-M1</docker.plugin.version>
+        <enforcer.plugin.version>1.3.1</enforcer.plugin.version>
+        <failsafe.plugin.version>2.17</failsafe.plugin.version>
+        <jar.plugin.version>2.6</jar.plugin.version>
+        <javadoc.plugin.version>2.10.2</javadoc.plugin.version>
+        <remote-resources.plugin.version>1.4</remote-resources.plugin.version>
+        <resources.plugin.version>2.7</resources.plugin.version>
+        <scm.plugin.version>1.9.4</scm.plugin.version>
+        <shade.plugin.version>2.3</shade.plugin.version>
+        <site.plugin.version>3.4</site.plugin.version>
+        <source.plugin.version>2.4</source.plugin.version>
+        <surefire.plugin.version>2.17</surefire.plugin.version>
+        <wagon.plugin.version>2.8</wagon.plugin.version>
+        <war.plugin.version>2.5</war.plugin.version>
+
+        <!-- Library Dependency Versions -->
+        <jackson.version>2.3.2</jackson.version>
+        <jackson-xml-databind.version>0.6.2</jackson-xml-databind.version>
+        <aalto.version>0.9.9</aalto.version>
+        <joda-time.version>2.2</joda-time.version>
+        <rave.version>0.22</rave.version>
+        <datastax.version>1.0.3</datastax.version>
+        <jsonschema2pojo.version>0.4.6</jsonschema2pojo.version>
+        <jaxb2.version>0.8.3</jaxb2.version>
+        <jaxb2-basics.version>0.8.4</jaxb2-basics.version>
+        <jaxbutil.version>1.2.6</jaxbutil.version>
+        <junit.version>4.11</junit.version>
+        <slf4j.version>1.7.6</slf4j.version>
+        <log4j.version>1.2.16</log4j.version>
+        <logback.version>1.1.1</logback.version>
+        <hamcrest.version>1.3</hamcrest.version>
+        <commons-io.version>2.4</commons-io.version>
+        <commons-codec.version>1.10</commons-codec.version>
+        <commons-validator.version>1.4.0</commons-validator.version>
+        <commons-lang3.version>3.1</commons-lang3.version>
+        <typesafe.config.version>1.2.0</typesafe.config.version>
+        <reflections.version>0.9.9</reflections.version>
+        <orgjson.version>20140107</orgjson.version>
+        <guava.version>17.0</guava.version>
+        <scala.version>2.8.0</scala.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>
+        <build-helper.version>1.8</build-helper.version>
+        <facebook4j.version>2.1.0</facebook4j.version>
+        <mockito.version>1.9.5</mockito.version>
+        <powermock.version>1.5.6</powermock.version>
+        <httpcomponents.core.version>4.3.3</httpcomponents.core.version>
+        <httpcomponents.client.version>4.3.5</httpcomponents.client.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>
+
+    </properties>
+
+    <build>
+
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <artifactId>maven-clean-plugin</artifactId>
+                    <version>${clean.plugin.version}</version>
+                    <configuration>
+                        <filesets>
+                            <fileset>
+                                <directory>src/site/resources</directory>
+                                <followSymlinks>false</followSymlinks>
+                            </fileset>
+                        </filesets>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-remote-resources-plugin</artifactId>
+                    <version>${remote-resources.plugin.version}</version>
+                    <executions>
+                        <execution>
+                            <goals>
+                                <goal>process</goal>
+                            </goals>
+                            <configuration>
+                                <resourceBundles>
+                                    <!-- 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>
+                            </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>
+                                </resources>
+                            </configuration>
+                        </execution>
+                    </executions>
+                </plugin>
+                <plugin>
+                    <groupId>org.jsonschema2pojo</groupId>
+                    <artifactId>jsonschema2pojo-maven-plugin</artifactId>
+                    <version>${jsonschema2pojo.version}</version>
+                    <configuration>
+                        <addCompileSourceRoot>true</addCompileSourceRoot>
+                        <generateBuilders>true</generateBuilders>
+                        <outputDirectory>target/generated-sources/jsonschema2pojo</outputDirectory>
+                        <sourcePaths>
+                            <sourcePath>src/main/jsonschema</sourcePath>
+                        </sourcePaths>
+                        <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>${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 6 or higher is required to compile
this module</message>
+                                        <version>${java.version}</version>
+                                    </requireJavaVersion>
+                                </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.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>
+                </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.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>1.6</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>
+
+                <!-- 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>
+                    <artifactId>maven-project-info-reports-plugin</artifactId>
+                    <configuration>
+                        <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+
         <plugins>
-          <plugin>
-            <groupId>org.apache.rat</groupId>
-            <artifactId>apache-rat-plugin</artifactId>
-            <executions>
-              <execution>
-                <phase>verify</phase>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-              </execution>
-            </executions>
-            <configuration>
-              <excludes>
-                <exclude>**/MANIFEST.MF</exclude>
-              </excludes>
-            </configuration>
-          </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>${java.version}</source>
+                    <target>${java.version}</target>
+                    <encoding>${project.build.sourceEncoding}</encoding>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-remote-resources-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>process</goal>
+                        </goals>
+                        <configuration>
+                            <!-- add apache-incubator-disclaimer-resource-bundle to be
removed again when graduating from Incubator -->
+                            <resourceBundles combine.children="append">
+                                <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>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-war-plugin</artifactId>
+                <configuration>
+                    <!-- copy legal files added/appended by maven-remote-resources-plugin
+                         from /WEB-INF/classes/META-INF/ to root /META-INF folder as expected
+                         for war artifacts,
+                    -->
+                    <webResources>
+                        <resource>
+                            <directory>${project.build.directory}/classes</directory>
+                            <includes>
+                                <include>META-INF/LICENSE</include>
+                                <include>META-INF/NOTICE</include>
+                                <include>META-INF/DEPENDENCIES</include>
+                                <include>META-INF/DISCLAIMER</include>
+                            </includes>
+                            <filtering>false</filtering>
+                        </resource>
+                    </webResources>
+                    <!-- exclude legal files added/appended by maven-remote-resources-plugin
+                         under /WEB-INF/classes/META-INF/ as for war artifacts these should
(see above)
+                         be provided under /META-INF/ instead.
+                     -->
+                    <packagingExcludes>
+                        WEB-INF/classes/META-INF/LICENSE,
+                        WEB-INF/classes/META-INF/LICENSE.txt,
+                        WEB-INF/classes/META-INF/NOTICE,
+                        WEB-INF/classes/META-INF/NOTICE.txt,
+                        WEB-INF/classes/META-INF/DISCLAIMER,
+                        WEB-INF/classes/META-INF/DEPENDENCIES
+                    </packagingExcludes>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>${javadoc.plugin.version}</version>
+                <configuration>
+                    <additionalparam>-Xdoclint:none</additionalparam>
+                    <aggregate>true</aggregate>
+                    <failOnError>false</failOnError>
+                    <minmemory>128m</minmemory>
+                    <maxmemory>1g</maxmemory>
+                </configuration>
+            </plugin>
         </plugins>
-      </build>
-    </profile>
-</profiles>
+
+    </build>
+
+    <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.rat</groupId>
+                        <artifactId>apache-rat-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>check</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <excludes>
+                                <exclude>.git</exclude>
+                                <exclude>.gitignore</exclude>
+                                <exclude>.git/**</exclude>
+                                <exclude>.idea/**</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/main/resources/**</exclude>
+                                <exclude>**/src/test/resources/**</exclude>
+                                <exclude>**/.gitignore</exclude>
+                                <exclude>**/*.properties</exclude>
+                                <exclude>**/*.iml</exclude>
+                                <exclude>**/*.ini</exclude>
+                                <exclude>**/*.jar</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>
+                        <configuration>
+                            <skipTests>false</skipTests>
+                            <skipExec>true</skipExec>
+                        </configuration>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>sign-artifacts</id>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+            <reporting>
+                <plugins>
+                    <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>
+                        <artifactId>maven-site-plugin</artifactId>
+                        <version>${site.plugin.version}</version>
+                    </plugin>
+                </plugins>
+            </reporting>
+        </profile>
+    </profiles>
 </project>



Mime
View raw message