manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1642673 - in /manifoldcf/trunk: pom.xml src/ src/main/ src/main/assembly/ src/main/assembly/bin.xml src/main/assembly/src.xml
Date Mon, 01 Dec 2014 12:44:01 GMT
Author: kwright
Date: Mon Dec  1 12:44:00 2014
New Revision: 1642673

URL: http://svn.apache.org/r1642673
Log:
Add assembly plugin configuration for source delivery to maven

Added:
    manifoldcf/trunk/src/
    manifoldcf/trunk/src/main/
    manifoldcf/trunk/src/main/assembly/
    manifoldcf/trunk/src/main/assembly/bin.xml   (with props)
    manifoldcf/trunk/src/main/assembly/src.xml   (with props)
Modified:
    manifoldcf/trunk/pom.xml

Modified: manifoldcf/trunk/pom.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/pom.xml?rev=1642673&r1=1642672&r2=1642673&view=diff
==============================================================================
--- manifoldcf/trunk/pom.xml (original)
+++ manifoldcf/trunk/pom.xml Mon Dec  1 12:44:00 2014
@@ -33,6 +33,11 @@
   <name>ManifoldCF</name>
   <packaging>pom</packaging>
 
+  <organization>
+    <name>The Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <!-- dependency versions -->
@@ -105,7 +110,66 @@
         </plugin>
       </plugins>
     </pluginManagement>
+    
     <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>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <archive>
+            <!-- Ensure source jars have full manifest entries (note: defaults aren't
suitable) -->
+            <manifestEntries>
+              <Specification-Title>${project.name}</Specification-Title>
+              <Specification-Version>${project.version}</Specification-Version>
+              <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
+              <Implementation-Title>${project.name}</Implementation-Title>
+              <Implementation-Version>${project.version}</Implementation-Version>
+              <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
+              <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+      
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              <Specification-Title>${project.name}</Specification-Title>
+              <Specification-Version>${project.version}</Specification-Version>
+              <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
+              <Implementation-Title>${project.name}</Implementation-Title>
+              <Implementation-Version>${project.version}</Implementation-Version>
+              <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
+              <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+              <url>${project.url}</url>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+      
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
@@ -118,6 +182,7 @@
           <maxmem>512m</maxmem>
         </configuration>
       </plugin>
+      
       <plugin>
         <artifactId>maven-resources-plugin</artifactId>
         <version>2.5</version>
@@ -125,10 +190,12 @@
           <encoding>UTF-8</encoding>
         </configuration>
       </plugin>
+      
       <plugin>
         <artifactId>maven-clean-plugin</artifactId>
         <version>2.4.1</version>
       </plugin>
+      
     </plugins>
   </build>
 

