- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getFileForClasspathResource (1.5 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
protected File getLocalRepositoryPath() throws FileNotFoundException, URISyntaxException { File markerFile = getFileForClasspathResource("local-repo/marker.txt"); return markerFile.getAbsoluteFile().getParentFile(); } protected static File getFileForClasspathResource(String resource) throws FileNotFoundException, URISyntaxException {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 20:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java
String scope = artifact.getArtifactId().substring("scope-".length()); try { artifact = artifact.setFile(ProjectClasspathTestType.getFileForClasspathResource( ProjectClasspathTestType.DIR + "transitive-" + scope + "-dep.xml")); result.setArtifact(artifact); } catch (FileNotFoundException | URISyntaxException e) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
projectBuilder = getContainer().lookup(ProjectBuilder.class, "classpath"); } @Test void testProjectClasspath() throws Exception { File f = getFileForClasspathResource(DIR + "project-with-scoped-dependencies.xml"); MavenProject project = getProjectWithDependencies(f); Artifact artifact; assertNotNull(project, "Test project can't be null!");
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 6.4K bytes - Viewed (0)