Author: niallp Date: Wed Aug 1 19:46:28 2007 New Revision: 562002 URL: http://svn.apache.org/viewvc?view=rev&rev=562002 Log: Add source and binary assembly descriptors
Added: commons/proper/email/trunk/src/assembly/ commons/proper/email/trunk/src/assembly/bin.xml (with props) commons/proper/email/trunk/src/assembly/src.xml (with props) Modified: commons/proper/email/trunk/README.txt commons/proper/email/trunk/pom.xml Modified: commons/proper/email/trunk/README.txt URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/README.txt?view=diff&rev=562002&r1=562001&r2=562002 ============================================================================== --- commons/proper/email/trunk/README.txt (original) +++ commons/proper/email/trunk/README.txt Wed Aug 1 19:46:28 2007 @@ -35,7 +35,12 @@ to the target/site directory. The documentation has some examples of how to use this package as well as a FAQ. -3) Use +3) Create source and binary distributions + + Run the 'mvn site assembly:assembly' command. The source and binary + distributions are created in the 'target' directory. + +4) Use Simply include the jar file built in step #1 in your classpath. Import the classes that you want to use and you are ready to go! Modified: commons/proper/email/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/pom.xml?view=diff&rev=562002&r1=562001&r2=562002 ============================================================================== --- commons/proper/email/trunk/pom.xml (original) +++ commons/proper/email/trunk/pom.xml Wed Aug 1 19:46:28 2007 @@ -270,6 +270,16 @@ </excludes> </configuration> </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <configuration> + <descriptors> + <descriptor>src/assembly/bin.xml</descriptor> + <descriptor>src/assembly/src.xml</descriptor> + </descriptors> + <tarLongFileMode>gnu</tarLongFileMode> + </configuration> + </plugin> </plugins> </build> Added: commons/proper/email/trunk/src/assembly/bin.xml URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/assembly/bin.xml?view=auto&rev=562002 ============================================================================== --- commons/proper/email/trunk/src/assembly/bin.xml (added) +++ commons/proper/email/trunk/src/assembly/bin.xml Wed Aug 1 19:46:28 2007 @@ -0,0 +1,44 @@ +<!-- + 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>zip</format> + </formats> + <includeSiteDirectory>false</includeSiteDirectory> + <fileSets> + <fileSet> + <includes> + <include>LICENSE.txt</include> + <include>NOTICE.txt</include> + <include>RELEASE-NOTES.txt</include> + </includes> + </fileSet> + <fileSet> + <directory>target</directory> + <outputDirectory></outputDirectory> + <includes> + <include>*.jar</include> + </includes> + </fileSet> + <fileSet> + <directory>target/site/apidocs</directory> + <outputDirectory>apidocs</outputDirectory> + </fileSet> + </fileSets> +</assembly> Propchange: commons/proper/email/trunk/src/assembly/bin.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: commons/proper/email/trunk/src/assembly/bin.xml ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Added: commons/proper/email/trunk/src/assembly/src.xml URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/assembly/src.xml?view=auto&rev=562002 ============================================================================== --- commons/proper/email/trunk/src/assembly/src.xml (added) +++ commons/proper/email/trunk/src/assembly/src.xml Wed Aug 1 19:46:28 2007 @@ -0,0 +1,50 @@ +<!-- + 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>zip</format> + </formats> +<!-- + <baseDirectory>${project.build.finalName}-src</baseDirectory> + --> + <fileSets> + <fileSet> + <includes> + <include>build.xml</include> + <include>LICENSE.txt</include> + <include>NOTICE.txt</include> + <include>pom.xml</include> + <include>README.txt</include> + <include>RELEASE-NOTES.txt</include> + </includes> + </fileSet> + <fileSet> + <directory>conf</directory> + </fileSet> + <fileSet> + <directory>lib</directory> + </fileSet> + <fileSet> + <directory>src</directory> + </fileSet> + <fileSet> + <directory>xdocs</directory> + </fileSet> + </fileSets> +</assembly> Propchange: commons/proper/email/trunk/src/assembly/src.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: commons/proper/email/trunk/src/assembly/src.xml ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL