Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for setGoal (0.24 sec)

  1. maven-core/src/test/java/org/apache/maven/lifecycle/mapping/LifecyclePhaseTest.java

            assertEquals("", phase.toString());
    
            LifecycleMojo mojo1 = new LifecycleMojo();
            mojo1.setGoal("jar:jar");
            phase.setMojos(Arrays.asList(mojo1));
            assertEquals("jar:jar", phase.toString());
    
            LifecycleMojo mojo2 = new LifecycleMojo();
            mojo2.setGoal("war:war");
            phase.setMojos(Arrays.asList(mojo1, mojo2));
            assertEquals("jar:jar,war:war", phase.toString());
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExceptionTest.java

        private final String LS = System.lineSeparator();
    
        @Test
        void testMissingRequiredStringArrayTypeParameter() {
            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            mojoDescriptor.setGoal("goal");
            PluginDescriptor pluginDescriptor = new PluginDescriptor();
            pluginDescriptor.setGoalPrefix("goalPrefix");
            pluginDescriptor.setArtifactId("artifactId");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecycleMojo.java

        private XmlNode configuration;
        private List<Dependency> dependencies;
    
        public String getGoal() {
            return goal;
        }
    
        public XmlNode getConfiguration() {
            return configuration;
        }
    
        public List<Dependency> getDependencies() {
            return dependencies;
        }
    
        public void setGoal(String goal) {
            this.goal = goal;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 03 15:52:23 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecyclePhase.java

            LifecycleMojo lifecycleMojo = new LifecycleMojo();
            lifecycleMojo.setGoal(s.trim());
            return lifecycleMojo;
        };
    
        @Override
        public String toString() {
            return Optional.ofNullable(getMojos()).orElse(Collections.emptyList()).stream()
                    .map(LifecycleMojo::getGoal)
                    .collect(Collectors.joining(","));
        }
    
        @Deprecated
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            session.getRequest().setRootDirectory(rootDirectory);
    
            MojoDescriptor mojo = new MojoDescriptor();
            mojo.setPluginDescriptor(pluginDescriptor);
            mojo.setGoal("goal");
    
            MojoExecution mojoExecution = new MojoExecution(mojo);
    
            return new PluginParameterExpressionEvaluator(session, mojoExecution);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

                    new org.eclipse.aether.graph.Dependency(RepositoryUtils.toArtifact(artifact), "compile"));
            pd.setDependencyNode(node);
    
            MojoDescriptor md = new MojoDescriptor();
            md.setGoal("my-goal");
            md.setPluginDescriptor(pd);
    
            pd.addComponentDescriptor(md);
    
            return new DefaultMojoExecution(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/PluginManagerException.java

            pluginArtifactId = mojoDescriptor.getPluginDescriptor().getArtifactId();
            pluginVersion = mojoDescriptor.getPluginDescriptor().getVersion();
            goal = mojoDescriptor.getGoal();
        }
    
        protected PluginManagerException(MojoDescriptor mojoDescriptor, MavenProject project, String message) {
            super(message);
            this.project = project;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

            Maven maven = container.lookup(Maven.class);
            File pom = getProject("lifecycle-listener-dependency-injection");
            MavenExecutionRequest request = createMavenExecutionRequest(pom);
            request.setGoals(Arrays.asList("validate"));
            MavenExecutionResult result = maven.execute(request);
    
            assertFalse(result.hasExceptions(), result.getExceptions().toString());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

        }
    
        @Override
        public String getExecutionId() {
            return delegate.getExecutionId();
        }
    
        @Override
        public String getGoal() {
            return delegate.getGoal();
        }
    
        @Override
        public Optional<XmlNode> getConfiguration() {
            return Optional.of(delegate.getConfiguration()).map(Xpp3Dom::getDom);
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    added("Method", "SourceKt.setBazarExt(int,java.lang.String)"),
                    added("Method", "SourceKt.setBazool(boolean)"),
                    added("Method", "SourceKt.setFool(boolean)")
                )
            }
    
            // with existing non-incubating file-facade class, new members must be annotated with @Incubating and @since
            checkBinaryCompatibleKotlin(
                v1 = """
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top