Skip to content

Commit de8d30c

Browse files
committed
Fixed maven build
1 parent 55cba42 commit de8d30c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@
132132
<version>${scala.version}</version>
133133
<scope>provided</scope>
134134
</dependency>
135+
<dependency>
136+
<groupId>commons-io</groupId>
137+
<artifactId>commons-io</artifactId>
138+
<version>2.4</version>
139+
</dependency>
135140
</dependencies>
136141

137142
</project>

src/main/scala/scales/report/ScalesHtmlWriter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ object ScalesHtmlWriter extends CoverageWriter {
1515
val packageFile = new File(dir.getAbsolutePath + "/packages.html")
1616
val overviewFile = new File(dir.getAbsolutePath + "/overview.html")
1717

18-
FileUtils.copyInputStreamToFile(getClass.getResourceAsStream("index.html"), indexFile)
18+
FileUtils.copyInputStreamToFile(getClass.getResourceAsStream("/index.html"), indexFile)
1919
FileUtils.write(packageFile, packages(coverage).toString())
2020
FileUtils.write(overviewFile, overview(coverage).toString())
2121

0 commit comments

Comments
 (0)