- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for duplicates (0.27 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java
* the first occurrence. So when we're in lenient/compat mode, we have to deal with such broken POMs and mimic * the way 2.x works. When we're in strict mode, the removal of duplicates just saves other merging steps from * aftereffects and bogus error messages. */ List<Dependency> dependencies = model.getDependencies();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.3K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 4.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
* any of the algorithm name is not supported. The returned collection has equal count of elements as passed in * collection of names, and if names contains duplicated elements, the returned list of algorithms will have * duplicates as well. * * @throws ChecksumAlgorithmServiceException if any asked algorithm name is not supported. * @throws NullPointerException if passed in list of names is {@code null}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Dec 21 08:05:10 GMT 2023 - 6.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java
merged.put(key, element); } } builder.pluginRepositories(merged.values()); } } /* * TODO: Whether duplicates should be removed looks like an option for the generated merger. */ @Override protected void mergeBuildBase_Filters( BuildBase.Builder builder, BuildBase target,
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 22.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DuplicateProjectException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.project; import java.io.File; /** * Exception that occurs when the project list contains duplicate projects instead of ignoring one. * */ public class DuplicateProjectException extends Exception { private final String projectId; private final File existingProjectFile;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifact.java
return (depMngt != null) ? Collections.unmodifiableList(depMngt.getDependencies()) : Collections.emptyList(); } // TODO: this is duplicate of PomArtifactHandlerProvider provided one static class PomArtifactHandler implements ArtifactHandler { @Override public String getClassifier() { return null; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 2.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
PomTestWrapper pom = buildPom( "dependency-scope/sub" ); }*/ /*MNG- 4010*/ @Test void testDuplicateExclusionsDependency() throws Exception { PomTestWrapper pom = buildPom("duplicate-exclusions-dependency/sub"); assertEquals(1, ((List<?>) pom.getValue("dependencies[1]/exclusions")).size()); } /*MNG- 4008*/ @Test void testMultipleFilters() throws Exception {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 93.2K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java
validator.validate(settings, problems); assertEquals(1, problems.messages.size()); assertContains( problems.messages.get(0), "'servers.server.id' must be unique but found duplicate server with id test"); } @Test void testValidateUniqueProfileId() throws Exception { Settings settings = new Settings(); Profile profile1 = new Profile();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 8.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DuplicateArtifactAttachmentException.java
* Currently, this modification would create compatibility problems for existing plugins. */ public class DuplicateArtifactAttachmentException extends RuntimeException { private static final String DEFAULT_MESSAGE = "Duplicate artifact attachment detected."; private Artifact artifact; private final MavenProject project; public DuplicateArtifactAttachmentException(MavenProject project, Artifact artifact) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.9K bytes - Viewed (0)