- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for getResources (0.08 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
build.setTestSourceDirectory(alignToBaseDirectory(build.getTestSourceDirectory(), basedir)); for (Resource resource : build.getResources()) { resource.setDirectory(alignToBaseDirectory(resource.getDirectory(), basedir)); } for (Resource resource : build.getTestResources()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfigurationFactory.java
String slf4jBinding = loggerFactory.getClass().getCanonicalName(); try { Enumeration<URL> resources = Slf4jConfigurationFactory.class.getClassLoader().getResources(RESOURCE); while (resources.hasMoreElements()) { URL resource = resources.nextElement(); try { InputStream is = resource.openStream();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
} } @Override public List<Resource> getResources(@Nonnull Project project, @Nonnull ProjectScope scope) { Project prj = nonNull(project, "project"); if (nonNull(scope, "scope") == ProjectScope.MAIN) { return prj.getBuild().getResources(); } else if (scope == ProjectScope.TEST) { return prj.getBuild().getTestResources();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java
.scriptSourceDirectory(alignToBaseDirectory(build.getScriptSourceDirectory(), basedir)) .resources(map(build.getResources(), r -> alignToBaseDirectory(r, basedir))) .testResources(map(build.getTestResources(), r -> alignToBaseDirectory(r, basedir)))
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java
Set<String> artifacts = new LinkedHashSet<>(); Set<String> packages = new LinkedHashSet<>(); try { Enumeration<URL> urls = loader.getResources(BUILDER.getExtensionDescriptorLocation()); while (urls.hasMoreElements()) { try (InputStream is = urls.nextElement().openStream()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 24 11:52:48 UTC 2024 - 7.6K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
Model out = interpolator.interpolateModel(model, (Path) null, createModelBuildingRequest(context), collector); assertCollectorState(0, 0, 0, collector); List<Resource> outResources = out.getBuild().getResources(); Iterator<Resource> resIt = outResources.iterator(); assertEquals(model.getBuild().getSourceDirectory(), resIt.next().getDirectory()); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
p); validate20EffectivePluginDependencies(problems, p, request); } validate20RawResources(problems, build.getResources(), "build.resources.resource.", request); validate20RawResources( problems, build.getTestResources(), "build.testResources.testResource.", request); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 77.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java
Long transferred; synchronized (transfers) { transferred = transfers.remove(transferEvent.getResource()); } if (transferred != null) { event.setTransferredBytes(transferred); } synchronized (artifacts) { artifacts.remove(transferEvent.getResource()); } listener.transferCompleted(event); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
return new FileModelSource(new File(getClass() .getResource("/poms/depmgmt/import.xml") .getFile())); case "test:other:pom": return new FileModelSource(new File(getClass() .getResource("/poms/depmgmt/other-import.xml") .getFile()));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0)