mirror of
https://github.com/alibaba/p3c.git
synced 2025-10-16 16:04:59 +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)
|
throw PMDException("Error while parsing " + ctx.sourceCodeFilename, pe)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
throw PMDException("Error while processing " + ctx.sourceCodeFilename, e)
|
throw PMDException("Error while processing " + ctx.sourceCodeFilename, e)
|
||||||
|
} catch (error: Error) {
|
||||||
|
throw PMDException("Error while processing ${ctx.sourceCodeFilename} ${error.message}")
|
||||||
} finally {
|
} finally {
|
||||||
IOUtils.closeQuietly(sourceCode)
|
IOUtils.closeQuietly(sourceCode)
|
||||||
}
|
}
|
||||||
|
@@ -122,7 +122,7 @@
|
|||||||
</tags>
|
</tags>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<!--<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-gpg-plugin</artifactId>
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
<version>1.6</version>
|
<version>1.6</version>
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>-->
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
Reference in New Issue
Block a user