-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tweaks to make jacoco work / cleanup cobertura error spam #197
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ target | |
*.log | ||
dependency-reduced-pom.xml | ||
*.imls | ||
*.iml | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ | |
<exclusions> | ||
<exclusion> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>*</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
|
@@ -91,7 +92,7 @@ | |
<type>war</type> | ||
<overWrite>true</overWrite> | ||
<outputDirectory>${project.build.directory}/geoserver</outputDirectory> | ||
<excludes>**/commons-dbcp-1.4.jar,**/*1.7-SNAPSHOT.jar,**/*2.7-SNAPSHOT.jar,**/*20140915*.jar,**/*13-SNAPSHOT.jar</excludes> | ||
<excludes>**/commons-dbcp-1.4.jar,**/*1.7-SNAPSHOT.jar,**/*2.7-SNAPSHOT.jar,**/*20140915*.jar,**/*13-SNAPSHOT.jar,**/slf4j*.jar</excludes> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Had to add ,*/slf4j.jar to the exclusions list here as older versions of geoserver were bringing in an older version that conflicted with some hadoop dependencies |
||
</artifactItem> | ||
</artifactItems> | ||
</configuration> | ||
|
@@ -168,8 +169,6 @@ | |
thinking they are surefire reports --> | ||
<reportsDirectory>${sonar.surefire.reportsPath}</reportsDirectory> | ||
<argLine>${test.args} ${jacoco.failsafe.argline}</argLine> | ||
<runOrder>reversealphabetical</runOrder> | ||
|
||
<excludes> | ||
<exclude>**/*IT.java</exclude> | ||
</excludes> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The combination of munge + jacoco multi-module aggregation was breaking. Strangely only on the travis-ci build slaves, not on win 8.1 or ubuntu 14.04 LTS or OS X 10.10. I patched a version of the coveralls-maven-plugin to not error out on this (and print out the messages to the log) - we are loosing coverage on one file (GeowaveInputFormat); I think as soon as Accumulo releases 1.7 and we can deprecate 1.5 we can get rid of the munge support and this issue will go away.
This fix I made isn't really appropriate to issue a pull request on, and isn't needed to build generally, just for travis to develop code coverage reports, so I figure just leave it until munge does - then this line can die as well.