Skip to content

Commit

Permalink
Bump plexus-utils from 3.4.2 to 3.5.0
Browse files Browse the repository at this point in the history
Bumps [plexus-utils](https://github.com/codehaus-plexus/plexus-utils) from 3.4.2 to 3.5.0.
- [Release notes](https://github.com/codehaus-plexus/plexus-utils/releases)
- [Commits](codehaus-plexus/plexus-utils@plexus-utils-3.4.2...plexus-utils-3.5.0)

---
updated-dependencies:
- dependency-name: org.codehaus.plexus:plexus-utils
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and slachiewicz committed Oct 30, 2022
1 parent 716a232 commit f7135ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.4.2</version>
<version>3.5.0</version>
</dependency>

<dependency>
Expand Down
13 changes: 3 additions & 10 deletions src/main/java/org/codehaus/mojo/exec/ExecMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -530,17 +530,10 @@ private Map<String, String> handleSystemEnvVariables()
{

Map<String, String> enviro = new HashMap<String, String>();
try
{
Properties systemEnvVars = CommandLineUtils.getSystemEnvVars();
for ( Map.Entry<?, ?> entry : systemEnvVars.entrySet() )
{
enviro.put( (String) entry.getKey(), (String) entry.getValue() );
}
}
catch ( IOException x )
Properties systemEnvVars = CommandLineUtils.getSystemEnvVars();
for ( Map.Entry<?, ?> entry : systemEnvVars.entrySet() )
{
getLog().error( "Could not assign default system enviroment variables.", x );
enviro.put( (String) entry.getKey(), (String) entry.getValue() );
}

if ( environmentVariables != null )
Expand Down

0 comments on commit f7135ba

Please sign in to comment.