Added: manifoldcf/trunk/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/src/main/assembly/bin.xml?rev=1642673&view=auto
==============================================================================
--- manifoldcf/trunk/src/main/assembly/bin.xml (added)
+++ manifoldcf/trunk/src/main/assembly/bin.xml Mon Dec  1 12:44:00 2014
@@ -0,0 +1,68 @@
+<!--
+   $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/src/main/assembly/bin-unix.xml
$
+   $Revision: 687166 $
+   $Date: 2008-08-19 23:40:27 +0200 (Tue, 19 Aug 2008) $
+
+   ====================================================================
+   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.
+   ====================================================================
+
+   This software consists of voluntary contributions made by many
+   individuals on behalf of the Apache Software Foundation.  For more
+   information on the Apache Software Foundation, please see
+   <http://www.apache.org/>.
+ -->
+<assembly>
+    <id>bin</id>
+    <formats>
+        <format>tar.gz</format>
+        <format>zip</format>
+    </formats>
+    <moduleSets>
+      <moduleSet>
+        <excludes>
+          <!-- exclude>org.apache.httpcomponents:httpclient-osgi</exclude -->
+        </excludes>
+        <binaries>
+          <outputDirectory>lib</outputDirectory>
+          <unpack>false</unpack>
+          <dependencySets>
+            <dependencySet>
+              <excludes>
+                <exclude>org.slf4j:*</exclude>
+              </excludes>
+            </dependencySet>
+          </dependencySets>
+        </binaries>
+      </moduleSet>
+    </moduleSets>
+    <fileSets>
+        <fileSet>
+          <directory></directory>
+          <outputDirectory></outputDirectory>
+          <includes>
+            <include>**/target/*.jar</include>
+            <include>README.txt</include>
+            <include>LICENSE.txt</include>
+            <include>NOTICE.txt</include>
+            <include>CHANGES.txt</include>
+            <include>DEPENDENCIES.txt</include>
+          </includes>
+        </fileSet>
+    </fileSets>
+</assembly>

Propchange: manifoldcf/trunk/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: manifoldcf/trunk/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: manifoldcf/trunk/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/src/main/assembly/src.xml?rev=1642673&view=auto
==============================================================================
--- manifoldcf/trunk/src/main/assembly/src.xml (added)
+++ manifoldcf/trunk/src/main/assembly/src.xml Mon Dec  1 12:44:00 2014
@@ -0,0 +1,74 @@
+<!-- 
+   ====================================================================
+   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.
+   ====================================================================
+
+   This software consists of voluntary contributions made by many
+   individuals on behalf of the Apache Software Foundation.  For more
+   information on the Apache Software Foundation, please see
+   <http://www.apache.org/>.
+ -->
+<assembly>
+    <id>src</id>
+    <formats>
+        <format>tar.gz</format>
+        <format>zip</format>
+    </formats>
+    <fileSets>
+        <!-- Release materials -->
+        <fileSet>
+          <directory></directory>
+          <outputDirectory></outputDirectory>
+          <excludes>
+            <exclude>**/.*</exclude>
+            <exclude>**/.*/**</exclude>
+            <exclude>lib/</exclude>
+            <exclude>connectors/*/lib/</exclude>
+            <exclude>framework/lib/</exclude>
+            <exclude>**/lib-proprietary/**</exclude>
+            <exclude>**/build/</exclude>
+            <exclude>**/tmp/</exclude>
+            <exclude>site/fonts/</exclude>
+            <exclude>dist/</exclude>
+            <exclude>connectors/*/dist/</exclude>
+            <exclude>framework/dist/</exclude>
+            <exclude>**/target/</exclude>
+            <exclude>**/test-output/</exclude>
+            <exclude>**/test-HSQLDB-output/</exclude>
+            <exclude>**/test-HSQLDBext-output/</exclude>
+            <exclude>**/test-postgresql-output/</exclude>
+            <exclude>**/test-mysql-output/</exclude>
+            <exclude>**/test-materials/*.jar</exclude>
+            <exclude>**/test-materials/*.war</exclude>
+            <exclude>**/test-materials/*.wsdl</exclude>
+            <exclude>**/test-materials/*.xsd</exclude>
+            <exclude>**/test-materials-proprietary/*.jar</exclude>
+            <exclude>**/test-materials-proprietary/*.war</exclude>
+            <exclude>**/test-materials-proprietary/*.wsdl</exclude>
+            <exclude>**/test-materials-proprietary/*.xsd</exclude>
+            <exclude>**/lib-proprietary/*.jar</exclude>
+            <exclude>**/lib-proprietary/*.war</exclude>
+            <exclude>**/lib-proprietary/*.wsdl</exclude>
+            <exclude>**/lib-proprietary/*.xsd</exclude>
+            <exclude>connectors/elasticsearch/test-materials-proprietary/elasticsearch-1.0.1/</exclude>
+            <exclude>legacy-*/</exclude>
+            <exclude>apache-manifoldcf-*/</exclude>
+          </excludes>
+        </fileSet>
+    </fileSets>
+</assembly>

Propchange: manifoldcf/trunk/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: manifoldcf/trunk/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:keywords = Id



Mime
View raw message