From a585414982d5d829310968c3a78dc2f3966452e4 Mon Sep 17 00:00:00 2001 From: Emmanuel Bigeon Date: Mon, 8 Oct 2018 14:58:26 -0400 Subject: [PATCH] Update configuration Signed-off-by: Emmanuel Bigeon --- gclc.system/pom.xml | 47 ++++++++++++++++--- .../bigeon/gclc/system/ExecSystemCommand.java | 16 +++---- 2 files changed, 49 insertions(+), 14 deletions(-) diff --git a/gclc.system/pom.xml b/gclc.system/pom.xml index 84eb566..68728b4 100644 --- a/gclc.system/pom.xml +++ b/gclc.system/pom.xml @@ -1,13 +1,15 @@ 4.0.0 - net.bigeon - gclc.system + net.bigeon.gclc + system 0.0.1-SNAPSHOT jar http://www.bigeon.net UTF-8 + emmanuel@bigeon.fr + cecill_2.1 @@ -21,21 +23,54 @@ test - fr.bigeon + net.bigeon gclc - 2.0.0 + 2.0.7 GCLC system command Provide an exec command to execute system commands 2016 + + + + manual + CeCILL 2.1 + https://cecill.info/licences/Licence_CeCILL_V2.1-en.html + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.3 + + + com.github.sevntu-checkstyle + dsm-maven-plugin + 2.2.0 + + + + + + emmanuel@bigeon.fr + Emmanuel Bigeon + bigeon.net + + PM + + + + scm:git:gogs@git.code.bigeon.net:emmanuel/gclc.git HEAD - fr.bigeon + net.bigeon.config ebigeon-config - 1.7.1 + 1.8.4 diff --git a/gclc.system/src/main/java/net/bigeon/gclc/system/ExecSystemCommand.java b/gclc.system/src/main/java/net/bigeon/gclc/system/ExecSystemCommand.java index 76c7b07..b2fbd48 100644 --- a/gclc.system/src/main/java/net/bigeon/gclc/system/ExecSystemCommand.java +++ b/gclc.system/src/main/java/net/bigeon/gclc/system/ExecSystemCommand.java @@ -12,11 +12,11 @@ import java.io.OutputStreamWriter; import java.util.logging.Level; import java.util.logging.Logger; -import fr.bigeon.gclc.command.Command; -import fr.bigeon.gclc.exception.CommandRunException; -import fr.bigeon.gclc.exception.CommandRunExceptionType; -import fr.bigeon.gclc.manager.ConsoleInput; -import fr.bigeon.gclc.manager.ConsoleOutput; +import net.bigeon.gclc.command.Command; +import net.bigeon.gclc.exception.CommandRunException; +import net.bigeon.gclc.exception.CommandRunExceptionType; +import net.bigeon.gclc.manager.ConsoleInput; +import net.bigeon.gclc.manager.ConsoleOutput; /** A command that will execute a system command. * @@ -87,13 +87,13 @@ public class ExecSystemCommand extends Command { } catch (final IOException e) { throw new CommandRunException( CommandRunExceptionType.INTERACTION, - "manager was closed", e, this); //$NON-NLS-1$ + "manager was closed", e); //$NON-NLS-1$ } writer.write(user + EOL); } } catch (final IOException e1) { throw new CommandRunException(CommandRunExceptionType.INTERACTION, - "manager was closed", e1, this); //$NON-NLS-1$ + "manager was closed", e1); //$NON-NLS-1$ } } @@ -110,7 +110,7 @@ public class ExecSystemCommand extends Command { } catch (final IOException e) { throw new CommandRunException( CommandRunExceptionType.INTERACTION, - "manager was closed", e, this); //$NON-NLS-1$ + "manager was closed", e); //$NON-NLS-1$ } } } catch (final IOException e) {