From dc4233a5bfd55354c003615b33cf9b973149cc08 Mon Sep 17 00:00:00 2001
From: Michael Simacek <msimacek@redhat.com>
Date: Thu, 2 Jun 2016 13:01:11 +0200
Subject: [PATCH 3/3] Port to current plexus-utils
---
.../apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java b/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java
index ab0162a..38edc86 100644
--- a/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java
+++ b/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java
@@ -39,6 +39,7 @@ import org.codehaus.plexus.util.PropertyUtils;
import org.codehaus.plexus.util.StringUtils;
import java.io.File;
+import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
@@ -287,7 +288,7 @@ public class CreateArchetypeFromProjectMojo
}
}
- private List<String> getFilteredExtensions( String archetypeFilteredExtentions, File propertyFile )
+ private List<String> getFilteredExtensions( String archetypeFilteredExtentions, File propertyFile ) throws IOException
{
List<String> filteredExtensions = new ArrayList<String>();
@@ -321,7 +322,7 @@ public class CreateArchetypeFromProjectMojo
return filteredExtensions;
}
- private List<String> getLanguages( String archetypeLanguages, File propertyFile )
+ private List<String> getLanguages( String archetypeLanguages, File propertyFile ) throws IOException
{
List<String> resultingLanguages = new ArrayList<String>();
--
2.5.5