Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 137 for Goals (0.15 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                        System.out.println("Hello World!");
                    }
                }
                """;
    
        protected Map<String, String> invoke(Path cwd, Path userHome, Collection<String> goals, Collection<String> args)
                throws Exception {
            Files.createDirectories(cwd.resolve(".mvn"));
            Path pom = cwd.resolve("pom.xml").toAbsolutePath();
            Files.writeString(pom, POM_STRING);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnup.goals;
    
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.cling.invoker.mvnup.Goal;
    import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
    
    /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java

                MavenOptions options = parseArgs("maven.config", args);
                if (options.goals().isPresent()) {
                    // This file can only contain options, not args (goals or phases)
                    throw new IllegalArgumentException("Unrecognized entries in maven.config (" + configFile + ") file: "
                            + options.goals().get());
                }
                return options;
            } catch (ParseException e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 14 12:35:44 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

                return 1;
            }
        }
    
        /**
         * Determines whether modifications should be saved to disk.
         * Apply goals return true, Check goals return false.
         */
        protected abstract boolean shouldSaveModifications();
    
        /**
         * Saves the modified documents to disk using domtrip's perfect formatting preservation.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  5. compat/maven-model/pom.xml

                <param>minimalVersion=4.0.0</param>
              </params>
            </configuration>
            <executions>
              <execution>
                <id>model-v3</id>
                <goals>
                  <goal>velocity</goal>
                </goals>
                <phase>generate-sources</phase>
                <configuration>
                  <version>4.0.99</version>
                  <templates>
                    <template>model-v3.vm</template>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

                            .goals(Collections.singletonList(c[3]))
                            .location("", DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_INPUT_LOCATION)
                            .location("id", DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_INPUT_LOCATION)
                            .location("phase", DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_INPUT_LOCATION)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 28 15:21:19 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

            Map<String, List<String>> goals = new HashMap<>();
            lifecycle.allPhases().forEach(phase -> phase.plugins()
                    .forEach(plugin -> plugin.getExecutions().forEach(exec -> exec.getGoals()
                            .forEach(goal -> goals.computeIfAbsent(phase.name(), n -> new ArrayList<>())
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptContext.java

    public class EncryptContext extends LookupContext {
        public EncryptContext(InvokerRequest invokerRequest, EncryptOptions encryptOptions) {
            super(invokerRequest, true, encryptOptions);
        }
    
        public Map<String, Goal> goals;
    
        public List<AttributedString> header;
        public AttributedStyle style;
        public LineReader reader;
    
        public void addInHeader(String text) {
            addInHeader(AttributedStyle.DEFAULT, text);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

                            .map(Lifecycle.Phase::name)
                            .toList();
                    // TODO: add goals dynamically
                    List<String> goals = List.of("wrapper:wrapper");
                    names = Stream.concat(phases.stream(), goals.stream()).toList();
                } catch (LookupException e) {
                    names = List.of(
                            "clean",
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. compat/maven-compat/pom.xml

              </models>
            </configuration>
            <executions>
              <execution>
                <id>modello</id>
                <goals>
                  <goal>java</goal>
                  <goal>xpp3-reader</goal>
                  <goal>xpp3-writer</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top