You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tephra.apache.org by po...@apache.org on 2016/05/12 05:35:03 UTC
incubator-tephra git commit: Add checksum plugin
Repository: incubator-tephra
Updated Branches:
refs/heads/release-changes 210616755 -> f8e9c43f2
Add checksum plugin
Project: http://git-wip-us.apache.org/repos/asf/incubator-tephra/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tephra/commit/f8e9c43f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tephra/tree/f8e9c43f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tephra/diff/f8e9c43f
Branch: refs/heads/release-changes
Commit: f8e9c43f2592516f5bdaccb4ea3ff86544e01044
Parents: 2106167
Author: poorna <po...@apache.org>
Authored: Wed May 11 22:35:00 2016 -0700
Committer: poorna <po...@apache.org>
Committed: Wed May 11 22:35:00 2016 -0700
----------------------------------------------------------------------
pom.xml | 55 +++++++++++++++++++++++++++++++++++++
src/assemble/src.xml | 59 ----------------------------------------
tephra-distribution/pom.xml | 41 ----------------------------
3 files changed, 55 insertions(+), 100 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tephra/blob/f8e9c43f/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 60911fe..1e93520 100644
--- a/pom.xml
+++ b/pom.xml
@@ -674,6 +674,61 @@
</plugins>
</build>
</profile>
+
+ <!-- Profile to generate apache release artifact -->
+ <profile>
+ <id>apache-release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <finalName>apache-tephra-${project.version}</finalName>
+ <formats>
+ <format>tar.gz</format>
+ </formats>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <configuration>
+ <!-- Disable this plugin so that it won't generate a DEPENDENCIES file in the source tar -->
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+
+ <!-- Compute checksum of release artifact -->
+ <plugin>
+ <inherited>false</inherited>
+ <groupId>net.ju-n.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>files</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <algorithms>
+ <algorithm>MD5</algorithm>
+ <algorithm>SHA-512</algorithm>
+ </algorithms>
+ <fileSets>
+ <fileSet>
+ <directory>${project.build.directory}</directory>
+ <includes>
+ <include>apache-tephra-${project.version}-${sourceReleaseAssemblyDescriptor}.tar.gz</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
http://git-wip-us.apache.org/repos/asf/incubator-tephra/blob/f8e9c43f/src/assemble/src.xml
----------------------------------------------------------------------
diff --git a/src/assemble/src.xml b/src/assemble/src.xml
deleted file mode 100644
index 4472c28..0000000
--- a/src/assemble/src.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-<?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.
- -->
-
-<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
- <id>source-release</id>
- <formats>
- <format>tar.gz</format>
- </formats>
- <includeBaseDirectory>true</includeBaseDirectory>
- <moduleSets>
- <moduleSet>
-
- <!-- Enable access to all projects in the current multimodule build! -->
- <useAllReactorProjects>true</useAllReactorProjects>
- <sources/>
- </moduleSet>
- </moduleSets>
- <fileSets>
- <!-- Include top level bin directory -->
- <!-- First copy all but the *.cmd files-->
- <fileSet>
- <directory>${project.basedir}/../bin</directory>
- <outputDirectory>bin</outputDirectory>
- <fileMode>0755</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <!-- Include top level text files-->
- <fileSet>
- <directory>${project.basedir}/..</directory>
- <outputDirectory>.</outputDirectory>
- <includes>
- <include>LICENSE</include>
- <include>NOTICE</include>
- <include>README.rst</include>
- <include>KEYS</include>
- <include>DISCLAIMER</include>
- </includes>
- <fileMode>0644</fileMode>
- </fileSet>
- </fileSets>
-</assembly>
http://git-wip-us.apache.org/repos/asf/incubator-tephra/blob/f8e9c43f/tephra-distribution/pom.xml
----------------------------------------------------------------------
diff --git a/tephra-distribution/pom.xml b/tephra-distribution/pom.xml
index 98d18a3..11175c9 100644
--- a/tephra-distribution/pom.xml
+++ b/tephra-distribution/pom.xml
@@ -105,47 +105,6 @@
</build>
<profiles>
- <!-- Profile to generate apache release artifact -->
- <profile>
- <id>apache-release</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <finalName>apache-tephra-${project.version}</finalName>
- <appendAssemblyId>true</appendAssemblyId>
- <formats>
- <format>tar.gz</format>
- </formats>
- <descriptors>
- <descriptor>src/assemble/src.xml</descriptor>
- </descriptors>
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- <executions>
- <execution>
- <id>src-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-remote-resources-plugin</artifactId>
- <configuration>
- <!-- Disable this plugin so that it won't generate a DEPENDENCIES file in the source tar -->
- <skip>true</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
-
<!--
Profile to generate aggregated coverage report.
Piggy-back on the distribution module as it already has dependency on all other modules.