- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 170 for Resource (8.95 sec)
-
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/project/DefaultMavenProjectHelper.java
MavenProject project, String resourceDirectory, List<String> includes, List<String> excludes) { Resource resource = new Resource(); resource.setDirectory(resourceDirectory); resource.setIncludes(includes); resource.setExcludes(excludes); project.addResource(resource); } public void addTestResource(
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 4.3K 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-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java
throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException { Resource resource = inputData.getResource(); String content = expectedContent.get(resource.getName()); if (content != null) { resource.setContentLength(content.length()); resource.setLastModified(System.currentTimeMillis());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 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/main/java/org/apache/maven/repository/legacy/MavenArtifact.java
import org.apache.maven.repository.ArtifactTransferResource; import org.apache.maven.wagon.resource.Resource; @Deprecated class MavenArtifact implements ArtifactTransferResource { private String repositoryUrl; private Resource resource; private long transferStartTime; MavenArtifact(String repositoryUrl, Resource resource) { if (repositoryUrl == null) { this.repositoryUrl = "";
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 2.2K bytes - Viewed (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java
* @param source the source location * @param sourceDominant the boolean indicating of {@code source} is dominant compared to {@code target} * @return the merged location */ public static InputLocation merge(InputLocation target, InputLocation source, boolean sourceDominant) { if (source == null) { return target; } else if (target == null) { return source; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Sep 05 16:06:44 GMT 2023 - 5.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java
* track the problem back to its origin. A concrete example for such a source hint can be the file path or URL from * which the settings were read. * * @return the hint about the source of the problem or an empty string if unknown, never {@code null} */ @Nonnull String getSource(); /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 3.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsBuilder.java
} private static class MappedToolchainsSource implements org.apache.maven.building.Source { private final Source source; MappedToolchainsSource(Source source) { this.source = source; } @Override public InputStream getInputStream() throws IOException { return source.openStream(); } @Override public String getLocation() {
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Mon Sep 11 16:14:36 GMT 2023 - 5.3K bytes - Viewed (0)