- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 86 for getFile (0.11 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java
@Override public void artifactInstalling(RepositoryEvent event) { logger.info("Installing {} to {}", event.getArtifact().getFile(), event.getFile()); } @Override public void metadataInstalling(RepositoryEvent event) { logger.debug("Installing {} to {}", event.getMetadata(), event.getFile()); } @Override public void metadataResolved(RepositoryEvent event) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleRepositoryListener.java
} public void artifactInstalled(RepositoryEvent event) { println("artifactInstalled", event.getArtifact() + " to " + event.getFile()); } public void artifactInstalling(RepositoryEvent event) { println("artifactInstalling", event.getArtifact() + " to " + event.getFile()); } public void artifactResolved(RepositoryEvent event) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
wagonManager.getArtifact(artifact, repo, null, false); assertTrue(artifact.getFile().exists()); assertEquals("expected", FileUtils.fileRead(artifact.getFile(), "UTF-8")); } private Artifact createTestPomArtifact(String directory) throws IOException { File testData = getTestFile(directory);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
assertFalse(result.isMissing()); assertTrue(result.isResolved()); Artifact artifact = result.getArtifact(); assertNotNull(artifact.getFile()); assertEquals(filename, artifact.getFile().getName()); } @Test void testResolveArtifacts() throws Exception { ArtifactRequest req1 = new ArtifactRequest();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.9K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java
/** * Gets the settings file of this model source. * * @return The underlying settings file, never {@code null}. * @deprecated instead use {@link #getFile()} */ @Deprecated public File getSettingsFile() { return getFile(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
.getResource("/poms/depmgmt/import.xml") .getFile())); case "test:other:pom": return new FileModelSource(new File(getClass() .getResource("/poms/depmgmt/other-import.xml") .getFile())); default: throw new UnresolvableModelException(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java
super(pomPath); } /** * * @return the file of this source * * @deprecated instead use {@link #getFile()} */ @Deprecated public File getPomFile() { return getFile(); } @Override public ModelSource3 getRelatedSource(ModelLocator locator, String relPath) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java
.get(1) .getActivation() .getFile() .getExists(); assertEquals(originalExists, resultExists); assertTrue(result.getEffectiveModel() .getProfiles() .get(1) .getActivation() .getFile() .getExists() .contains(BASE_DIR)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
artifact.getProperty(ArtifactProperties.TYPE, artifact.getExtension()), nullify(artifact.getClassifier()), handler); result.setFile(artifact.getFile()); result.setResolved(artifact.getFile() != null); List<String> trail = new ArrayList<>(1); trail.add(result.getId()); result.setDependencyTrail(trail); return result; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
this.builder = builder; } @SuppressWarnings("deprecation") public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException { if (project.getFile() == null) { // If there is no build POM there is no reason to inject artifacts for the consumer POM. return; } if (Features.consumerPom(session.getUserProperties())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0)