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/07/18 15:52:01 UTC

svn commit: r1611654 - in /sling/trunk/tooling/ide/source-bundle: ./ assembly.xml pom.xml

Author: rombert
Date: Fri Jul 18 13:52:00 2014
New Revision: 1611654

URL: http://svn.apache.org/r1611654
Log:
SLING-3685 - Document and further automate the IDE tooling release
process

Build a source bundle out of the main reactor. This way the artifact can
be deployed on a Maven staging repo and undergo the usual voting
process.

Added:
    sling/trunk/tooling/ide/source-bundle/
    sling/trunk/tooling/ide/source-bundle/assembly.xml   (with props)
    sling/trunk/tooling/ide/source-bundle/pom.xml   (with props)

Added: sling/trunk/tooling/ide/source-bundle/assembly.xml
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/source-bundle/assembly.xml?rev=1611654&view=auto
==============================================================================
--- sling/trunk/tooling/ide/source-bundle/assembly.xml (added)
+++ sling/trunk/tooling/ide/source-bundle/assembly.xml Fri Jul 18 13:52:00 2014
@@ -0,0 +1,41 @@
+<!--
+ 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>jar</format>
+    </formats>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <fileSets>
+        <!-- create a source zip of project's complete source -->
+        <fileSet>
+            <directory>${project.basedir}/../</directory>
+            <outputDirectory>${project.build.finalName}</outputDirectory>
+            <excludes>
+                <exclude>**/target/**</exclude>
+                <exclude>**/*.jar</exclude>
+            </excludes>
+        </fileSet>
+        <!-- additionally include the required license files -->
+        <fileSet>
+            <directory>${project.build.directory}/maven-shared-archive-resources</directory>
+            <outputDirectory></outputDirectory>
+        </fileSet>
+    </fileSets>
+</assembly>
\ No newline at end of file

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

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

Added: sling/trunk/tooling/ide/source-bundle/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/source-bundle/pom.xml?rev=1611654&view=auto
==============================================================================
--- sling/trunk/tooling/ide/source-bundle/pom.xml (added)
+++ sling/trunk/tooling/ide/source-bundle/pom.xml Fri Jul 18 13:52:00 2014
@@ -0,0 +1,73 @@
+<?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. -->
+<project
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+    xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.sling.ide</groupId>
+        <artifactId>reactor</artifactId>
+        <version>1.0.1-SNAPSHOT</version>
+    </parent>
+    
+    <artifactId>org.apache.sling.ide.source-bundle</artifactId>
+    <name>Sling IDE Tools: Source Bundle</name>
+
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/tooling/ide/p2update</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/tooling/ide/p2update</developerConnection>
+        <url>http://svn.apache.org/viewvc/sling/trunk/tooling/ide/p2update</url>
+    </scm>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <configuration>
+                    <finalName>sling-ide-tooling-${project.version}</finalName>
+                    <appendAssemblyId>false</appendAssemblyId>
+                    <descriptors>
+                        <descriptor>assembly.xml</descriptor>
+                    </descriptors>
+                </configuration>
+                <executions>
+                    <execution>
+                    <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <!--
+                 override the default remote-resources configuration from the Apache pom
+                 to include our custom NOTICE file
+            -->
+            <plugin>
+                <artifactId>maven-remote-resources-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>process</goal>
+                        </goals>
+                        <configuration>
+                            <resourceBundles>
+                                <resourceBundle>org.apache.sling:apache-sling-jar-resource-bundle:1.0.0</resourceBundle>
+                                <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+                            </resourceBundles>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>            
+        </plugins>
+    </build>
+</project>

Propchange: sling/trunk/tooling/ide/source-bundle/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sling/trunk/tooling/ide/source-bundle/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml