- Sort Score
- Num 10 results
- Language All
Results 761 - 770 of 1,837 for New (0.44 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java
*/ @DisplayName("CompatibilityFixStrategy") class CompatibilityFixStrategyTest { private CompatibilityFixStrategy strategy; @BeforeEach void setUp() { strategy = new CompatibilityFixStrategy(); } private UpgradeContext createMockContext() { return TestUtils.createMockContext(); } private UpgradeContext createMockContext(UpgradeOptions options) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java
return getGraph(); } else if (requestType.equals(MetadataResolutionRequestTypeEnum.versionedGraph)) { return new MetadataGraph(getTree(), true, false); } else if (requestType.equals(MetadataResolutionRequestTypeEnum.scopedGraph)) { return new MetadataGraph(getTree(), true, true); } return null; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java
/** * The collection of problems associated with this exception. */ private final ProblemCollector<BuilderProblem> problems; /** * Constructs a new exception with the specified message and cause. * This constructor creates an empty problem collector. * * @param message the detail message * @param cause the cause of this exception */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 3.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformerSupport.java
return new MavenStaxReader().read(is, false, null); } } protected void write(Model model, Path dest) throws IOException, XMLStreamException { String version = model.getModelVersion(); Files.createDirectories(dest.getParent()); try (Writer w = Files.newBufferedWriter(dest)) { MavenStaxWriter writer = new MavenStaxWriter();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
return; } } } throw new IllegalArgumentException(message); } public static Map<String, Artifact> artifactMapByVersionlessId(Collection<Artifact> artifacts) { Map<String, Artifact> artifactMap = new LinkedHashMap<>(); if (artifacts != null) { for (Artifact artifact : artifacts) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java
if (artifacts == null) { artifacts = new LinkedHashSet<>(); } artifacts.add(artifact); } public Set<Artifact> getArtifacts() { return artifacts; } public void addRequestedArtifact(Artifact artifact) { if (requestedArtifacts == null) { requestedArtifacts = new LinkedHashSet<>(); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 9.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java
extractProjectIdMethod.setAccessible(true); // Create a mock ModelBuilderResult with null effectiveModel but available rawModel ModelBuilderResult mockResult = new MockModelBuilderResult( null, // effectiveModel is null createMockModel("com.example", "test-project", "1.0.0"), // rawModel is available null // fileModel is null );
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 7.5K bytes - Click Count (0) -
internal/event/target/webhook.go
if !w.Enable { return nil } if w.Endpoint.IsEmpty() { return errors.New("endpoint empty") } if w.QueueDir != "" { if !filepath.IsAbs(w.QueueDir) { return errors.New("queueDir path should be absolute") } } if w.ClientCert != "" && w.ClientKey == "" || w.ClientCert == "" && w.ClientKey != "" { return errors.New("cert and key must be specified as a pair") } return nil }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 8.8K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer_test.go
"runtime" "strings" "sync" "testing" "time" ) func TestRingBuffer_interface(t *testing.T) { rb := New(1) var _ io.Writer = rb var _ io.Reader = rb // var _ io.StringWriter = rb var _ io.ByteReader = rb var _ io.ByteWriter = rb } func TestRingBuffer_Write(t *testing.T) { rb := New(64) // check empty or full if !rb.IsEmpty() { t.Fatalf("expect IsEmpty is true but got false") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java
// last resort; as ideally we should get ExitException only new SystemLogger(stdErr).error(e.getMessage(), e); return 1; } finally { if (classWorldManaged) { classWorld.close(); } } } protected MessageBuilderFactory createMessageBuilderFactory() { return new JLineMessageBuilderFactory(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Feb 08 16:25:25 GMT 2025 - 3.6K bytes - Click Count (0)