Skip to content

Commit

Permalink
[MPLUGIN-346] plugin:descriptor sometimes fails with java.util.NoSuch…
Browse files Browse the repository at this point in the history
…ElementException

Update plexus-utils to 3.1.1
  • Loading branch information
rfscholte committed Dec 21, 2018
1 parent ed16743 commit acfc61c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,15 @@ static void rewriteHelpMojo( PluginToolsRequest request, Log log )
return;
}

Properties properties = PropertyUtils.loadProperties( tmpPropertiesFile );
Properties properties;
try
{
properties = PropertyUtils.loadProperties( tmpPropertiesFile );
}
catch ( IOException e )
{
throw new GeneratorException( e.getMessage(), e );
}

String helpPackageName = properties.getProperty( "helpPackageName" );

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.0.20</version>
<version>3.1.1</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
Expand Down

0 comments on commit acfc61c

Please sign in to comment.