Author: simonetripodi
Date: Sat Jan 14 13:41:00 2012
New Revision: 1231501

URL: http://svn.apache.org/viewvc?rev=1231501&view=rev
Log:
preparing the plugins bin distribution packages

Added:
    incubator/any23/trunk/plugins/basic-crawler/src/main/assembly/
    incubator/any23/trunk/plugins/basic-crawler/src/main/assembly/bin.xml   
(with props)
    incubator/any23/trunk/plugins/html-scraper/src/main/assembly/
    incubator/any23/trunk/plugins/html-scraper/src/main/assembly/bin.xml   
(with props)
    incubator/any23/trunk/plugins/office-scraper/src/main/assembly/
    incubator/any23/trunk/plugins/office-scraper/src/main/assembly/bin.xml   
(with props)
Modified:
    incubator/any23/trunk/plugins/basic-crawler/pom.xml
    incubator/any23/trunk/plugins/html-scraper/pom.xml
    incubator/any23/trunk/plugins/office-scraper/pom.xml

Modified: incubator/any23/trunk/plugins/basic-crawler/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/any23/trunk/plugins/basic-crawler/pom.xml?rev=1231501&r1=1231500&r2=1231501&view=diff
==============================================================================
--- incubator/any23/trunk/plugins/basic-crawler/pom.xml (original)
+++ incubator/any23/trunk/plugins/basic-crawler/pom.xml Sat Jan 14 13:41:00 2012
@@ -106,15 +106,26 @@
           <forkMode>always</forkMode>
         </configuration>
       </plugin>
-      <!-- Generates a self-contained JAR. -->
+
+      <!-- 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>
-          
<finalName>${project.artifactId}-${project.version}-cli-plugin</finalName>
-          <appendAssemblyId>false</appendAssemblyId>
-          <descriptorRefs>
-            <descriptorRef>jar-with-dependencies</descriptorRef>
-          </descriptorRefs>
+          <attach>false</attach>
+          <tarLongFileMode>gnu</tarLongFileMode>
+          <descriptors>
+            <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
+          </descriptors>
         </configuration>
       </plugin>
     </plugins>

Added: incubator/any23/trunk/plugins/basic-crawler/src/main/assembly/bin.xml
URL: 
http://svn.apache.org/viewvc/incubator/any23/trunk/plugins/basic-crawler/src/main/assembly/bin.xml?rev=1231501&view=auto
==============================================================================
--- incubator/any23/trunk/plugins/basic-crawler/src/main/assembly/bin.xml 
(added)
+++ incubator/any23/trunk/plugins/basic-crawler/src/main/assembly/bin.xml Sat 
Jan 14 13:41:00 2012
@@ -0,0 +1,58 @@
+<?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</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>zip</format>
+  </formats>
+  <includeBaseDirectory>true</includeBaseDirectory>
+  <baseDirectory>apache-${project.build.finalName}</baseDirectory>
+
+  <!-- Use the N&L files which apply to the included dependencies -->
+  <files>
+    <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>
+  </files>
+
+  <dependencySets>
+    <dependencySet>
+      <useProjectArtifact>true</useProjectArtifact>
+      <outputDirectory>/lib</outputDirectory>
+    </dependencySet>
+  </dependencySets>
+
+</assembly>

Propchange: 
incubator/any23/trunk/plugins/basic-crawler/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/any23/trunk/plugins/basic-crawler/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: 
incubator/any23/trunk/plugins/basic-crawler/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/any23/trunk/plugins/html-scraper/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/any23/trunk/plugins/html-scraper/pom.xml?rev=1231501&r1=1231500&r2=1231501&view=diff
==============================================================================
--- incubator/any23/trunk/plugins/html-scraper/pom.xml (original)
+++ incubator/any23/trunk/plugins/html-scraper/pom.xml Sat Jan 14 13:41:00 2012
@@ -88,15 +88,25 @@
     </resources>
 
     <plugins>
