summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/apache/maven/plugin/nar/NarValidateMojo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/apache/maven/plugin/nar/NarValidateMojo.java b/src/main/java/org/apache/maven/plugin/nar/NarValidateMojo.java
index b303b38..c32e9df 100644
--- a/src/main/java/org/apache/maven/plugin/nar/NarValidateMojo.java
+++ b/src/main/java/org/apache/maven/plugin/nar/NarValidateMojo.java
@@ -65,7 +65,7 @@ public class NarValidateMojo
throw new MojoExecutionException( "No includes defined for compiler " + c.getName() );
}
}
- Compiler fortran = getCpp();
+ Compiler fortran = getFortran();
if ( fortran.getName() != null )
{
noOfCompilers++;