Skip to content

Commit df40c43

Browse files
author
Niall Kegan Pemberton
committed
m2 build updates
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@595525 13f79535-47bb-0310-9956-ffa450edef68
1 parent 7c80e36 commit df40c43

6 files changed

Lines changed: 182 additions & 6 deletions

File tree

LICENSE-header.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
/*
2-
* Copyright 2001-2006 The Apache Software Foundation.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
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
78
*
89
* http://www.apache.org/licenses/LICENSE-2.0
910
*

pom.xml

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.apache.commons</groupId>
2424
<artifactId>commons-parent</artifactId>
25-
<version>4</version>
25+
<version>5</version>
2626
</parent>
2727
<modelVersion>4.0.0</modelVersion>
2828
<groupId>commons-codec</groupId>
@@ -182,7 +182,45 @@
182182
</excludes>
183183
</configuration>
184184
</plugin>
185+
<plugin>
186+
<artifactId>maven-assembly-plugin</artifactId>
187+
<configuration>
188+
<descriptors>
189+
<descriptor>src/assembly/bin.xml</descriptor>
190+
<descriptor>src/assembly/src.xml</descriptor>
191+
</descriptors>
192+
<tarLongFileMode>gnu</tarLongFileMode>
193+
</configuration>
194+
</plugin>
185195
</plugins>
186196
</build>
187197

198+
<reporting>
199+
<plugins>
200+
<plugin>
201+
<groupId>org.apache.maven.plugins</groupId>
202+
<artifactId>maven-changes-plugin</artifactId>
203+
<configuration>
204+
<xmlPath>${basedir}/xdocs/changes.xml</xmlPath>
205+
<issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
206+
</configuration>
207+
<reportSets>
208+
<reportSet>
209+
<reports>
210+
<report>changes-report</report>
211+
</reports>
212+
</reportSet>
213+
</reportSets>
214+
</plugin>
215+
<plugin>
216+
<groupId>org.apache.maven.plugins</groupId>
217+
<artifactId>maven-checkstyle-plugin</artifactId>
218+
<configuration>
219+
<configLocation>checkstyle.xml</configLocation>
220+
<enableRulesSummary>false</enableRulesSummary>
221+
</configuration>
222+
</plugin>
223+
</plugins>
224+
</reporting>
225+
188226
</project>

src/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/assembly/src.xml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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+
<baseDirectory>${artifactId}-${version}-src</baseDirectory>
24+
<fileSets>
25+
<fileSet>
26+
<includes>
27+
<include>build.properties.sample</include>
28+
<include>build.xml</include>
29+
<include>checkstyle.xml</include>
30+
<include>default.properties</include>
31+
<include>LICENSE.txt</include>
32+
<include>LICENSE-header.txt</include>
33+
<include>maven.xml</include>
34+
<include>NOTICE.txt</include>
35+
<include>pom.xml</include>
36+
<include>project.properties</include>
37+
<include>project.xml</include>
38+
<include>RELEASE-NOTES*.txt</include>
39+
<include>RELEASE-PLAN</include>
40+
<include>TODO</include>
41+
</includes>
42+
</fileSet>
43+
<fileSet>
44+
<directory>src</directory>
45+
</fileSet>
46+
<fileSet>
47+
<directory>xdocs</directory>
48+
</fileSet>
49+
</fileSets>
50+
</assembly>

src/site/resources/images/logo.png

16.7 KB
Loading

src/site/site.xml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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="Codec">
19+
<bannerRight>
20+
<name>Commons Codec</name>
21+
<src>/images/logo.png</src>
22+
<href>/index.html</href>
23+
</bannerRight>
24+
25+
<body>
26+
<menu name="Codec">
27+
<item name="Overview" href="/index.html"/>
28+
<item name="Download" href="http://commons.apache.org/downloads/download_codec.cgi"/>
29+
<item name="Users guide" href="/userguide.html"/>
30+
<item name="Javadoc (1.3 release)" href="api-release/index.html"/>
31+
</menu>
32+
33+
<menu name="Development">
34+
<item name="Release Notes" href="/changes-report.html"/>
35+
<item name="Mailing Lists" href="/mail-lists.html"/>
36+
<item name="Issue Tracking" href="/issue-tracking.html"/>
37+
<item name="Source Repository" href="/source-repository.html"/>
38+
<item name="Javadoc (SVN latest)" href="apidocs/index.html"/>
39+
</menu>
40+
41+
</body>
42+
43+
</project>

0 commit comments

Comments
 (0)