You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2019/06/28 03:02:11 UTC
[incubator-datasketches-memory] branch master updated: Add
assembly.xml, remove maven config, update pom.
This is an automated email from the ASF dual-hosted git repository.
leerho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-memory.git
The following commit(s) were added to refs/heads/master by this push:
new 8ec49bb Add assembly.xml, remove maven config, update pom.
8ec49bb is described below
commit 8ec49bbe0e40a70b6d1af09aca775a5879137c46
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Thu Jun 27 20:02:02 2019 -0700
Add assembly.xml, remove maven config, update pom.
---
.mvn/maven.config | 0
assembly.xml | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++++
pom.xml | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++----
3 files changed, 209 insertions(+), 8 deletions(-)
diff --git a/.mvn/maven.config b/.mvn/maven.config
deleted file mode 100644
index e69de29..0000000
diff --git a/assembly.xml b/assembly.xml
new file mode 100644
index 0000000..4fe17c0
--- /dev/null
+++ b/assembly.xml
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- Please refer to https://github.com/apache/maven-resources/blob/trunk/apache-source-release-assembly-descriptor/src/main/resources/assemblies/source-shared.xml before making changes to this file. -->
+
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
+
+ <id>source</id>
+
+ <formats>
+ <format>zip</format>
+ </formats>
+
+ <fileSets>
+ <!-- main project directory structure -->
+ <fileSet>
+ <directory>.</directory>
+ <outputDirectory></outputDirectory>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <excludes>
+ <!-- build output -->
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/).*${project.build.directory}.*]</exclude>
+
+ <!-- NOTE: Most of the following excludes should not be required
+ if the standard release process is followed. This is because the
+ release plugin checks out project sources into a location like
+ target/checkout, then runs the build from there. The result is
+ a source-release archive that comes from a pretty clean directory
+ structure.
+
+ HOWEVER, if the release plugin is configured to run extra goals
+ or generate a project website, it's definitely possible that some
+ of these files will be present. So, it's safer to exclude them.
+ -->
+
+ <!-- IDEs -->
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?maven-eclipse\.xml]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.project]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.classpath]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iws]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.idea(/.*)?]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?out(/.*)?]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.ipr]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iml]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.settings(/.*)?]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.externalToolBuilders(/.*)?]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.deployables(/.*)?]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.wtpmodules(/.*)?]</exclude>
+
+ <!-- misc -->
+ <exclude>**/local/**</exclude>
+ <exclude>**/tmp/**</exclude>
+ <exclude>**/target/**</exclude>
+ <exclude>**/test-output/**</exclude>
+ <exclude>**/.checkstyle</exclude>
+ <exclude>**/.git/**</exclude>
+ <exclude>**/.mvn/**</exclude>
+
+ <!-- files generated by the Gradle build process. -->
+ <exclude>**/.gradle/**</exclude>
+ <exclude>**/.gogradle/**</exclude>
+ <exclude>**/build/**</exclude>
+ <exclude>**/vendor/**</exclude>
+ <exclude>**/out/**</exclude>
+ <exclude>**/.gradletasknamecache</exclude>
+
+ <!-- files generated by the Maven build process. -->
+ <exclude>**/bin/**</exclude>
+ <exclude>**/dependency-reduced-pom.xml</exclude>
+
+ <!-- files generated by the Python build process. -->
+ <exclude>**/*.py[cod]</exclude>
+ <exclude>**/*.egg-info/</exclude>
+ <exclude>**/.eggs/**</exclude>
+ <exclude>**/nose-*.egg/**</exclude>
+ <exclude>**/.tox/**</exclude>
+ <exclude>**/dist/**</exclude>
+ <exclude>**/distribute-*/**</exclude>
+ <exclude>**/env/**</exclude>
+
+ <!-- release-plugin temp files -->
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?pom\.xml\.releaseBackup]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?release\.properties]</exclude>
+ </excludes>
+ </fileSet>
+ <!-- license, readme, etc. calculated at build time -->
+ <fileSet>
+ <directory>${project.build.directory}/maven-shared-archive-resources/META-INF</directory>
+ <outputDirectory></outputDirectory>
+ </fileSet>
+ </fileSets>
+
+</assembly>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 7777928..daa68d3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,13 +63,20 @@ under the License.
<mailingLists>
<mailingList>
- <name>Apache DataSketches (incubating) developers list</name>
+ <name>DataSketches Developers</name>
<subscribe>dev-subscribe@datasketches.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@datasketches.apache.org</unsubscribe>
<post>dev@datasketches.apache.org</post>
<archive>https://mail-archives.apache.org/mod_mbox/datasketches-dev</archive>
</mailingList>
<mailingList>
+ <name>DataSketches Commits</name>
+ <subscribe>commits-subscribe@datasketches.apache.org</subscribe>
+ <unsubscribe>commits-unsubscribe@datasketches.apache.org</unsubscribe>
+ <post>commits@datasketches.apache.org</post>
+ <archive>http://www.mail-archive.com/commits%datasketches.apache.org</archive>
+ </mailingList>
+ <mailingList>
<name>sketches-user</name>
<archive>https://groups.google.com/forum/#!forum/sketches-user</archive>
<subscribe>mailto:sketches-user%2Bsubscribe@googlegroups.com</subscribe>
@@ -124,6 +131,9 @@ under the License.
<!-- org.eluder Maven Plugins -->
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
+
+ <!-- other -->
+ <reproducible-build-maven-plugin.version>0.4</reproducible-build-maven-plugin.version>
</properties>
<repositories>
@@ -185,10 +195,44 @@ under the License.
<build>
<plugins>
+ <!-- Create a source-release artifact that contains the fully buildable
+ project directory source structure. This is the artifact which is the
+ official subject of any release vote. -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>source-release-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+ <descriptors>
+ <descriptor>assembly.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- We want to deploy the artifact to a staging location for perusal -->
+ <!-- exact duplicate of Parent -->
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <updateReleaseInfo>true</updateReleaseInfo>
+ </configuration>
+ </plugin>
+
+ <!-- exact duplicate of Parent -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
- <!-- version in parent -->
<executions>
<execution>
<id>sign-release-artifacts</id>
@@ -199,7 +243,7 @@ under the License.
</executions>
</plugin>
- <plugin>
+ <plugin> <!-- extends the Parent -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
@@ -222,11 +266,10 @@ under the License.
</configuration>
</plugin>
- <plugin>
+ <plugin> <!-- extends the Parent -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <!-- version in parent -->
- <configuration> <!-- not in parent -->
+ <configuration>
<!--
<show>private</show>
-->
@@ -244,15 +287,22 @@ under the License.
</plugin>
<plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <skip>false</skip>
+ </configuration>
+ </plugin>
+
+ <plugin> <!-- extends the Parent -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
- <!-- version in parent -->
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
- <goal>test-jar-no-fork</goal> <!-- not in parent -->
+ <goal>test-jar-no-fork</goal>
</goals>
</execution>
</executions>
@@ -300,8 +350,52 @@ under the License.
<!-- Since we use Travis CI we do not have to put a Coveralls token here. -->
</configuration>
</plugin>
+ <plugin>
+ <groupId>io.github.zlika</groupId>
+ <artifactId>reproducible-build-maven-plugin</artifactId>
+ <version>${reproducible-build-maven-plugin.version}</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>strip-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
+ <pluginManagement>
+ <plugins>
+ <!-- Ignore nuisance warning from Apache parent plugin:
+ "maven-remote-resources-plugin (goal "process") is ignored by m2e" -->
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <versionRange>[1.0,)</versionRange>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore>
+ </ignore>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+
</build>
<profiles>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org