- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 67 for setLocation (0.14 sec)
-
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
for (Dependency dependency : project.getDependencies()) { if (dependency.getManagementKey().equals("org.apache.maven.its:a:jar")) { dependencyLocation = dependency.getLocation("version"); } } assertNotNull(dependencyLocation, "missing dependency"); assertEquals( "org.apache.maven.its:bom:0.1", dependencyLocation.getSource().getModelId());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 17.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java
* @param e the exception itself */ public XmlWriterException(String message, Location location, Exception e) { super(message, e); this.location = location; } public Location getLocation() { return location; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 1.4K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java
* value is undefined. * * @return The location of the problem, never {@code null}. */ String getLocation(); /** * Gets the exception that caused this problem (if any). * * @return The exception that caused this problem or {@code null} if not applicable. */ Exception getException();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java
URL txtFile = new File("target/test-classes/source.txt").toURI().toURL(); UrlSource source = new UrlSource(txtFile); assertEquals(txtFile.toExternalForm(), source.getLocation()); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java
@Test void testGetLocation() { File txtFile = new File("target/test-classes/source.txt"); FileSource source = new FileSource(txtFile); assertEquals(txtFile.getAbsolutePath(), source.getLocation()); } @Test void testGetFile() { File txtFile = new File("target/test-classes/source.txt"); FileSource source = new FileSource(txtFile);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 05 09:37:42 UTC 2025 - 2.7K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 2.9K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java
* empty string. The intention is to assist users during error reporting. * * @return A user-friendly hint about the location of the source, never {@code null}. */ String getLocation();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 1.8K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java
assertNull(source.getPath(), "Resolved sources should return null for getPath()"); assertEquals(path.toString(), source.getLocation()); } @Test void testModelIdFormat() { String location = "/tmp/test.xml"; Path path = Paths.get(location); String modelId = "com.example:test-artifact:1.2.3";
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 2.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
public InputStream openStream() throws IOException { return modelSource.getInputStream(); } @Override @Nonnull public String getLocation() { return modelSource.getLocation(); } @Override @Nullable public Source resolve(@Nonnull String relative) { if (modelSource instanceof ModelSource2 ms) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 51.8K bytes - Viewed (0)