Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for execa (0.26 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultLifecycleBindingsInjector.java

            if (cur != null) {
                Map<String, PluginExecution> execs = new LinkedHashMap<>();
                cur.getExecutions().forEach(e -> execs.put(e.getId(), e));
                plugin.getExecutions().forEach(e -> {
                    int i = 0;
                    String id = e.getId();
                    while (execs.putIfAbsent(id, e.withId(id)) != null) {
                        id = e.getId() + "-" + (++i);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

                    String filename = file.getFileName().toString();
                    if (mavenArtifactJar.matcher(filename).matches()) {
                        Process p = Runtime.getRuntime().exec(new String[] {
                            Paths.get(System.getProperty("java.home"), "bin/java").toString(),
                            "-jar",
                            file.toAbsolutePath().toString(),
                            "5.32",
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  3. apache-maven/src/assembly/shared/init.cmd

    IF "%WDIR%"=="%CD%" goto baseDirNotFound
    set "WDIR=%CD%"
    goto findBaseDirLoop
    
    :baseDirFound
    set "MAVEN_PROJECTBASEDIR=%WDIR%"
    cd /d "%EXEC_DIR%"
    goto endDetectBaseDir
    
    :baseDirNotFound
    if "_%EXEC_DIR:~-1%"=="_\" set "EXEC_DIR=%EXEC_DIR:~0,-1%"
    set "MAVEN_PROJECTBASEDIR=%EXEC_DIR%"
    cd /d "%EXEC_DIR%"
    
    :endDetectBaseDir
    
    if not exist "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadJvmConfig
    
    Batch File
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Dec 16 21:35:28 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            PomTestWrapper pom = buildPom("plugin-exec-merging-wo-version/sub");
            assertEquals(4, ((List<?>) pom.getValue("build/plugins[1]/executions")).size());
        }
    
        /* MNG-3943*/
        @Test
        void testMergeOfPluginExecutionsWhenChildAndParentUseDifferentPluginVersions() throws Exception {
            PomTestWrapper pom = buildPom("plugin-exec-merging-version-insensitive/sub");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  5. api/maven-api-model/src/main/mdo/maven.mdo

         * @see PluginExecution#getId()
         */
        public Map<String, PluginExecution> getExecutionsAsMap() {
            return getExecutions().stream().collect(Collectors.toMap(exec -> exec.getId(), exec -> exec));
        }
                ]]>
              </code>
            </codeSegment>
            <codeSegment>
              <version>4.0.0+</version>
              <code>
                <![CDATA[
        /**
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            Session session = newSession();
            MojoExecution exec = newMojoExecution(session);
    
            Object result =
                    new PluginParameterExpressionEvaluatorV4(session, null, exec).evaluate("${mojo.plugin.descriptor}");
    
            System.out.println("Result: " + result);
    
            assertSame(
                    exec.getPlugin().getDescriptor(),
                    result,
    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/test/resources-project-builder/id-container-joining-with-empty-elements/pom.xml

            <version>2.1-SNAPSHOT</version>
            <executions>
              <execution>
                <id>equal-build-exec-id</id>
                <phase>initialize</phase>
                <goals>
                  <goal>reset</goal>
                </goals>
                <configuration>
                  <logFile>target/exec.log</logFile>
                  <string>test</string>
                </configuration>
              </execution>
            </executions>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jul 18 17:22:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

        void testPluginDescriptorExpressionReference() throws Exception {
            MojoExecution exec = newMojoExecution();
    
            MavenSession session = newMavenSession();
    
            Object result = new PluginParameterExpressionEvaluator(session, exec).evaluate("${plugin}");
    
            System.out.println("Result: " + result);
    
            assertSame(
                    exec.getMojoDescriptor().getPluginDescriptor(),
                    result,
    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)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

            Map<String, List<String>> goals = new HashMap<>();
            lifecycle.phases().forEach(phase -> phase.plugins()
                    .forEach(plugin -> plugin.getExecutions().forEach(exec -> exec.getGoals()
                            .forEach(goal -> goals.computeIfAbsent(phase.name(), n -> new ArrayList<>())
                                    .add(plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion()
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                        protected void setRawResult(Result result) {
                            this.result = result;
                        }
    
                        @Override
                        protected boolean exec() {
                            try {
                                AtomicReference<Parent> modified = new AtomicReference<>();
                                ModelSource source = doResolveModel(parent, modified);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top