mirror of
https://github.com/alibaba/p3c.git
synced 2025-10-13 22:56:57 +00:00
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user