ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [29/50] [abbrv] incubator-ignite git commit: ignite-678 site deploy
Date Tue, 07 Apr 2015 09:12:33 GMT
ignite-678 site deploy


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

Branch: refs/heads/ignite-680
Commit: 0a8378c72f54c9dbc6a27850e7787b4c61c9f2b1
Parents: 7e6d193
Author: avinogradov <avinogradov@gridgain.com>
Authored: Mon Apr 6 20:20:18 2015 +0300
Committer: avinogradov <avinogradov@gridgain.com>
Committed: Mon Apr 6 20:20:18 2015 +0300

----------------------------------------------------------------------
 pom.xml | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 53 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0a8378c7/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index bc58e04..16a2cb0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,10 +31,14 @@
     </parent>
 
     <groupId>org.apache.ignite</groupId>
-    <artifactId>ignite</artifactId>
+    <artifactId>incubator-ignite</artifactId>
     <version>1.0.1-RC1-SNAPSHOT</version>
     <packaging>pom</packaging>
 
+    <properties>
+        <ignite.site>scp://localhost:/home</ignite.site>
+    </properties>
+
     <scm>
         <url>https://git-wip-us.apache.org/repos/asf/incubator-ignite</url>
         <connection>scm:git:git://git-wip-us.apache.org/repos/asf/incubator-ignite</connection>
@@ -42,6 +46,13 @@
         <tag>HEAD</tag>
     </scm>
 
+    <distributionManagement>
+        <site>
+            <id>ignite-site</id>
+            <url>${ignite.site}/${project.artifactId}-${project.version}</url>
+        </site>
+    </distributionManagement>
+
     <modules>
         <module>modules/tools</module>
         <module>modules/core</module>
@@ -499,7 +510,7 @@
                                 <fileSet>
                                     <directory>target</directory>
                                     <includes>
-                                        <include>ignite-${project.version}-source-release.zip</include>
+                                        <include>${project.artifactId}-${project.version}-source-release.zip</include>
                                     </includes>
                                 </fileSet>
                             </fileSets>
@@ -527,12 +538,17 @@
                                     <target>
                                         <zip destfile="${basedir}/target/sources-pack-${project.version}.zip"
encoding="UTF-8">
                                             <zipfileset dir="${basedir}/target" prefix="sources-pack-${project.version}">
-                                                <include name="ignite-${project.version}-source-release.zip"
/>
-                                                <include name="ignite-${project.version}-source-release.zip.asc"
/>
-                                                <include name="ignite-${project.version}-source-release.zip.md5"
/>
-                                                <include name="ignite-${project.version}-source-release.zip.sha1"
/>
+                                                <include name="${project.artifactId}-${project.version}-source-release.zip"
/>
+                                                <include name="${project.artifactId}-${project.version}-source-release.zip.asc"
/>
+                                                <include name="${project.artifactId}-${project.version}-source-release.zip.md5"
/>
+                                                <include name="${project.artifactId}-${project.version}-source-release.zip.sha1"
/>
                                             </zipfileset>
                                         </zip>
+                                        <mkdir dir="${basedir}/target/site"/>
+                                        <copy file="${basedir}/target/${project.artifactId}-${project.version}-source-release.zip"
todir="${basedir}/target/site"/>
+                                        <copy file="${basedir}/target/${project.artifactId}-${project.version}-source-release.zip.asc"
todir="${basedir}/target/site"/>
+                                        <copy file="${basedir}/target/${project.artifactId}-${project.version}-source-release.zip.md5"
todir="${basedir}/target/site"/>
+                                        <copy file="${basedir}/target/${project.artifactId}-${project.version}-source-release.zip.sha1"
todir="${basedir}/target/site"/>
                                     </target>
                                 </configuration>
                             </execution>
@@ -541,5 +557,36 @@
                 </plugins>
             </build>
         </profile>
+
+        <profile>
+            <id>deploy-site</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-site-plugin</artifactId>
+                        <version>3.4</version>
+                        <dependencies>
+                            <dependency>
+                                <groupId>org.apache.maven.wagon</groupId>
+                                <artifactId>wagon-ssh</artifactId>
+                                <version>2.8</version>
+                            </dependency>
+                        </dependencies>
+                        <executions>
+                            <execution>
+                                <goals>
+                                    <goal>deploy</goal>
+                                </goals>
+                                <phase>deploy</phase>
+                                <configuration>
+                                    <inputDirectory>${basedir}/target/site</inputDirectory>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>


Mime
View raw message