提交 80d4708a 编写于 作者: 骏烈
上级 e18cd745
......@@ -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)
}
......
......@@ -122,7 +122,7 @@
</tags>
</configuration>
</plugin>
<plugin>
<!--<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
......@@ -135,7 +135,7 @@
</goals>
</execution>
</executions>
</plugin>
</plugin>-->
</plugins>
</build>
</project>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册