diff --git a/gp-maven-plugin/src/it/download-basic/pom.xml b/gp-maven-plugin/src/it/download-basic/pom.xml
index a8825c1..9ac9e82 100644
--- a/gp-maven-plugin/src/it/download-basic/pom.xml
+++ b/gp-maven-plugin/src/it/download-basic/pom.xml
@@ -34,6 +34,11 @@
JSON
+ en
+
+ de
+ fr
+
diff --git a/gp-maven-plugin/src/it/download-basic/verify.groovy b/gp-maven-plugin/src/it/download-basic/verify.groovy
index ebb3881..12e5858 100644
--- a/gp-maven-plugin/src/it/download-basic/verify.groovy
+++ b/gp-maven-plugin/src/it/download-basic/verify.groovy
@@ -36,7 +36,7 @@ try {
}
}
}
- assert filecount == 20
+ assert filecount == 6
def dir2 = new File(targetLocation2)
dir2.traverse { file ->
diff --git a/gp-maven-plugin/src/main/java/com/ibm/g11n/pipeline/maven/GPBaseMojo.java b/gp-maven-plugin/src/main/java/com/ibm/g11n/pipeline/maven/GPBaseMojo.java
index fd95572..8603c0d 100644
--- a/gp-maven-plugin/src/main/java/com/ibm/g11n/pipeline/maven/GPBaseMojo.java
+++ b/gp-maven-plugin/src/main/java/com/ibm/g11n/pipeline/maven/GPBaseMojo.java
@@ -263,10 +263,13 @@ protected Set resolveTargetLanguages(BundleSet bundleSet) throws MojoFai
Map> activeMTLangs = client.getConfiguredMTLanguages();
targetLanguages = activeMTLangs.get(srcLang);
} catch (ServiceException e) {
- targetLanguages = Collections.emptySet();
throw new MojoFailureException("Globalization Pipeline service error", e);
}
+ if (targetLanguages == null) {
+ targetLanguages = Collections.emptySet();
+ }
+
getLog().info("The configuration parameter 'targetLanguages' is not specified."
+ " Using currently active target languages: " + targetLanguages);
}