summaryrefslogtreecommitdiff
path: root/src/main/java/org/apache
diff options
context:
space:
mode:
authorVolker Schumacher <volker@antenna500.local>2010-01-07 23:31:39 +0800
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2010-01-08 00:20:07 +0800
commit122cee678fdbe6faf86c76e322e874e08f1cd499 (patch)
tree3035c8019f7190a5a36155e4dba4e8b6a9f2781f /src/main/java/org/apache
parente89c34a1b3669946182a790857980d33f3549fe8 (diff)
downloadmaven-nar-plugin-122cee678fdbe6faf86c76e322e874e08f1cd499.tar.gz
maven-nar-plugin-122cee678fdbe6faf86c76e322e874e08f1cd499.tar.bz2
maven-nar-plugin-122cee678fdbe6faf86c76e322e874e08f1cd499.tar.xz
maven-nar-plugin-122cee678fdbe6faf86c76e322e874e08f1cd499.zip
Fixed validation of fortran comopiler (NarValidateMojo); the cpp compiler was validated again instead.
Diffstat (limited to 'src/main/java/org/apache')
-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++;