Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for cli (0.14 sec)

  1. maven-core/src/main/java/org/apache/maven/project/collector/RequestPomCollectionStrategy.java

    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.ProjectBuildingException;
    
    /**
     * Strategy to collect projects based on the <code>-f</code> CLI parameter or the pom.xml in the working directory.
     */
    @Named("RequestPomCollectionStrategy")
    @Singleton
    public class RequestPomCollectionStrategy implements ProjectCollectionStrategy {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/MojoExecution.java

        /**
         * Describes the source of an execution.
         */
        public enum Source {
    
            /**
             * An execution that originates from the direct invocation of a goal from the CLI.
             */
            CLI,
    
            /**
             * An execution that originates from a goal bound to a lifecycle phase.
             */
            LIFECYCLE,
        }
    
        private Source source = Source.LIFECYCLE;
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 03 15:52:23 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            fillMojoDescriptor(session, project, mojoExecution);
    
            mojoExecutionConfigurator(mojoExecution)
                    .configure(project, mojoExecution, MojoExecution.Source.CLI.equals(mojoExecution.getSource()));
    
            finalizeMojoConfiguration(mojoExecution);
    
            calculateForkedExecutions(mojoExecution, session, project, alreadyPlannedExecutions);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            if (value == null) {
                // The CLI should win for defining properties
    
                if (properties != null) {
                    // We will attempt to get nab a property as a way to specify a parameter
                    // to a plugin. My particular case here is allowing the surefire plugin
                    // to run a single test so I want to specify that class on the cli as
                    // a parameter.
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        /**
         * Adapt a {@link MavenExecutionRequest} to a {@link Settings} object for use in the Maven core.
         * We want to make sure that what is ask for in the execution request overrides what is in the settings.
         * The CLI feeds into an execution request so if a particular value is present in the execution request
         * then we will take that over the value coming from the user settings.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

            if (value == null) {
                // The CLI should win for defining properties
    
                if (properties != null) {
                    // We will attempt to get nab a property as a way to specify a parameter
                    // to a plugin. My particular case here is allowing the surefire plugin
                    // to run a single test so I want to specify that class on the cli as
                    // a parameter.
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                throw new LifecycleExecutionException(messageBuilderFactory, mojoExecution, null, cause);
            }
    
            if (mojoDescriptor.isOnlineRequired() && session.isOffline()) {
                if (MojoExecution.Source.CLI.equals(mojoExecution.getSource())) {
                    Throwable cause = new IllegalStateException(
                            "Goal requires online mode for execution" + " but Maven is currently offline.");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

            } else {
                /*
                 * MNG-4900: Hack to workaround deficiency of legacy API which makes it impossible for plugins to access the
                 * global profile manager which is required to build a POM like a CLI invocation does. Failure to consider
                 * the activated profiles can cause repo declarations to be lost which in turn will result in artifact
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

      project
    - nice little sample projects that could be run in the core as well as integration tests
    
    All Possible Errors
    - invalid lifecycle phase (maybe same as bad CLI param, though you were talking about embedder too)
    - <module> specified is not found
    - malformed settings
    - malformed POM
    - local repository not writable
    - remote repositories not available
    - artifact metadata missing
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

        //      mojo descriptor which comes back. All the free form parsing needs to be done somewhere else, this is
        //      really the function of the CLI, and then the pre-processing of that output still needs to be fed into
        //      a hinting process which helps flesh out the full specification of the plugin. The plugin manager should
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 13.1K bytes
    - Viewed (0)
Back to top