diff options
Diffstat (limited to 'src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java')
-rw-r--r-- | src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java b/src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java index 658b951..fad2193 100644 --- a/src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java +++ b/src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java @@ -59,7 +59,7 @@ public abstract class AbstractGnuMojo * @return * @throws MojoFailureException */ - protected File getGnuAOLSourceDirectory() + protected final File getGnuAOLSourceDirectory() throws MojoFailureException { return new File( getGnuAOLDirectory(), "src" ); @@ -69,13 +69,13 @@ public abstract class AbstractGnuMojo * @return * @throws MojoFailureException */ - protected File getGnuAOLTargetDirectory() + protected final File getGnuAOLTargetDirectory() throws MojoFailureException { return new File( getGnuAOLDirectory(), "target" ); } - protected File getGnuSourceDirectory() { + protected final File getGnuSourceDirectory() { return gnuSourceDirectory; } @@ -94,7 +94,7 @@ public abstract class AbstractGnuMojo * * @return */ - protected boolean useGnu() { + protected final boolean useGnu() { return gnuUseOnWindows || !OS.WINDOWS.equals(NarUtil.getOS( null )); } } |