You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2019/08/19 14:19:12 UTC
[maven-archetype] branch master updated: [ARCHETYPE-569] Update to
latest version of plexus utils
This is an automated email from the ASF dual-hosted git repository.
tibordigana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-archetype.git
The following commit(s) were added to refs/heads/master by this push:
new 2caea66 [ARCHETYPE-569] Update to latest version of plexus utils
2caea66 is described below
commit 2caea66d19c5c475f34aa6a1ae920af6e042b13f
Author: Mat Booth <ma...@redhat.com>
AuthorDate: Wed Jul 3 09:37:17 2019 +0100
[ARCHETYPE-569] Update to latest version of plexus utils
Signed-off-by: Mat Booth <ma...@redhat.com>
---
.../apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java | 5 +++--
pom.xml | 2 +-
2 files changed, 4 insertions(+), 3 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 0971525..68b3aa4 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;
@@ -292,7 +293,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<>();
@@ -326,7 +327,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<>();
diff --git a/pom.xml b/pom.xml
index 6303100..8025535 100644
--- a/pom.xml
+++ b/pom.xml
@@ -151,7 +151,7 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
- <version>3.0.21</version>
+ <version>3.2.0</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>