Skip to content

Commit 15e3a2d

Browse files
author
Niall Pemberton
committed
Update m2 build. Add source and binary assemblies. Add site.xml and copy images so site generates correctly.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@538421 13f79535-47bb-0310-9956-ffa450edef68
1 parent c14b099 commit 15e3a2d

7 files changed

Lines changed: 149 additions & 1 deletion

File tree

pom.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<groupId>commons-io</groupId>
2929
<artifactId>commons-io</artifactId>
3030
<version>1.4-SNAPSHOT</version>
31-
<name>IO</name>
31+
<name>Commons IO</name>
3232

3333
<inceptionYear>2002</inceptionYear>
3434
<description>
@@ -221,6 +221,16 @@
221221
</excludes>
222222
</configuration>
223223
</plugin>
224+
<plugin>
225+
<artifactId>maven-assembly-plugin</artifactId>
226+
<configuration>
227+
<descriptors>
228+
<descriptor>src/main/assembly/bin.xml</descriptor>
229+
<descriptor>src/main/assembly/src.xml</descriptor>
230+
</descriptors>
231+
<tarLongFileMode>gnu</tarLongFileMode>
232+
</configuration>
233+
</plugin>
224234
</plugins>
225235
</build>
226236

src/main/assembly/bin.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
the License. You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
<assembly>
18+
<id>bin</id>
19+
<formats>
20+
<format>tar.gz</format>
21+
<format>zip</format>
22+
</formats>
23+
<includeSiteDirectory>false</includeSiteDirectory>
24+
<fileSets>
25+
<fileSet>
26+
<includes>
27+
<include>LICENSE.txt</include>
28+
<include>NOTICE.txt</include>
29+
<include>RELEASE-NOTES.txt</include>
30+
</includes>
31+
</fileSet>
32+
<fileSet>
33+
<directory>target</directory>
34+
<outputDirectory></outputDirectory>
35+
<includes>
36+
<include>*.jar</include>
37+
</includes>
38+
</fileSet>
39+
<fileSet>
40+
<directory>target/site/apidocs</directory>
41+
<outputDirectory>apidocs</outputDirectory>
42+
</fileSet>
43+
</fileSets>
44+
</assembly>

src/main/assembly/src.xml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
the License. You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
<assembly>
18+
<id>src</id>
19+
<formats>
20+
<format>tar.gz</format>
21+
<format>zip</format>
22+
</formats>
23+
<!--
24+
<baseDirectory>${project.build.finalName}-src</baseDirectory>
25+
-->
26+
<fileSets>
27+
<fileSet>
28+
<includes>
29+
<include>build.xml</include>
30+
<include>checkstyle.xml</include>
31+
<include>LICENSE.txt</include>
32+
<include>maven.xml</include>
33+
<include>NOTICE.txt</include>
34+
<include>pom.xml</include>
35+
<include>project.properties</include>
36+
<include>project.xml</include>
37+
<include>RELEASE-NOTES.txt</include>
38+
</includes>
39+
</fileSet>
40+
<fileSet>
41+
<directory>src</directory>
42+
</fileSet>
43+
<fileSet>
44+
<directory>xdocs</directory>
45+
</fileSet>
46+
</fileSets>
47+
</assembly>
10.5 KB
Loading
18.9 KB
Binary file not shown.

src/site/resources/images/logo.gif

4.31 KB
Loading

src/site/site.xml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?xml version="1.0" encoding="ISO-8859-1"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one or more
4+
contributor license agreements. See the NOTICE file distributed with
5+
this work for additional information regarding copyright ownership.
6+
The ASF licenses this file to You under the Apache License, Version 2.0
7+
(the "License"); you may not use this file except in compliance with
8+
the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
-->
18+
<project name="Validator">
19+
<bannerRight>
20+
<name>Commons IO</name>
21+
<src>/images/io-logo-white.png</src>
22+
<href>/index.html</href>
23+
</bannerRight>
24+
25+
<body>
26+
<menu name="Commons IO">
27+
<item name="Overview" href="/index.html"/>
28+
<item name="Download" href="http://jakarta.apache.org/site/downloads/downloads_commons-io.cgi"/>
29+
<item name="User guide" href="/description.html"/>
30+
<item name="Best practices" href="/bestpractices.html"/>
31+
<item name="Javadoc (latest release)" href="api-release/index.html"/>
32+
</menu>
33+
34+
<menu name="Development">
35+
<item name="Building" href="/building.html"/>
36+
<item name="Mailing lists" href="/mail-lists.html"/>
37+
<item name="Issue Tracking" href="/issue-tracking.html"/>
38+
<item name="Team" href="/team-list.html"/>
39+
<item name="Tasks" href="/tasks.html"/>
40+
<item name="Proposal" href="/proposal.html"/>
41+
<item name="SVN repository" href="http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/io/trunk/"/>
42+
<item name="Javadoc (SVN latest)" href="apidocs/index.html"/>
43+
</menu>
44+
45+
</body>
46+
47+
</project>

0 commit comments

Comments
 (0)