ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [11/18] incubator-ignite git commit: src-release zip fix
Date Mon, 04 May 2015 09:07:00 GMT
src-release zip fix


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/09a33fe3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/09a33fe3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/09a33fe3

Branch: refs/heads/ignite-844
Commit: 09a33fe39b734f43767fd8ed9bbe2f1275f18324
Parents: 44b00ea
Author: Anton Vinogradov <avinogradov@gridgain.com>
Authored: Thu Apr 30 23:32:41 2015 +0300
Committer: Anton Vinogradov <avinogradov@gridgain.com>
Committed: Thu Apr 30 23:32:41 2015 +0300

----------------------------------------------------------------------
 pom.xml | 39 ++++++++++++++++++++++++++++++++++-----
 1 file changed, 34 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/09a33fe3/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 98541ef..c859021 100644
--- a/pom.xml
+++ b/pom.xml
@@ -467,6 +467,35 @@
             <build>
                 <plugins>
                     <plugin>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <dependencies>
+                            <dependency>
+                                <groupId>org.apache.apache.resources</groupId>
+                                <artifactId>apache-source-release-assembly-descriptor</artifactId>
+                                <version>1.0.4</version>
+                            </dependency>
+                        </dependencies>
+                        <executions>
+                            <execution>
+                                <id>source-release-assembly</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>single</goal>
+                                </goals>
+                                <configuration>
+                                    <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+                                    <descriptorRefs>
+                                        <descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef>
+                                    </descriptorRefs>
+                                    <tarLongFileMode>gnu</tarLongFileMode>
+                                    <finalName>incubator-ignite-${project.version}-src</finalName>
+                                    <appendAssemblyId>false</appendAssemblyId>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+
+                    <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-antrun-plugin</artifactId>
                         <executions>
@@ -533,7 +562,7 @@
                                 <fileSet>
                                     <directory>${basedir}/target</directory>
                                     <includes>
-                                        <include>${project.artifactId}-${project.version}-source-release.zip</include>
+                                        <include>incubator-ignite-${project.version}-src.zip</include>
                                         <include>bin/*.zip</include>
                                     </includes>
                                 </fileSet>
@@ -561,10 +590,10 @@
                                     <failOnError>false</failOnError>
                                     <target>
                                         <mkdir dir="${basedir}/target/site" />
-                                        <copy file="${basedir}/target/${project.artifactId}-${project.version}-source-release.zip"
tofile="${basedir}/target/site/incubator-ignite-${project.version}-src.zip" failonerror="false"
/>
-                                        <copy file="${basedir}/target/${project.artifactId}-${project.version}-source-release.zip.asc"
tofile="${basedir}/target/site/incubator-ignite-${project.version}-src.zip.asc" failonerror="false"
/>
-                                        <copy file="${basedir}/target/${project.artifactId}-${project.version}-source-release.zip.md5"
tofile="${basedir}/target/site/incubator-ignite-${project.version}-src.zip.md5" failonerror="false"
/>
-                                        <copy file="${basedir}/target/${project.artifactId}-${project.version}-source-release.zip.sha1"
tofile="${basedir}/target/site/incubator-ignite-${project.version}-src.zip.sha1" failonerror="false"
/>
+                                        <copy file="${basedir}/target/incubator-ignite-${project.version}-src.zip"
tofile="${basedir}/target/site/incubator-ignite-${project.version}-src.zip" failonerror="false"
/>
+                                        <copy file="${basedir}/target/incubator-ignite-${project.version}-src.zip.asc"
tofile="${basedir}/target/site/incubator-ignite-${project.version}-src.zip.asc" failonerror="false"
/>
+                                        <copy file="${basedir}/target/incubator-ignite-${project.version}-src.zip.md5"
tofile="${basedir}/target/site/incubator-ignite-${project.version}-src.zip.md5" failonerror="false"
/>
+                                        <copy file="${basedir}/target/incubator-ignite-${project.version}-src.zip.sha1"
tofile="${basedir}/target/site/incubator-ignite-${project.version}-src.zip.sha1" failonerror="false"
/>
                                         <copy todir="${basedir}/target/site">
                                             <fileset dir="${basedir}/target/bin">
                                                 <include name="**/*" />


Mime
View raw message