- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 102 for get_files (0.16 sec)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
Profile profile = newExistsProfile("file.txt"); assertEquals("file.txt", profile.getActivation().getFile().getExists()); assertActivation(true, profile, context); assertEquals("file.txt", profile.getActivation().getFile().getExists()); } private Profile newExistsProfile(String filePath) { ActivationFile activationFile =
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 6.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
} @SuppressWarnings("deprecation") @Override 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.getConfigProperties())) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 8.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
this(artifact, null); } public ProjectArtifactMetadata(Artifact artifact, File file) { super(artifact); this.file = file; } public File getFile() { return file; } @Override public String getRemoteFilename() { return getFilename(); } @Override public String getLocalFilename(ArtifactRepository repository) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/TransformationFailedException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.internal.transformation; /** * Exception that may be thrown by the {@link org.apache.maven.artifact.Artifact#getFile()} * implementation. */ public class TransformationFailedException extends RuntimeException { public TransformationFailedException(Throwable cause) { super(cause); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.1K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
String getVersion(); void setVersion(String version); String getScope(); String getType(); String getClassifier(); boolean hasClassifier(); File getFile(); void setFile(File destination); String getBaseVersion(); void setBaseVersion(String baseVersion); String getId(); String getDependencyConflictId();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java
} private List<Artifact> newTestArtifactList() { List<Artifact> artifacts = new ArrayList<Artifact>(); Artifact artifact = mock(Artifact.class); when(artifact.getFile()).thenReturn(new File(new File("local/repository"), "some/path")); when(artifact.getGroupId()).thenReturn("group1"); when(artifact.getArtifactId()).thenReturn("artifact1");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 7.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifact.java
project.getVersion(), null, "pom", null, new PomArtifactHandler()); this.project = project; setFile(project.getFile()); setResolved(true); } public MavenProject getProject() { return project; } @Override public List<Dependency> getDependencies() {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.9K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
} /** * Gets the file of this source. * * @return The underlying file, never {@code null}. * @deprecated Use {@link #getPath()} instead. */ @Deprecated public File getFile() { return path.toFile(); } /** * Gets the file of this source. * * @return The underlying file, never {@code null}. * @since 4.0.0 */ public Path getPath() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(0, true); write(out, data, 0, 100, true); File file = out.getFile(); assertEquals(100, file.length()); assertTrue(file.exists()); out.close(); // Make sure that finalize deletes the file out = null; // times out and throws RuntimeException on failure
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.7K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
MavenProject project1 = ex1.getResults().get(0).getProject(); assertNotNull(project1); assertEquals("testArtifactMissingVersion", project1.getArtifactId()); assertEquals(pomFile, project1.getFile()); // multi projects build entry point ProjectBuildingException ex2 = assertThrows( ProjectBuildingException.class,
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 17.6K bytes - Viewed (0)