You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jd...@apache.org on 2009/08/05 00:36:13 UTC

svn commit: r801004 - in /maven/plugins/trunk/maven-repository-plugin: pom.xml src/assembly/ src/assembly/source-release.xml

Author: jdcasey
Date: Tue Aug  4 22:36:12 2009
New Revision: 801004

URL: http://svn.apache.org/viewvc?rev=801004&view=rev
Log:
rolling back the release attempt, and adding source-release bundle configuration.

Added:
    maven/plugins/trunk/maven-repository-plugin/src/assembly/
    maven/plugins/trunk/maven-repository-plugin/src/assembly/source-release.xml   (with props)
Modified:
    maven/plugins/trunk/maven-repository-plugin/pom.xml

Modified: maven/plugins/trunk/maven-repository-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-repository-plugin/pom.xml?rev=801004&r1=801003&r2=801004&view=diff
==============================================================================
--- maven/plugins/trunk/maven-repository-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-repository-plugin/pom.xml Tue Aug  4 22:36:12 2009
@@ -29,7 +29,7 @@
   </parent>
 
   <artifactId>maven-repository-plugin</artifactId>
-  <version>2.3-SNAPSHOT</version>
+  <version>2.2-SNAPSHOT</version>
   <packaging>maven-plugin</packaging>
 
   <name>Maven Repository Plugin</name>
@@ -133,9 +133,9 @@
                 <phase>integration-test</phase>
                 <configuration>
                   <tasks>
-                    <echo /><echo /><echo /><echo /><echo />
+                    <echo/><echo/><echo/><echo/><echo/>
                     <echo level="warning">NO INTEGRATION TESTS DEFINED</echo>
-                    <echo /><echo /><echo /><echo /><echo />
+                    <echo/><echo/><echo/><echo/><echo/>
                   </tasks>
                 </configuration>
                 <goals>
@@ -147,6 +147,32 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <!-- this should become 'apache-release' when maven-parent-12 is used -->
+      <id>release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+                <phase>package</phase>
+                <configuration>
+                  <descriptors>
+                    <descriptor>src/assembly/source-release.xml</descriptor>
+                  </descriptors>
+                  <tarLongFileMode>gnu</tarLongFileMode>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
   
   <build>

Added: maven/plugins/trunk/maven-repository-plugin/src/assembly/source-release.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-repository-plugin/src/assembly/source-release.xml?rev=801004&view=auto
==============================================================================
--- maven/plugins/trunk/maven-repository-plugin/src/assembly/source-release.xml (added)
+++ maven/plugins/trunk/maven-repository-plugin/src/assembly/source-release.xml Tue Aug  4 22:36:12 2009
@@ -0,0 +1,62 @@
+<?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.
+-->
+
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
+  <id>source-release</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>tar.bz2</format>
+    <format>zip</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <directory>${project.basedir}</directory>
+      <outputDirectory>/</outputDirectory>
+      <useDefaultExcludes>true</useDefaultExcludes>
+      <excludes>
+        <!-- IDE -->
+        <exclude>**/*.iws</exclude>
+        <exclude>**/*.ipr</exclude>
+        <exclude>**/*.iml</exclude>
+        <exclude>**/.project</exclude>
+        <exclude>**/.classpath</exclude>
+        <exclude>**/.settings/**</exclude>
+        <exclude>**/.externalToolBuilders/**</exclude>
+        <exclude>**/maven-eclipse.xml</exclude>
+        <exclude>**/.deployables/**</exclude>
+        <exclude>**/.wtpmodules/**</exclude>
+        <!-- maven -->
+        <exclude>**/target/**</exclude>
+        <exclude>**/pom.xml.releaseBackup</exclude>
+        <exclude>**/release.properties</exclude>
+        <!-- misc -->
+        <exclude>**/*.patch</exclude>
+        <exclude>**/*.diff</exclude>
+        <exclude>**/*.bak</exclude>
+        <exclude>**/*.log</exclude>
+      </excludes>
+    </fileSet>
+    <fileSet>
+      <directory>${project.build.directory}/maven-shared-archive-resources/META-INF</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+  </fileSets>
+</assembly>

Propchange: maven/plugins/trunk/maven-repository-plugin/src/assembly/source-release.xml
------------------------------------------------------------------------------
    svn:eol-style = native