You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@any23.apache.org by si...@apache.org on 2012/01/15 17:48:02 UTC

svn commit: r1231705 - in /incubator/any23/trunk/service: pom.xml src/main/assembly/bin-without-deps.xml src/main/assembly/bin.xml

Author: simonetripodi
Date: Sun Jan 15 16:48:01 2012
New Revision: 1231705

URL: http://svn.apache.org/viewvc?rev=1231705&view=rev
Log:
creates 2 different bin packages (with and without dependencies)

Added:
    incubator/any23/trunk/service/src/main/assembly/bin-without-deps.xml   (with props)
Modified:
    incubator/any23/trunk/service/pom.xml
    incubator/any23/trunk/service/src/main/assembly/bin.xml

Modified: incubator/any23/trunk/service/pom.xml
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/service/pom.xml?rev=1231705&r1=1231704&r2=1231705&view=diff
==============================================================================
--- incubator/any23/trunk/service/pom.xml (original)
+++ incubator/any23/trunk/service/pom.xml Sun Jan 15 16:48:01 2012
@@ -122,38 +122,30 @@
           </execution>
         </executions>
       </plugin>
+
+      <!-- Generates the distribution package -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>assembly</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <attach>false</attach>
+          <tarLongFileMode>gnu</tarLongFileMode>
+          <descriptors>
+            <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
+            <descriptor>${basedir}/src/main/assembly/bin-without-deps.xml</descriptor>
+          </descriptors>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 
-  <profiles>
-    <profile>
-      <id>release</id>
-      <build>
-        <plugins>
-          <!-- Generates the distribution package -->
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-assembly-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>assembly</id>
-                <phase>package</phase>
-                <goals>
-                  <goal>single</goal>
-                </goals>
-              </execution>
-            </executions>
-            <configuration>
-              <attach>false</attach>
-              <tarLongFileMode>gnu</tarLongFileMode>
-              <descriptors>
-                <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
-              </descriptors>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
 </project>

Added: incubator/any23/trunk/service/src/main/assembly/bin-without-deps.xml
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/service/src/main/assembly/bin-without-deps.xml?rev=1231705&view=auto
==============================================================================
--- incubator/any23/trunk/service/src/main/assembly/bin-without-deps.xml (added)
+++ incubator/any23/trunk/service/src/main/assembly/bin-without-deps.xml Sun Jan 15 16:48:01 2012
@@ -0,0 +1,55 @@
+<?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>bin-without-deps</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>zip</format>
+  </formats>
+  <includeBaseDirectory>true</includeBaseDirectory>
+  <baseDirectory>apache-${project.build.finalName}-without-deps</baseDirectory>
+
+  <files>
+    <!-- without-deps -->
+    <file>
+      <source>${basedir}/../LICENSE.txt</source>
+      <filtered>true</filtered>
+      <outputDirectory>/</outputDirectory>
+      <fileMode>666</fileMode>
+    </file>
+    <file>
+      <source>${basedir}/../NOTICE.txt</source>
+      <filtered>true</filtered>
+      <outputDirectory>/</outputDirectory>
+      <fileMode>666</fileMode>
+    </file>
+    <file>
+      <source>${basedir}/../DISCLAIMER.txt</source>
+      <filtered>true</filtered>
+      <outputDirectory>/</outputDirectory>
+      <fileMode>666</fileMode>
+    </file>
+    <file>
+      <source>${project.build.directory}/${project.build.finalName}-without-deps.${project.packaging}</source>
+      <outputDirectory>/</outputDirectory>
+    </file>
+  </files>
+
+</assembly>

Propchange: incubator/any23/trunk/service/src/main/assembly/bin-without-deps.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/any23/trunk/service/src/main/assembly/bin-without-deps.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/any23/trunk/service/src/main/assembly/bin-without-deps.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/any23/trunk/service/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/service/src/main/assembly/bin.xml?rev=1231705&r1=1231704&r2=1231705&view=diff
==============================================================================
--- incubator/any23/trunk/service/src/main/assembly/bin.xml (original)
+++ incubator/any23/trunk/service/src/main/assembly/bin.xml Sun Jan 15 16:48:01 2012
@@ -27,15 +27,16 @@
   <baseDirectory>apache-${project.build.finalName}</baseDirectory>
 
   <files>
+    <!-- with-deps -->
     <file>
-      <source>${basedir}/../LICENSE.txt</source>
-      <filtered>true</filtered>
+      <source>${basedir}/src/main/assembly/LICENSE-with-deps.txt</source>
+      <destName>LICENSE.txt</destName>
       <outputDirectory>/</outputDirectory>
       <fileMode>666</fileMode>
     </file>
     <file>
-      <source>${basedir}/../NOTICE.txt</source>
-      <filtered>true</filtered>
+      <source>${basedir}/src/main/assembly/NOTICE-with-deps.txt</source>
+      <destName>NOTICE.txt</destName>
       <outputDirectory>/</outputDirectory>
       <fileMode>666</fileMode>
     </file>