- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for Resource (0.26 sec)
-
maven-core/src/main/java/org/apache/maven/project/MavenProject.java
} public List<Resource> getResources() { return getBuild().getResources(); } public List<Resource> getTestResources() { return getBuild().getTestResources(); } public void addResource(Resource resource) { getBuild().addResource(resource); } public void addTestResource(Resource testResource) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 56.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSuperPomProvider.java
} private Model readModel(String version, String v) { String resource = "/org/apache/maven/model/pom-" + v + ".xml"; URL url = getClass().getResource(resource); if (url == null) { throw new IllegalStateException("The super POM " + resource + " was not found" + ", please verify the integrity of your Maven installation"); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
} protected static File getFileForClasspathResource(String resource) throws FileNotFoundException, URISyntaxException { ClassLoader cloader = Thread.currentThread().getContextClassLoader(); URL resourceUrl = cloader.getResource(resource); if (resourceUrl == null) { throw new FileNotFoundException("Unable to find: " + resource); } return new File(resourceUrl.toURI());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 6.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelPathTranslator.java
} newResources.set(i, newResource); } } } return newResources; } private Resource alignToBaseDirectory(Resource resource, Path basedir) { if (resource != null) { String newDir = alignToBaseDirectory(resource.getDirectory(), basedir);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
// TODO: we should not modify the underlying model here, but resources should be stored // TODO: in a separate field in the project, however, that could break v3 plugins MavenProject prj = getMavenProject(nonNull(project, "project")); org.apache.maven.model.Resource res = new org.apache.maven.model.Resource(nonNull(resource, "resource"));
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 7.3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
} protected static File getFileForClasspathResource(String resource) throws FileNotFoundException, URISyntaxException { ClassLoader cloader = Thread.currentThread().getContextClassLoader(); URL resourceUrl = cloader.getResource(resource); if (resourceUrl == null) { throw new FileNotFoundException("Unable to find: " + resource); } return new File(resourceUrl.toURI());
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
} } private static <T> T cache(ModelCache cache, Source source, String tag, Callable<T> supplier) { Supplier<T> s = asSupplier(supplier); if (cache == null) { return s.get(); } else { return cache.computeIfAbsent(source, tag, s); } } private static <T> Supplier<T> asSupplier(Callable<T> supplier) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri May 03 08:48:38 GMT 2024 - 61.5K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java
import org.apache.maven.wagon.resource.Resource; /** * Wagon used for test cases that annotate some methods. Note that this is not a thread-safe implementation. */ public class TestFileWagon extends FileWagon { private TestTransferListener testTransferListener; private boolean insideGet; @Deprecated
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
/** * Gets the global Toolchains source. * * @return the global Toolchains source or {@code null} if none */ @Nonnull Optional<Source> getGlobalToolchainsSource(); /** * Gets the user Toolchains source. * * @return the user Toolchains source or {@code null} if none */ @Nonnull Optional<Source> getUserToolchainsSource(); @Nonnull
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.4K bytes - Viewed (0)