IGNITE-5817 deleted deploy-ignite sources profile (cherry picked from commit 94641a9)
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/42c33682 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/42c33682 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/42c33682 Branch: refs/heads/ignite-2.2 Commit: 42c33682765e631fbf1d8fc3cf237c3781866e6d Parents: 792b57d Author: oleg-ostanin <[email protected]> Authored: Tue Sep 5 13:50:55 2017 +0300 Committer: Anton Vinogradov <[email protected]> Committed: Fri Sep 15 11:28:42 2017 +0300 ---------------------------------------------------------------------- pom.xml | 153 +---------------------------------------------------------- 1 file changed, 2 insertions(+), 151 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/42c33682/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 56b1a18..979f20c 100644 --- a/pom.xml +++ b/pom.xml @@ -547,25 +547,15 @@ </profile> <profile> - <id>apache-release</id> + <id>release-sources</id> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> - <!-- skip default --> - <id>source-release-assembly</id> - <goals> - <goal>single</goal> - </goals> - <configuration> - <skipAssembly>true</skipAssembly> - </configuration> - </execution> - <execution> <id>source-release-assembly-ignite</id> - <phase>initialize</phase> + <phase>validate</phase> <goals> <goal>single</goal> </goals> @@ -581,145 +571,6 @@ </execution> </executions> </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>attach-artifact</id><!-- allows to sign *bin.zip files --> - <phase>initialize</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <failOnError>false</failOnError> - <target> - <attachartifact file="${basedir}/target/bin/${project.artifactId}-fabric-${project.version}-bin.zip" classifier="fabric" type="zip" /> - <attachartifact file="${basedir}/target/bin/${project.artifactId}-hadoop-${project.version}-bin.zip" classifier="hadoop" type="zip" /> - </target> - </configuration> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-gpg-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>sign</goal> - </goals> - <configuration> - <ascDirectory>${basedir}</ascDirectory> - </configuration> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-remote-resources-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>process</goal> - </goals> - <configuration> - <!-- no <resourceBundle>, fix unexpected generation of - DEPENDENCIES, LICENSE, NOTICE files--> - <skip>true</skip> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - - <profile> - <id>deploy-ignite-site</id> - <build> - <plugins> - <plugin> - <groupId>net.ju-n.maven.plugins</groupId> - <artifactId>checksum-maven-plugin</artifactId> - <version>1.2</version> - <executions> - <execution> - <goals> - <goal>files</goal> - </goals> - <phase>initialize</phase> - </execution> - </executions> - <configuration> - <failOnError>false</failOnError> - <fileSets> - <fileSet> - <directory>${basedir}/target</directory> - <includes> - <include>${project.artifactId}-${project.version}-src.zip</include> - <include>bin/*.zip</include> - </includes> - </fileSet> - </fileSets> - <algorithms> - <algorithm>MD5</algorithm> - <algorithm>SHA-1</algorithm> - </algorithms> - </configuration> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <version>1.7</version> - <inherited>false</inherited> - <executions> - <execution> - <id>site-generation</id> - <goals> - <goal>run</goal> - </goals> - <phase>initialize</phase> - <configuration> - <failOnError>false</failOnError> - <target> - <mkdir dir="${basedir}/target/site" /> - - <copy file="${basedir}/target/${project.artifactId}-${project.version}-src.zip" tofile="${basedir}/target/site/${project.artifactId}-${project.version}-src.zip" failonerror="false" /> - <copy file="${basedir}/target/${project.artifactId}-${project.version}-src.zip.asc" tofile="${basedir}/target/site/${project.artifactId}-${project.version}-src.zip.asc" failonerror="false" /> - <copy file="${basedir}/target/${project.artifactId}-${project.version}-src.zip.md5" tofile="${basedir}/target/site/${project.artifactId}-${project.version}-src.zip.md5" failonerror="false" /> - <copy file="${basedir}/target/${project.artifactId}-${project.version}-src.zip.sha1" tofile="${basedir}/target/site/${project.artifactId}-${project.version}-src.zip.sha1" failonerror="false" /> - - <copy todir="${basedir}/target/site"> - <fileset dir="${basedir}/target/bin"> - <include name="**/*" /> - </fileset> - </copy> - - <!-- appending filename to md5 and sha1 files. to be improved!! --> - <!-- update versions task will replace " " to " ", so additional echo added. --> - <echo file="${basedir}/target/site/${project.artifactId}-fabric-${project.version}-bin.zip.md5" append="true" message=" " /> - <echo file="${basedir}/target/site/${project.artifactId}-fabric-${project.version}-bin.zip.sha1" append="true" message=" " /> - <echo file="${basedir}/target/site/${project.artifactId}-hadoop-${project.version}-bin.zip.md5" append="true" message=" " /> - <echo file="${basedir}/target/site/${project.artifactId}-hadoop-${project.version}-bin.zip.sha1" append="true" message=" " /> - <echo file="${basedir}/target/site/${project.artifactId}-${project.version}-src.zip.md5" append="true" message=" " /> - <echo file="${basedir}/target/site/${project.artifactId}-${project.version}-src.zip.sha1" append="true" message=" " /> - - <echo file="${basedir}/target/site/${project.artifactId}-fabric-${project.version}-bin.zip.md5" append="true" message=" ${project.artifactId}-fabric-${project.version}-bin.zip" /> - <echo file="${basedir}/target/site/${project.artifactId}-fabric-${project.version}-bin.zip.sha1" append="true" message=" ${project.artifactId}-fabric-${project.version}-bin.zip" /> - <echo file="${basedir}/target/site/${project.artifactId}-hadoop-${project.version}-bin.zip.md5" append="true" message=" ${project.artifactId}-hadoop-${project.version}-bin.zip" /> - <echo file="${basedir}/target/site/${project.artifactId}-hadoop-${project.version}-bin.zip.sha1" append="true" message=" ${project.artifactId}-hadoop-${project.version}-bin.zip" /> - <echo file="${basedir}/target/site/${project.artifactId}-${project.version}-src.zip.md5" append="true" message=" ${project.artifactId}-${project.version}-src.zip" /> - <echo file="${basedir}/target/site/${project.artifactId}-${project.version}-src.zip.sha1" append="true" message=" ${project.artifactId}-${project.version}-src.zip" /> - </target> - </configuration> - </execution> - </executions> - </plugin> </plugins> </build> </profile>
