- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for depMgmt (0.04 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java
DependencyManagement depMgmt = target.getDependencyManagement(); if (depMgmt != null) { for (Dependency dependency : depMgmt.getDependencies()) { dependencies.put(dependency.getManagementKey(), dependency); } } else { depMgmt = DependencyManagement.newInstance(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java
assertNotNull(c); // inherited from depMgmt System.out.println(a.getScope()); assertTrue(a.getScope().equals("test"), "Incorrect scope for " + a.getDependencyConflictId()); // transitive dep, overridden b depMgmt assertTrue(b.getScope().equals("runtime"), "Incorrect scope for " + b.getDependencyConflictId()); // direct dep, overrides depMgmt
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java
mgd.setGroupId( groupId ); mgd.setArtifactId( artifactId ); mgd.setScope( Artifact.SCOPE_TEST ); DependencyManagement depMgmt = new DependencyManagement(); depMgmt.addDependency( mgd ); model.setDependencyManagement( depMgmt ); MavenProject project = new MavenProject( model, repositorySystem );
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t04/ProjectInheritanceTest.java
// // p1 inherits from p0 // p0 inherits from super model // // or we can show it graphically as: // // p1 ---> p0 --> super model // // p1 has a depMgmt section that specifies versions 1.0 of jars "a" & "b" // jar "a" has a transitive dependency on 2.0 of jar "b", but maven should // prefer to use version 1.0. //
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0)