From 122cee678fdbe6faf86c76e322e874e08f1cd499 Mon Sep 17 00:00:00 2001 From: Volker Schumacher Date: Thu, 7 Jan 2010 23:31:39 +0800 Subject: Fixed validation of fortran comopiler (NarValidateMojo); the cpp compiler was validated again instead. --- src/main/java/org/apache/maven/plugin/nar/NarValidateMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org/apache') 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++; -- cgit v1.2.3