Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for LocalContext (0.1 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

    public abstract class BaseParser implements Parser {
    
        @SuppressWarnings("VisibilityModifier")
        public static class LocalContext {
            public final ParserRequest parserRequest;
            public final Map<String, String> systemPropertiesOverrides;
    
            public LocalContext(ParserRequest parserRequest) {
                this.parserRequest = parserRequest;
                this.systemPropertiesOverrides = new HashMap<>();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptParser.java

    import org.apache.maven.api.cli.Options;
    import org.apache.maven.cling.invoker.BaseParser;
    
    public class EncryptParser extends BaseParser {
        @Override
        protected Options parseCliOptions(LocalContext context) {
            try {
                return CommonsCliEncryptOptions.parse(context.parserRequest.args().toArray(new String[0]));
            } catch (ParseException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeParser.java

    import org.apache.maven.api.cli.Options;
    import org.apache.maven.cling.invoker.BaseParser;
    
    public class UpgradeParser extends BaseParser {
        @Override
        protected Options parseCliOptions(LocalContext context) {
            try {
                return CommonsCliUpgradeOptions.parse(context.parserRequest.args().toArray(new String[0]));
            } catch (ParseException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellParser.java

    import org.apache.maven.api.cli.Options;
    import org.apache.maven.cling.invoker.BaseParser;
    
    public class ShellParser extends BaseParser {
        @Override
        protected Options parseCliOptions(LocalContext context) {
            try {
                return CommonsCliShellOptions.parse(context.parserRequest.args().toArray(new String[0]));
            } catch (ParseException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

    import static org.mockito.Mockito.mock;
    
    public class BaseParserTest {
        private final BaseParser subject = new BaseParser() {
            @Override
            protected Options parseCliOptions(LocalContext context) {
                try {
                    return CommonsCliOptions.parse(
                            "test", context.parserRequest.args().toArray(new String[0]));
                } catch (ParseException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java

    import org.apache.maven.api.cli.mvn.MavenOptions;
    import org.apache.maven.cling.invoker.BaseParser;
    
    public class MavenParser extends BaseParser {
        @Override
        protected Options parseCliOptions(LocalContext context) {
            ArrayList<MavenOptions> result = new ArrayList<>();
            // CLI args
            MavenOptions cliOptions = parseMavenCliOptions(context.parserRequest.args());
            result.add(cliOptions);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 14 12:35:44 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top