Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.4
-
None
-
Patch
Description
Hi,
I'm extending maven-source-plugin on Tycho.
In order to resolve source paths on Tycho I need to read some file, so, there is a change of getting an IOException on my getSources() implementation.
Patch:
Index: src/main/java/org/apache/maven/plugin/source/AbstractSourceJarMojo.java
===================================================================
— src/main/java/org/apache/maven/plugin/source/AbstractSourceJarMojo.java (revision 696714)
+++ src/main/java/org/apache/maven/plugin/source/AbstractSourceJarMojo.java (working copy)
@@ -134,7 +134,8 @@
- @param p not null
- @return the compile or test sources
*/
- protected abstract List getSources( MavenProject p );
+ protected abstract List getSources( MavenProject p )
+ throws MojoExecutionException;
/**
- @param p not null