Skip to content

Commit c821180

Browse files
committed
Update versions, add changelog
1 parent 451d006 commit c821180

18 files changed

Lines changed: 52 additions & 35 deletions

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Version 1.0.0 (2016-12-15)
2+
3+
* [new] Extracted as an add-on from `seed-shell` module.
4+
5+

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
<parent>
1414
<groupId>org.seedstack.poms</groupId>
1515
<artifactId>parent-internal</artifactId>
16-
<version>3.0.0-SNAPSHOT</version>
16+
<version>3.0.0</version>
1717
</parent>
1818

1919
<groupId>org.seedstack.addons.shell</groupId>
2020
<artifactId>shell</artifactId>
2121
<version>1.0.0-SNAPSHOT</version>
2222

2323
<properties>
24-
<seed.version>3.0.0-SNAPSHOT</seed.version>
24+
<seed.version>3.0.0</seed.version>
2525

2626
<compatibility.skip>true</compatibility.skip>
2727

src/it/java/org/seedstack/shell/internal/commands/AllowedSecuredTestCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
*/
88
package org.seedstack.shell.internal.commands;
99

10+
import org.seedstack.seed.command.Command;
11+
import org.seedstack.seed.command.CommandDefinition;
1012
import org.seedstack.seed.security.RequiresRoles;
11-
import org.seedstack.seed.spi.command.Command;
12-
import org.seedstack.seed.spi.command.CommandDefinition;
1313

1414
@CommandDefinition(scope = "test", name = "allowed", description = "Secured test command")
1515
public class AllowedSecuredTestCommand implements Command {

src/it/java/org/seedstack/shell/internal/commands/CollectionTestCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
*/
88
package org.seedstack.shell.internal.commands;
99

10-
import org.seedstack.seed.spi.command.Command;
11-
import org.seedstack.seed.spi.command.CommandDefinition;
10+
import org.seedstack.seed.command.Command;
11+
import org.seedstack.seed.command.CommandDefinition;
1212

1313
import java.util.Arrays;
1414

src/it/java/org/seedstack/shell/internal/commands/DeniedSecuredTestCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
*/
88
package org.seedstack.shell.internal.commands;
99

10+
import org.seedstack.seed.command.Command;
11+
import org.seedstack.seed.command.CommandDefinition;
1012
import org.seedstack.seed.security.RequiresRoles;
11-
import org.seedstack.seed.spi.command.Command;
12-
import org.seedstack.seed.spi.command.CommandDefinition;
1313

1414
@CommandDefinition(scope = "test", name = "denied", description = "Secured test command")
1515
public class DeniedSecuredTestCommand implements Command {

src/it/java/org/seedstack/shell/internal/commands/ErroneousTestCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
*/
88
package org.seedstack.shell.internal.commands;
99

10-
import org.seedstack.seed.spi.command.Command;
11-
import org.seedstack.seed.spi.command.CommandDefinition;
10+
import org.seedstack.seed.command.Command;
11+
import org.seedstack.seed.command.CommandDefinition;
1212

1313
@CommandDefinition(scope = "test", name = "exception", description = "Erroneous test command")
1414
public class ErroneousTestCommand implements Command {

src/it/java/org/seedstack/shell/internal/commands/WithOptionsTestCommand.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
*/
88
package org.seedstack.shell.internal.commands;
99

10-
import org.seedstack.seed.spi.command.Command;
11-
import org.seedstack.seed.spi.command.CommandDefinition;
12-
import org.seedstack.seed.spi.command.Option;
10+
import org.seedstack.seed.command.Command;
11+
import org.seedstack.seed.command.CommandDefinition;
12+
import org.seedstack.seed.command.Option;
1313

1414
@CommandDefinition(scope = "test", name = "withoptions", description = "Test command")
1515
public class WithOptionsTestCommand implements Command {

src/main/java/org/seedstack/shell/internal/AbstractShell.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
import org.apache.commons.cli.Options;
1616
import org.apache.commons.cli.ParseException;
1717
import org.apache.sshd.server.ExitCallback;
18-
import org.seedstack.seed.CommandRegistry;
1918
import org.seedstack.seed.SeedException;
20-
import org.seedstack.seed.spi.command.Command;
19+
import org.seedstack.seed.command.Command;
20+
import org.seedstack.seed.command.CommandRegistry;
2121

2222
import javax.inject.Inject;
2323
import java.io.InputStream;
@@ -133,7 +133,7 @@ protected Command createCommandAction(String qualifiedName, List<String> args) {
133133

134134
// Build CLI options
135135
Options options = new Options();
136-
for (org.seedstack.seed.spi.command.Option option : commandRegistry.getOptionsInfo(commandScope, commandName)) {
136+
for (org.seedstack.seed.command.Option option : commandRegistry.getOptionsInfo(commandScope, commandName)) {
137137
options.addOption(option.name(), option.longName(), option.hasArgument(), option.description());
138138
}
139139

src/main/java/org/seedstack/shell/internal/InteractiveShell.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
import org.fusesource.jansi.Ansi;
2020
import org.seedstack.seed.Application;
2121
import org.seedstack.seed.SeedException;
22-
import org.seedstack.seed.spi.command.Command;
23-
import org.seedstack.seed.spi.command.PrettyCommand;
22+
import org.seedstack.seed.command.Command;
23+
import org.seedstack.seed.command.PrettyCommand;
2424
import org.slf4j.Logger;
2525
import org.slf4j.LoggerFactory;
2626

src/main/java/org/seedstack/shell/internal/NonInteractiveShell.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
import org.apache.shiro.concurrent.SubjectAwareExecutorService;
1414
import org.apache.shiro.util.ThreadContext;
1515
import org.apache.sshd.server.Environment;
16+
import org.seedstack.seed.command.Command;
17+
import org.seedstack.seed.command.StreamCommand;
1618
import org.seedstack.shell.internal.commands.JsonCommand;
17-
import org.seedstack.seed.spi.command.Command;
18-
import org.seedstack.seed.spi.command.StreamCommand;
1919

2020
import javax.inject.Inject;
2121
import java.io.IOException;

0 commit comments

Comments
 (0)