Skip to content

Commit a95f1ca

Browse files
author
Niall Pemberton
committed
Add the cobertura plugin, but exclude the GPL licensed javascript files from the binary distro (report seems to work fine without them)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@609834 13f79535-47bb-0310-9956-ffa450edef68
1 parent 5a04334 commit a95f1ca

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,10 @@ org.apache.commons.io.output;version=${project.version}
281281

282282
<reporting>
283283
<plugins>
284+
<plugin>
285+
<groupId>org.codehaus.mojo</groupId>
286+
<artifactId>cobertura-maven-plugin</artifactId>
287+
</plugin>
284288
<plugin>
285289
<groupId>org.apache.maven.plugins</groupId>
286290
<artifactId>maven-changes-plugin</artifactId>

src/main/assembly/bin.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,13 @@
3737
</includes>
3838
</fileSet>
3939
<fileSet>
40-
<directory>target/site/apidocs</directory>
41-
<outputDirectory>apidocs</outputDirectory>
40+
<directory>target/site</directory>
41+
<outputDirectory>docs</outputDirectory>
42+
<excludes>
43+
<exclude>**/customsorttypes.js</exclude>
44+
<exclude>**/sortabletable.js</exclude>
45+
<exclude>**/stringbuilder.js</exclude>
46+
</excludes>
4247
</fileSet>
4348
</fileSets>
4449
</assembly>

0 commit comments

Comments
 (0)