Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
骏烈 committed Jun 12, 2018
1 parent e18cd74 commit 80d4708
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ class SourceCodeProcessor(private val configuration: PMDConfiguration) {
throw PMDException("Error while parsing " + ctx.sourceCodeFilename, pe)
} catch (e: Exception) {
throw PMDException("Error while processing " + ctx.sourceCodeFilename, e)
} catch (error: Error) {
throw PMDException("Error while processing ${ctx.sourceCodeFilename} ${error.message}")
} finally {
IOUtils.closeQuietly(sourceCode)
}
Expand Down
4 changes: 2 additions & 2 deletions p3c-pmd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
</tags>
</configuration>
</plugin>
<plugin>
<!--<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
Expand All @@ -135,7 +135,7 @@
</goals>
</execution>
</executions>
</plugin>
</plugin>-->
</plugins>
</build>
</project>

0 comments on commit 80d4708

Please sign in to comment.