File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
src/main/java/org/scm4j/releaser/cli Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import org.scm4j.releaser.cli.CLI;
55
66class CLIRunner {
77 static void main (args ) {
8+ System . setProperty(" java.util.concurrent.ForkJoinPool.common.parallelism" , " 64" );
89 System . exit(new CLI(). exec(args));
910 }
1011}
Original file line number Diff line number Diff line change 11package org .scm4j .releaser .cli ;
22
3+ import java .io .PrintStream ;
4+
35import org .apache .commons .lang3 .ArrayUtils ;
46import org .scm4j .commons .progress .IProgress ;
57import org .scm4j .commons .progress .ProgressConsole ;
1113import org .scm4j .releaser .actions .PrintStatus ;
1214import org .scm4j .releaser .conf .Component ;
1315import org .scm4j .releaser .exceptions .EReleaserException ;
14- import org .scm4j .releaser .exceptions .cmdline .*;
15-
16- import java .io .PrintStream ;
17- import java .util .concurrent .ForkJoinPool ;
16+ import org .scm4j .releaser .exceptions .cmdline .ECmdLine ;
17+ import org .scm4j .releaser .exceptions .cmdline .ECmdLineNoCommand ;
18+ import org .scm4j .releaser .exceptions .cmdline .ECmdLineNoProduct ;
19+ import org .scm4j .releaser .exceptions .cmdline .ECmdLineUnknownCommand ;
20+ import org .scm4j .releaser .exceptions .cmdline .ECmdLineUnknownOption ;
1821
1922public class CLI {
2023 public static final int EXIT_CODE_OK = 0 ;
@@ -91,7 +94,6 @@ protected IAction getTagAction(CommandLine cmd) {
9194 public int exec (String [] args ) {
9295 try {
9396 out .println ("scm4j-releaser " + CLI .class .getPackage ().getSpecificationVersion ());
94- out .println ("parallelism: " + ForkJoinPool .commonPool ().getParallelism ());
9597 long startMS = System .currentTimeMillis ();
9698 CommandLine cmd = new CommandLine (args );
9799 validateCommandLine (cmd );
You can’t perform that action at this time.
0 commit comments