directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1436891 - in /directory/studio/trunk/application: ./ application-release/ application-sources/ application-sources/src/ application-sources/src/main/ application-sources/src/main/assembly/
Date Tue, 22 Jan 2013 13:07:57 GMT
Author: pamarcelot
Date: Tue Jan 22 13:07:57 2013
New Revision: 1436891

URL: http://svn.apache.org/viewvc?rev=1436891&view=rev
Log:
Added a 'application-sources' project which is used to generate the sources package for Apache
Directory Studio during a release.

Added:
    directory/studio/trunk/application/application-sources/   (with props)
    directory/studio/trunk/application/application-sources/pom.xml
    directory/studio/trunk/application/application-sources/src/
    directory/studio/trunk/application/application-sources/src/main/
    directory/studio/trunk/application/application-sources/src/main/assembly/
    directory/studio/trunk/application/application-sources/src/main/assembly/src.xml
Modified:
    directory/studio/trunk/application/application-release/pom.xml
    directory/studio/trunk/application/pom.xml

Modified: directory/studio/trunk/application/application-release/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/application/application-release/pom.xml?rev=1436891&r1=1436890&r2=1436891&view=diff
==============================================================================
--- directory/studio/trunk/application/application-release/pom.xml (original)
+++ directory/studio/trunk/application/application-release/pom.xml Tue Jan 22 13:07:57 2013
@@ -105,6 +105,13 @@
                   <version>${project.version}</version>
                   <outputDirectory>${project.build.directory}</outputDirectory>
                 </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>ApacheDirectoryStudio-sources</artifactId>
+                  <type>zip</type>
+                  <version>${project.version}</version>
+                  <outputDirectory>${release-dir}</outputDirectory>
+                </artifactItem>
               </artifactItems>
             </configuration>
           </execution>

Propchange: directory/studio/trunk/application/application-sources/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Jan 22 13:07:57 2013
@@ -0,0 +1,4 @@
+.classpath
+.project
+.settings
+target

Added: directory/studio/trunk/application/application-sources/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/application/application-sources/pom.xml?rev=1436891&view=auto
==============================================================================
--- directory/studio/trunk/application/application-sources/pom.xml (added)
+++ directory/studio/trunk/application/application-sources/pom.xml Tue Jan 22 13:07:57 2013
@@ -0,0 +1,82 @@
+<?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.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.directory.studio</groupId>
+    <artifactId>application</artifactId>
+    <version>2.0.0-SNAPSHOT</version>
+  </parent>
+  
+  <artifactId>ApacheDirectoryStudio-sources</artifactId>
+  <name>Apache Directory Studio Application Sources</name>
+  <packaging>pom</packaging>
+  
+  <properties>
+    <release-dir>${project.build.directory}/ApacheDirectoryStudio-release-${project.version}</release-dir>
+  </properties>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <configuration>
+              <tarLongFileMode>gnu</tarLongFileMode>
+              <appendAssemblyId>false</appendAssemblyId>
+              <descriptors>
+                <descriptor>src/main/assembly/src.xml</descriptor>
+              </descriptors>
+            </configuration>
+            <goals>
+              <goal>attached</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      
+     <!--  <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <version>1.1</version>
+        <executions>
+          <execution>
+            <phase>prepare-package</phase>
+            <goals>
+              <goal>exec</goal>
+            </goals>
+              <configuration>
+                <workingDirectory>${release-dir}</workingDirectory>
+                <executable>sh</executable>
+                <arguments>
+                  <argument>sign.sh</argument>
+                </arguments>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin> -->
+      
+    </plugins>
+  </build>
+  
+</project>

Added: directory/studio/trunk/application/application-sources/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/application/application-sources/src/main/assembly/src.xml?rev=1436891&view=auto
==============================================================================
--- directory/studio/trunk/application/application-sources/src/main/assembly/src.xml (added)
+++ directory/studio/trunk/application/application-sources/src/main/assembly/src.xml Tue Jan
22 13:07:57 2013
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    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.
+-->
+<!-- $Rev:  $ $Date:  $ -->
+<assembly xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd">
+    <id>src</id>
+    <formats>
+        <format>zip</format>
+    </formats>
+    <fileSets>
+        <fileSet>
+            <directory>${project.basedir}/../..</directory>
+            <outputDirectory>/</outputDirectory>
+            <useDefaultExcludes>true</useDefaultExcludes>
+            <excludes>
+                <exclude>/</exclude>
+                <exclude>LICENSE</exclude>
+                <exclude>NOTICE</exclude>
+                <exclude>**/.*/**</exclude>
+                <exclude>**/META-INF/**</exclude>
+                <exclude>**/lib/**</exclude>
+                <exclude>**/libs/**</exclude>
+                <exclude>**/*.log</exclude>
+                <exclude>**/${project.build.directory}/**</exclude>
+            </excludes>
+        </fileSet>
+        <!-- <fileSet>
+            <directory>src/main/release</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>**</include>
+            </includes>
+        </fileSet> -->
+    </fileSets>
+</assembly>

Modified: directory/studio/trunk/application/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/application/pom.xml?rev=1436891&r1=1436890&r2=1436891&view=diff
==============================================================================
--- directory/studio/trunk/application/pom.xml (original)
+++ directory/studio/trunk/application/pom.xml Tue Jan 22 13:07:57 2013
@@ -172,6 +172,7 @@
         <module>application-win32-x86-exe</module>
         <module>application-win32-x86_64</module>
         <module>application-win32-x86_64-exe</module>
+        <module>application-sources</module>
         <module>application-release</module>
       </modules>
     </profile>



Mime
View raw message