m2 build updates

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@595526 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Niall Kegan Pemberton 2007-11-16 02:40:53 +00:00
parent 3d70b9cc19
commit 6165d35534
5 changed files with 153 additions and 1 deletions

12
pom.xml
View File

@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
<version>4</version>
<version>5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>commons-collections</groupId>
@ -400,6 +400,16 @@
</includes>
</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>

44
src/assembly/bin.xml Normal file
View File

@ -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.html</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>

52
src/assembly/src.xml Normal file
View File

@ -0,0 +1,52 @@
<!--
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>${artifactId}-${version}-src</baseDirectory>
<fileSets>
<fileSet>
<includes>
<include>build.xml</include>
<include>DEVELOPERS-GUIDE.html</include>
<include>default.properties</include>
<include>LICENSE.txt</include>
<include>maven.xml</include>
<include>NOTICE.txt</include>
<include>pom.xml</include>
<include>project.properties</include>
<include>project.xml</include>
<include>PROPOSAL.html</include>
<include>README.txt</include>
<include>RELEASE-NOTES.html</include>
</includes>
</fileSet>
<fileSet>
<directory>data</directory>
</fileSet>
<fileSet>
<directory>src</directory>
</fileSet>
<fileSet>
<directory>xdocs</directory>
</fileSet>
</fileSets>
</assembly>

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

46
src/site/site.xml Normal file
View File

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
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 name="Collections">
<bannerRight>
<name>Commons Collections</name>
<src>/images/logo.png</src>
<href>/index.html</href>
</bannerRight>
<body>
<menu name="Collections">
<item name="Overview" href="/index.html"/>
<item name="Download" href="http://commons.apache.org/downloads/download_collections.cgi"/>
<item name="Users guide" href="/userguide.html"/>
<item name="History" href="/history.html"/>
<item name="Javadoc (3.2 release)" href="api-release/index.html"/>
</menu>
<menu name="Development">
<item name="Building" href="/building.html"/>
<item name="Mailing Lists" href="/mail-lists.html"/>
<item name="Issue Tracking" href="/issue-tracking.html"/>
<item name="Tasks" href="/tasks.html"/>
<item name="Proposal" href="/proposal.html"/>
<item name="Source Repository" href="/source-repository.html"/>
<item name="Javadoc (SVN latest)" href="apidocs/index.html"/>
</menu>
</body>
</project>