Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 38 for New (0.01 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                    map = new LazyMap<>(() -> {
                        Map<String, Artifact> tmp = new HashMap<>();
                        for (Dependency d : dependencyManagement.getDependencies()) {
                            Artifact artifact =
                                    repositorySystem.createDependencyArtifact(new org.apache.maven.model.Dependency(d));
                            if (artifact != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(
                    new File(pom.getBasedir(), "target/classes/dir0"), new File((String) pom.getValue("properties/dir0")));
            assertEquals(new File(pom.getBasedir(), "src/test/dir1"), new File((String) pom.getValue("properties/dir1")));
            assertEquals(
                    new File(pom.getBasedir(), "target/site/dir2"), new File((String) pom.getValue("properties/dir2")));
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 94.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                    }
    
                    BuildPlan plan = new BuildPlan();
                    for (MavenProject project : toFork) {
                        BuildStep st = new BuildStep(forkedGoal, project, null);
                        MojoExecution mojoExecution = new MojoExecution(forkedMojoDescriptor, forkedGoal);
                        st.addMojo(mojoExecution, 0);
                        Map<String, BuildStep> n = new HashMap<>();
                        n.put(forkedGoal, st);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            int result = cli.doMain(new CliRequest(args, classWorld));
            MessageUtils.systemUninstall();
    
            return result;
        }
    
        // TODO need to externalize CliRequest
        public static int doMain(String[] args, ClassWorld classWorld) {
            MavenCli cli = new MavenCli();
            return cli.doMain(new CliRequest(args, classWorld));
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        private List<Artifact> attachedArtifacts = new ArrayList<>();
    
        private MavenProject executionProject;
    
        private List<MavenProject> collectedProjects;
    
        /**
         * All sources of this project, in the order they were added.
         */
        Set<SourceRoot> sources = new LinkedHashSet<>();
    
        @Deprecated
        private ArtifactRepository releaseArtifactRepository;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            }
    
            problems.setRootModel(inputModel);
    
            ModelData resultData = new ModelData(request.getModelSource(), inputModel);
            ModelData superData = new ModelData(null, getSuperModel());
    
            Collection<String> parentIds = new LinkedHashSet<>();
            List<ModelData> lineage = new ArrayList<>();
    
            for (ModelData currentData = resultData; currentData != null; ) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  7. src/bufio/bufio_test.go

    					t.Errorf("want=%q", data[:len(written)])
    					t.Errorf("have=%q", written)
    				}
    			}
    		}
    	}
    }
    
    func TestWriterAppend(t *testing.T) {
    	got := new(bytes.Buffer)
    	var want []byte
    	rn := rand.New(rand.NewSource(0))
    	w := NewWriterSize(got, 64)
    	for i := 0; i < 100; i++ {
    		// Obtain a buffer to append to.
    		b := w.AvailableBuffer()
    		if w.Available() != cap(b) {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  8. src/bytes/bytes_test.go

    			old = []byte(tt.old)
    			new = []byte(tt.new)
    		)
    		if !asan.Enabled {
    			allocs := testing.AllocsPerRun(10, func() { Replace(in, old, new, tt.n) })
    			if allocs > 1 {
    				t.Errorf("Replace(%q, %q, %q, %d) allocates %.2f objects", tt.in, tt.old, tt.new, tt.n, allocs)
    			}
    		}
    		in = append(in, "<spare>"...)
    		in = in[:len(tt.in)]
    		out := Replace(in, old, new, tt.n)
    		if s := string(out); s != tt.out {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 23:54:14 GMT 2025
    - 62.9K bytes
    - Click Count (0)
  9. cmd/peer-rest-server.go

    	getPeerMetricsRPC              = grid.NewSingleHandler[*grid.MSS, *grid.Array[*MetricV2]](grid.HandlerGetPeerMetrics, grid.NewMSS, aoMetricsGroup.New)
    	getResourceMetricsRPC          = grid.NewSingleHandler[*grid.MSS, *grid.Array[*MetricV2]](grid.HandlerGetResourceMetrics, grid.NewMSS, aoMetricsGroup.New)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 53.6K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                    }
                }
            };
            Optional<Activation> root = Optional.of(activation);
            stk.push(new ActivationFrame("activation", root));
            root.map(Activation::getFile).ifPresent(fa -> {
                stk.push(new ActivationFrame("file", Optional.of(fa)));
                stk.push(new ActivationFrame("exists", Optional.empty()));
                validator.accept(fa.getExists());
                stk.peek().location = "missing";
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
Back to Top