-      <!-- Generates a self-contained JAR. -->
+      <!-- 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>
-          
<finalName>${project.artifactId}-${project.version}-extractor-plugin</finalName>
-          <appendAssemblyId>false</appendAssemblyId>
-          <descriptorRefs>
-            <descriptorRef>jar-with-dependencies</descriptorRef>
-          </descriptorRefs>
+          <attach>false</attach>
+          <tarLongFileMode>gnu</tarLongFileMode>
+          <descriptors>
+            <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
+          </descriptors>
         </configuration>
       </plugin>
     </plugins>

Added: incubator/any23/trunk/plugins/html-scraper/src/main/assembly/bin.xml
URL: 
http://svn.apache.org/viewvc/incubator/any23/trunk/plugins/html-scraper/src/main/assembly/bin.xml?rev=1231501&view=auto
==============================================================================
--- incubator/any23/trunk/plugins/html-scraper/src/main/assembly/bin.xml (added)
+++ incubator/any23/trunk/plugins/html-scraper/src/main/assembly/bin.xml Sat 
Jan 14 13:41:00 2012
@@ -0,0 +1,58 @@
+<?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</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>zip</format>
+  </formats>
+  <includeBaseDirectory>true</includeBaseDirectory>
+  <baseDirectory>apache-${project.build.finalName}</baseDirectory>
+
+  <!-- Use the N&L files which apply to the included dependencies -->
+  <files>
+    <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>
+  </files>
+
+  <dependencySets>
+    <dependencySet>
+      <useProjectArtifact>true</useProjectArtifact>
+      <outputDirectory>/lib</outputDirectory>
+    </dependencySet>
+  </dependencySets>
+
+</assembly>

Propchange: incubator/any23/trunk/plugins/html-scraper/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/any23/trunk/plugins/html-scraper/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/any23/trunk/plugins/html-scraper/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/any23/trunk/plugins/office-scraper/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/any23/trunk/plugins/office-scraper/pom.xml?rev=1231501&r1=1231500&r2=1231501&view=diff
==============================================================================
--- incubator/any23/trunk/plugins/office-scraper/pom.xml (original)
+++ incubator/any23/trunk/plugins/office-scraper/pom.xml Sat Jan 14 13:41:00 
2012
@@ -71,15 +71,25 @@
     </resources>
 
     <plugins>
-      <!-- Generates a self-contained JAR. -->
+      <!-- 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>
-          
<finalName>${project.artifactId}-${project.version}-extractor-plugin</finalName>
-          <appendAssemblyId>false</appendAssemblyId>
-          <descriptorRefs>
-            <descriptorRef>jar-with-dependencies</descriptorRef>
-          </descriptorRefs>
+          <attach>false</attach>
+          <tarLongFileMode>gnu</tarLongFileMode>
+          <descriptors>
+            <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
+          </descriptors>
         </configuration>
       </plugin>
     </plugins>

Added: incubator/any23/trunk/plugins/office-scraper/src/main/assembly/bin.xml
URL: 
http://svn.apache.org/viewvc/incubator/any23/trunk/plugins/office-scraper/src/main/assembly/bin.xml?rev=1231501&view=auto
==============================================================================
--- incubator/any23/trunk/plugins/office-scraper/src/main/assembly/bin.xml 
(added)
+++ incubator/any23/trunk/plugins/office-scraper/src/main/assembly/bin.xml Sat 
Jan 14 13:41:00 2012
@@ -0,0 +1,58 @@
+<?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</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>zip</format>
+  </formats>
+  <includeBaseDirectory>true</includeBaseDirectory>
+  <baseDirectory>apache-${project.build.finalName}</baseDirectory>
+
+  <!-- Use the N&L files which apply to the included dependencies -->
+  <files>
+    <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>
+  </files>
+
+  <dependencySets>
+    <dependencySet>
+      <useProjectArtifact>true</useProjectArtifact>
+      <outputDirectory>/lib</outputDirectory>
+    </dependencySet>
+  </dependencySets>
+
+</assembly>

Propchange: 
incubator/any23/trunk/plugins/office-scraper/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/any23/trunk/plugins/office-scraper/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: 
incubator/any23/trunk/plugins/office-scraper/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml


Reply via email to