You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2011/01/06 22:11:57 UTC
svn commit: r1056079 - in /httpcomponents/httpasyncclient/trunk: pom.xml
src/ src/main/ src/main/assembly/ src/main/assembly/bin.xml
src/main/assembly/build.xml src/main/assembly/src.xml
Author: olegk
Date: Thu Jan 6 21:11:57 2011
New Revision: 1056079
URL: http://svn.apache.org/viewvc?rev=1056079&view=rev
Log:
Added release assemblies
Added:
httpcomponents/httpasyncclient/trunk/src/
httpcomponents/httpasyncclient/trunk/src/main/
httpcomponents/httpasyncclient/trunk/src/main/assembly/
httpcomponents/httpasyncclient/trunk/src/main/assembly/bin.xml (with props)
httpcomponents/httpasyncclient/trunk/src/main/assembly/build.xml (with props)
httpcomponents/httpasyncclient/trunk/src/main/assembly/src.xml (with props)
Modified:
httpcomponents/httpasyncclient/trunk/pom.xml
Modified: httpcomponents/httpasyncclient/trunk/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/pom.xml?rev=1056079&r1=1056078&r2=1056079&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/pom.xml (original)
+++ httpcomponents/httpasyncclient/trunk/pom.xml Thu Jan 6 21:11:57 2011
@@ -125,6 +125,32 @@
<artifactId>maven-site-plugin</artifactId>
</plugin>
<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>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <inherited>false</inherited>
+ <configuration>
+ <tasks>
+ <ant antfile="src/main/assembly/build.xml">
+ <property name="target" value="${project.build.directory}" />
+ <property name="package.name" value="${project.artifactId}-${project.version}-bin" />
+ </ant>
+ <ant antfile="src/main/assembly/build.xml">
+ <property name="target" value="${project.build.directory}" />
+ <property name="package.name" value="${project.artifactId}-${project.version}-src" />
+ </ant>
+ </tasks>
+ </configuration>
+ </plugin>
+ <plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
Added: httpcomponents/httpasyncclient/trunk/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/src/main/assembly/bin.xml?rev=1056079&view=auto
==============================================================================
--- httpcomponents/httpasyncclient/trunk/src/main/assembly/bin.xml (added)
+++ httpcomponents/httpasyncclient/trunk/src/main/assembly/bin.xml Thu Jan 6 21:11:57 2011
@@ -0,0 +1,73 @@
+<!--
+ $HeadURL$
+ $Revision$
+ $Date$
+
+ ====================================================================
+ 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>
+ <binaries>
+ <outputDirectory>lib</outputDirectory>
+ <unpack>false</unpack>
+ <dependencySets>
+ <dependencySet>
+ </dependencySet>
+ </dependencySets>
+ </binaries>
+ </moduleSet>
+ </moduleSets>
+ <fileSets>
+ <fileSet>
+ <directory></directory>
+ <outputDirectory></outputDirectory>
+ <includes>
+ <include>README.txt</include>
+ <include>LICENSE.txt</include>
+ <include>NOTICE.txt</include>
+ <include>RELEASE_NOTES.txt</include>
+ </includes>
+ </fileSet>
+ <!-- Javadocs -->
+ <fileSet>
+ <directory>target/site/apidocs</directory>
+ <outputDirectory>javadoc</outputDirectory>
+ </fileSet>
+ <!-- Base module -->
+ <fileSet>
+ <directory>httpasyncclient/src/examples/</directory>
+ <outputDirectory>examples</outputDirectory>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly>
Propchange: httpcomponents/httpasyncclient/trunk/src/main/assembly/bin.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: httpcomponents/httpasyncclient/trunk/src/main/assembly/bin.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: httpcomponents/httpasyncclient/trunk/src/main/assembly/bin.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: httpcomponents/httpasyncclient/trunk/src/main/assembly/build.xml
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/src/main/assembly/build.xml?rev=1056079&view=auto
==============================================================================
--- httpcomponents/httpasyncclient/trunk/src/main/assembly/build.xml (added)
+++ httpcomponents/httpasyncclient/trunk/src/main/assembly/build.xml Thu Jan 6 21:11:57 2011
@@ -0,0 +1,65 @@
+<!--
+ 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 />.
+ -->
+<project name="assembly-postprocess" default="fixarchives" basedir=".">
+
+ <target name="fixarchives" depends="_eolcheck,fixzip,fixtgz">
+ </target>
+
+ <target name="fixzip" unless="native.crlf">
+ <property name="tmp.dir" location="${target}/tmp"/>
+ <property name="zip.file" location="${target}/${package.name}.zip"/>
+ <delete dir="${tmp.dir}" />
+ <unzip src="${zip.file}" dest="${tmp.dir}"/>
+ <fixcrlf srcdir="${tmp.dir}" eol="crlf" eof="remove" fixlast="false"
+ includes="**/*.txt, **/*.xml, **/*.properties, **/*.java, **/*.html, **/*.css, **/*.apt, **/*.py, **/*.svg, **/*.xsl" />
+ <zip destfile="${zip.file}" basedir="${tmp.dir}" duplicate="preserve" />
+ <delete dir="${tmp.dir}" />
+ </target>
+
+ <target name="fixtgz" unless="native.lf">
+ <property name="tmp.dir" location="${target}/tmp"/>
+ <property name="gz.file" location="${target}/${package.name}.tar.gz"/>
+ <property name="tar.file" location="${target}/${package.name}.tar"/>
+ <delete dir="${tmp.dir}" />
+ <gunzip src="${gz.file}" dest="${tar.file}"/>
+ <untar src="${tar.file}" dest="${tmp.dir}"/>
+ <fixcrlf srcdir="${tmp.dir}" eol="lf" eof="remove" fixlast="false"
+ includes="**/*.txt, **/*.xml, **/*.properties, **/*.java, **/*.html, **/*.css, **/*.apt, **/*.py, **/*.svg, **/*.xsl" />
+ <tar destfile="${tar.file}" basedir="${tmp.dir}" longfile="gnu"/>
+ <gzip src="${tar.file}" destfile="${gz.file}"/>
+ <delete file="${tar.file}"/>
+ <delete dir="${tmp.dir}"/>
+ </target>
+
+ <!-- Determine if the native format is CRLF or LF (or neither) -->
+ <target name="_eolcheck">
+ <condition property="native.lf">
+ <os family="unix"/>
+ </condition>
+ <condition property="native.crlf">
+ <os family="dos"/>
+ </condition>
+ </target>
+</project>
Propchange: httpcomponents/httpasyncclient/trunk/src/main/assembly/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: httpcomponents/httpasyncclient/trunk/src/main/assembly/build.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: httpcomponents/httpasyncclient/trunk/src/main/assembly/build.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: httpcomponents/httpasyncclient/trunk/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/src/main/assembly/src.xml?rev=1056079&view=auto
==============================================================================
--- httpcomponents/httpasyncclient/trunk/src/main/assembly/src.xml (added)
+++ httpcomponents/httpasyncclient/trunk/src/main/assembly/src.xml Thu Jan 6 21:11:57 2011
@@ -0,0 +1,48 @@
+<!--
+ ====================================================================
+ 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>**/bin/**</exclude>
+ <exclude>**/target/**</exclude>
+ <exclude>**/local/**</exclude>
+ <exclude>**/lib/**</exclude>
+ <exclude>*.rdf</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+</assembly>
Propchange: httpcomponents/httpasyncclient/trunk/src/main/assembly/src.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: httpcomponents/httpasyncclient/trunk/src/main/assembly/src.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: httpcomponents/httpasyncclient/trunk/src/main/assembly/src.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml