directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1510984 - in /directory/mavibot/trunk/distribution: ./ pom.xml src/ src/main/ src/main/assembly/ src/main/assembly/bin.xml src/main/assembly/src.xml
Date Tue, 06 Aug 2013 14:48:30 GMT
Author: elecharny
Date: Tue Aug  6 14:48:30 2013
New Revision: 1510984

URL: http://svn.apache.org/r1510984
Log:
Added the dsitribution module

Added:
    directory/mavibot/trunk/distribution/
    directory/mavibot/trunk/distribution/pom.xml
    directory/mavibot/trunk/distribution/src/
    directory/mavibot/trunk/distribution/src/main/
    directory/mavibot/trunk/distribution/src/main/assembly/
    directory/mavibot/trunk/distribution/src/main/assembly/bin.xml
    directory/mavibot/trunk/distribution/src/main/assembly/src.xml

Added: directory/mavibot/trunk/distribution/pom.xml
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/distribution/pom.xml?rev=1510984&view=auto
==============================================================================
--- directory/mavibot/trunk/distribution/pom.xml (added)
+++ directory/mavibot/trunk/distribution/pom.xml Tue Aug  6 14:48:30 2013
@@ -0,0 +1,81 @@
+<?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 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/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.directory.mavibot</groupId>
+    <artifactId>mavibot-parent</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+ 
+  <artifactId>distribution</artifactId>
+  <packaging>pom</packaging>
+  <name>Apache Mavibot Distribution</name>
+
+  <properties>
+    <docsFolder>${project.build.directory}/docs</docsFolder>
+  </properties>
+
+  <build>
+    <finalName>apache-mavibot-${project.version}</finalName>
+
+    <!-- Here, we create the src and bin packages -->
+    <plugins>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <configuration>
+          <descriptors>
+            <descriptor>src/main/assembly/bin.xml</descriptor>
+            <descriptor>src/main/assembly/src.xml</descriptor>
+          </descriptors>
+          <tarLongFileMode>gnu</tarLongFileMode>
+        </configuration>
+
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+  
+      <plugin>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+ 
+  <dependencies>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>mavibot/artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  </dependencies>
+
+</project>
+

Added: directory/mavibot/trunk/distribution/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/distribution/src/main/assembly/bin.xml?rev=1510984&view=auto
==============================================================================
--- directory/mavibot/trunk/distribution/src/main/assembly/bin.xml (added)
+++ directory/mavibot/trunk/distribution/src/main/assembly/bin.xml Tue Aug  6 14:48:30 2013
@@ -0,0 +1,80 @@
+<?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>
+  <id>bin</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>tar.bz2</format> 
+    <format>zip</format>
+  </formats>
+ 
+  <!-- Now copy the other files, excluding the files we don't want -->
+  <fileSets>
+    <!-- Copy licenses into '/' -->
+    <fileSet>
+      <directory>..</directory>
+      <outputDirectory/>
+      <includes>
+        <include>README*</include>
+        <include>LICENSE</include>
+        <include>NOTICE</include>
+      </includes>
+    </fileSet>
+    
+    <!-- Copy Javadoc into '/docs' -->
+    <fileSet>
+      <directory>../target/site</directory>
+      <outputDirectory>docs</outputDirectory>
+      <includes>
+        <include>apidocs*/**</include>
+        <include>xref*/**</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+
+  <dependencySets>
+    <!-- Copy Mavibot modules into '/dist' -->
+    <dependencySet>
+      <outputDirectory>dist</outputDirectory>
+      <includes>
+        <!-- Including only Mavibot modules -->
+        <include>${project.groupId}:*</include>
+      </includes>
+      
+      <excludes>
+        <!-- Excluding sources jars -->
+        <exclude>*:sources</exclude>
+      </excludes> 
+    </dependencySet>
+    
+    <!-- Copy Mavibot dependencies into '/lib' -->
+    <dependencySet>
+      <outputDirectory>lib</outputDirectory>
+      <excludes>
+        <!-- Excluding Mavibot modules -->
+        <exclude>${project.groupId}:*</exclude>
+      
+        <!-- Excluding sources jars -->
+        <exclude>*:sources</exclude>
+      </excludes> 
+    </dependencySet>
+  </dependencySets>
+</assembly>

Added: directory/mavibot/trunk/distribution/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/distribution/src/main/assembly/src.xml?rev=1510984&view=auto
==============================================================================
--- directory/mavibot/trunk/distribution/src/main/assembly/src.xml (added)
+++ directory/mavibot/trunk/distribution/src/main/assembly/src.xml Tue Aug  6 14:48:30 2013
@@ -0,0 +1,80 @@
+<?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>
+  <id>src</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>tar.bz2</format> 
+    <format>zip</format>
+  </formats>
+  
+  <fileSets>
+    <!-- Copy licenses into '/' -->
+    <fileSet>
+      <directory>..</directory>
+      <outputDirectory/>
+      <includes>
+        <include>README*</include>
+        <include>LICENSE</include>
+        <include>NOTICE</include>
+      </includes>
+    </fileSet>
+    
+    <!-- Copy Javadoc into '/docs' -->
+    <fileSet>
+      <directory>../target/site</directory>
+      <outputDirectory>docs</outputDirectory>
+      <includes>
+        <include>apidocs*/**</include>
+        <include>xref*/**</include>
+      </includes>
+    </fileSet>
+      
+    <!-- Copy sources into '/src' -->
+    <fileSet>
+      <directory>..</directory>
+      <outputDirectory/>
+      <includes>
+        <include>**/*</include>
+      </includes>
+      <excludes>
+        <exclude>.git/**</exclude>
+        <exclude>KEYS</exclude>
+        <exclude>LICENSE-bin</exclude>
+        <exclude>NOTICE</exclude>
+        <exclude>**/target</exclude>
+        <exclude>**/target/**</exclude>
+        <exclude>**/.settings</exclude>
+        <exclude>**/.settings/**</exclude>
+        <exclude>**/.classpath</exclude>
+        <exclude>**/.project</exclude>
+        <exclude>**/*.gen</exclude>
+        <exclude>**/.wtpmodules</exclude>
+        <exclude>**/surefire*</exclude>
+        <exclude>**/cobertura.ser</exclude>
+        <exclude>**/velocity.log</exclude>
+        <exclude>**/release.properties</exclude>
+        <exclude>**/pom.xml.releaseBackup</exclude>
+      </excludes>
+    </fileSet>
+  </fileSets>
+  
+</assembly>



Mime
View raw message