- Sort Score
- Num 10 results
- Language All
Results 871 - 880 of 1,838 for _new (0.02 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
* * @see SourceRoot#targetVersion() */ @Nullable Version getTargetVersion(); @Nonnull static DependencyResolverRequestBuilder builder() { return new DependencyResolverRequestBuilder(); } @Nonnull static DependencyResolverRequest build(Session session, RequestType requestType, Artifact rootArtifact) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 23K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecyclePluginResolver.java
throws PluginVersionResolutionException { Map<String, String> versions = new HashMap<>(64); for (Plugin plugin : project.getBuildPlugins()) { if (plugin.getVersion() == null) { PluginVersionRequest request = new DefaultPluginVersionRequest( plugin, session.getRepositorySession(), project.getRemotePluginRepositories());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java
this(new ArtifactMetadata(af), parent, resolved, scope); } // ------------------------------------------------------------------------ public void addChild(int index, MetadataTreeNode kid) { if (kid == null) { return; } if (children == null) { children = new MetadataTreeNode[nChildren]; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java
@Test void testScmInfoCalculatedCorrectlyOnParentAndChildRead() throws Exception { File localRepo = getLocalRepositoryPath(); File pom0 = new File(localRepo, "p0/pom.xml"); File pom0Basedir = pom0.getParentFile(); File pom1 = new File(pom0Basedir, "modules/p1/pom.xml"); // load the child project, which inherits from p0... MavenProject project0 = getProject(pom0);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 3K bytes - Click Count (0) -
internal/ringbuffer/README.md
"github.com/smallnest/ringbuffer" ) func main() { rb := ringbuffer.New(1024) // write rb.Write([]byte("abcd")) fmt.Println(rb.Length()) fmt.Println(rb.Free()) // read buf := make([]byte, 4) rb.Read(buf) fmt.Println(string(buf)) } ``` It is possible to use an existing buffer with by replacing `New` with `NewBuffer`. # Blocking vs Non-blocking
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 2.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java
@Test void testDependencyManagement() throws Exception { File localRepo = getLocalRepositoryPath(); File pom0 = new File(localRepo, "p0/pom.xml"); File pom0Basedir = pom0.getParentFile(); File pom1 = new File(pom0Basedir, "p1/pom.xml"); // load everything... MavenProject project1 = getProjectWithDependencies(pom1);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java
} catch (PrompterException e) { throw new SecDispatcherException("Could not collect the password", e); } } return null; } @Override public SecDispatcher.ValidationResponse validateConfiguration(String config) { if (NAME.equals(config)) { return new SecDispatcher.ValidationResponse(getClass().getSimpleName(), true, Map.of(), List.of());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Nov 16 13:55:43 GMT 2024 - 2.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java
* * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public class FileModelSource extends FileSource implements ModelSource2 { /** * Creates a new model source backed by the specified file. * * @param pomFile The POM file, must not be {@code null}. */ public FileModelSource(File pomFile) { super(pomFile); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Apr 14 13:42:17 GMT 2025 - 2.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java
private DependencyResolutionResult dependencyResolutionResult; private final List<Throwable> exceptions = new CopyOnWriteArrayList<>(); private final Map<MavenProject, BuildSummary> buildSummaries = Collections.synchronizedMap(new IdentityHashMap<>()); private boolean canResume = false; @Override public MavenExecutionResult setProject(MavenProject project) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java
field.setAccessible(true); field.set(reader, eventDispatcher); ArtifactDescriptorRequest request = new ArtifactDescriptorRequest(); request.addRepository(newTestRepository()); request.setArtifact(new DefaultArtifact("org.apache.maven.its", "dep-mng5459", "jar", "0.4.0-SNAPSHOT")); // execute reader.readArtifactDescriptor(session, request);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.2K bytes - Click Count (0)