You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2014/06/23 13:37:13 UTC

svn commit: r1604753 - in /sling/trunk/tooling/ide: assembly.xml pom.xml

Author: rombert
Date: Mon Jun 23 11:37:13 2014
New Revision: 1604753

URL: http://svn.apache.org/r1604753
Log:
SLING-3620 - POM preparations for release

Generate a source zip file which can be used for release voting.

Added:
    sling/trunk/tooling/ide/assembly.xml   (with props)
Modified:
    sling/trunk/tooling/ide/pom.xml

Added: sling/trunk/tooling/ide/assembly.xml
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/assembly.xml?rev=1604753&view=auto
==============================================================================
--- sling/trunk/tooling/ide/assembly.xml (added)
+++ sling/trunk/tooling/ide/assembly.xml Mon Jun 23 11:37:13 2014
@@ -0,0 +1,34 @@
+<!--
+ 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>src</id>
+    <formats>
+        <format>zip</format>
+    </formats>
+    <fileSets>
+        <fileSet>
+            <directory>${project.basedir}</directory>
+            <outputDirectory></outputDirectory>
+            <excludes>
+                <exclude>**/target/**</exclude>
+                <exclude>**/*.jar</exclude>
+            </excludes>
+        </fileSet>
+    </fileSets>
+</assembly>
\ No newline at end of file

Propchange: sling/trunk/tooling/ide/assembly.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sling/trunk/tooling/ide/assembly.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: sling/trunk/tooling/ide/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/pom.xml?rev=1604753&r1=1604752&r2=1604753&view=diff
==============================================================================
--- sling/trunk/tooling/ide/pom.xml (original)
+++ sling/trunk/tooling/ide/pom.xml Mon Jun 23 11:37:13 2014
@@ -168,5 +168,80 @@
                 </plugins>
             </build>
         </profile>
+        <!-- adapted from https://svn.apache.org/repos/asf/jackrabbit/commons/filevault/trunk/pom.xml -->
+        <profile>
+            <id>source-release</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <configuration>
+                            <finalName>sling-ide-tooling-${project.version}</finalName>
+                            <descriptors>
+                                <descriptor>assembly.xml</descriptor>
+                            </descriptors>
+                        </configuration>
+                    </plugin>
+                    <!-- JCR-2455: Automatic staging of non-Maven release artifacts -->
+                    <plugin>
+                        <artifactId>maven-antrun-plugin</artifactId>
+                        <configuration>
+                            <target>
+                                <checksum file="${basedir}/target/sling-ide-tooling-${project.version}-src.zip" algorithm="MD5" fileext=".md5"/>
+                                <checksum file="${basedir}/target/sling-ide-tooling-${project.version}-src.zip" algorithm="SHA1" fileext=".sha"/>
+                                <checksum file="${basedir}/target/sling-ide-tooling-${project.version}-src.zip" algorithm="SHA1" property="checksum" />
+                                <echo file="${basedir}/target/vote.txt">
+From: ${username}@apache.org
+To: dev@sling.apache.org
+Subject: [VOTE] Release Apache Sling IDE Tooling ${project.version}
+
+Hi,
+
+We solved ${jira.fixedIssues} issues in this release:
+https://issues.apache.org/jira/browse/SLING/fixforversion/${jira.fixVersion}
+
+There are still some outstanding issues:
+https://issues.apache.org/jira/browse/SLING/component/12320908
+
+The release candidate has been uploaded at https://dist.apache.org/repos/dist/dev/sling,
+and can be built using
+
+    mvn clean package
+    
+The resulting binaries can be installed into an Eclipse instance by installing from the update site which
+is found at p2update/target/repository after building the project. 
+
+Please vote to approve this release:
+
+  [ ] +1 Approve the release
+  [ ]  0 Don't care
+  [ ] -1 Don't release, because ...
+
+This majority vote is open for at least 72 hours.
+                                        </echo>
+                                        <echo />
+                                        <echo>
+The release candidate has been prepared in:
+
+${basedir}/target/
+
+A release vote template has been generated for you:
+
+file://${basedir}/target/vote.txt
+                                </echo>
+                                <echo />
+                            </target>
+                        </configuration>
+                        <dependencies>
+                            <dependency>
+                                <groupId>org.apache.ant</groupId>
+                                <artifactId>ant-nodeps</artifactId>
+                                <version>1.8.1</version>
+                            </dependency>
+                        </dependencies>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>