Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 1,838 for _new (0.03 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

                this.upgradeParser = new UpgradeParser();
                Map<String, CommandMethods> commandExecute = new HashMap<>();
                commandExecute.put("!", new CommandMethods(this::shell, this::defaultCompleter));
                commandExecute.put("cd", new CommandMethods(this::cd, this::cdCompleter));
                commandExecute.put("pwd", new CommandMethods(this::pwd, this::defaultCompleter));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

        @Test
        public void testCycleInImports() throws Exception {
            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setModelSource(new StringModelSource(BASE1));
            request.setModelResolver(new CycleInImportsResolver());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

            return "src/test/projects/plugin-manager";
        }
    
        @Test
        void testPluginLoading() throws Exception {
            MavenSession session = createMavenSession(null);
            Plugin plugin = new Plugin();
            plugin.setGroupId("org.apache.maven.its.plugins");
            plugin.setArtifactId("maven-it-plugin");
            plugin.setVersion("0.1");
            PluginDescriptor pluginDescriptor = pluginManager.loadPlugin(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

        }
    
        private void parseLifecyclePhaseDefinitions(Map<Plugin, Plugin> plugins, String phase, LifecyclePhase goals) {
            InputSource inputSource = new InputSource();
            inputSource.setModelId(DefaultLifecycleRegistry.DEFAULT_LIFECYCLE_MODELID);
            InputLocation location = new InputLocation(-1, -1, inputSource);
            location.setLocation(0, location);
    
            List<LifecycleMojo> mojos = goals.getMojos();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilter.java

    @Deprecated
    public class OrArtifactFilter implements ArtifactFilter {
    
        private Set<ArtifactFilter> filters;
    
        public OrArtifactFilter() {
            this.filters = new LinkedHashSet<>();
        }
    
        public OrArtifactFilter(Collection<ArtifactFilter> filters) {
            this.filters = new LinkedHashSet<>(filters);
        }
    
        @Override
        public boolean include(Artifact artifact) {
            for (ArtifactFilter filter : filters) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicy.java

            int depth1 = e1.getDepth();
            int depth2 = e2.getDepth();
    
            if (depth1 == depth2) {
                ArtifactVersion v1 = new DefaultArtifactVersion(e1.getVersion());
                ArtifactVersion v2 = new DefaultArtifactVersion(e2.getVersion());
    
                if (newerFirst) {
                    return v1.compareTo(v2) > 0 ? e1 : e2;
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  7. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

        @BeforeEach
        void before() {
            artifact = new DefaultArtifact("myGroup:myArtifact:1.0-SNAPSHOT");
            target = createMetadataFromArtifact(artifact);
        }
    
        /*--- START test common metadata ---*/
        @Test
        void mergeEmptyMetadata() throws Exception {
            Metadata metadata = new Metadata();
            assertFalse(metadata.merge(new Metadata()));
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 13.7K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        @Override
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        @Override
        public void execute(MavenSession session) {}
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzerTest.java

            executionResult.addBuildSummary(new BuildSuccess(project, 0));
            return project;
        }
    
        private MavenProject createFailedMavenProject(String artifactId) {
            MavenProject project = createMavenProject(artifactId);
            executionResult.addBuildSummary(new BuildFailure(project, 0, new Exception()));
            executionResult.addException(new LifecycleExecutionException("", project));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/ExtensionResolutionException.java

                            + cause.getMessage(),
                    cause);
            this.extension = extension;
        }
    
        /**
         * Constructor accepting the new API type for internal use.
         *
         * @param extension the new API extension
         * @param cause the cause
         */
        public ExtensionResolutionException(org.apache.maven.api.cli.extensions.CoreExtension extension, Throwable cause) {
            super(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top