- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for createTempFile (0.23 sec)
-
maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
dir.mkdirs(); markForDeletion(dir); return dir; } public synchronized File createTempFile() throws IOException { File tempFile = File.createTempFile(baseFilename, fileSuffix); tempFile.deleteOnExit(); markForDeletion(tempFile); return tempFile; } public void cleanUp() throws IOException {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 4.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java
Path afterPomFile = Paths.get("src/test/resources/projects/transform/after.pom").toAbsolutePath(); Path tempFile = Files.createTempFile("", ".pom"); Files.delete(tempFile); try (InputStream expected = Files.newInputStream(beforePomFile)) { Model model = new Model(new MavenStaxReader().read(expected));
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Dec 05 09:23:26 GMT 2023 - 4.3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java
MavenProject mavenProject = new MavenProject(); mavenProject.setArtifact(new DefaultArtifact("g", "a", "1.0", Artifact.SCOPE_TEST, "jar", "", null)); File artifactFile = Files.createTempFile("foo", "tmp").toFile(); try { mavenProjectHelper.attachArtifact(mavenProject, "java-source", artifactFile); assertEquals(1, mavenProject.getAttachedArtifacts().size());
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
if (buildDir != null) { Files.createDirectories(buildDir); } Path consumer = buildDir != null ? Files.createTempFile(buildDir, CONSUMER_POM_CLASSIFIER + "-", ".pom") : Files.createTempFile(CONSUMER_POM_CLASSIFIER + "-", ".pom"); deferDeleteFile(consumer); project.addAttachedArtifact(createConsumerPomArtifact(project, consumer, session));
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Jan 10 12:55:54 GMT 2024 - 8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 5.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 5.3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java
assertThat(result, is(true)); } @Test void isMatchingProjectMatchOnFileReturnsTrue() throws IOException { final File tempFile = File.createTempFile("maven-core-unit-test-pom", ".xml"); final String selector = tempFile.getName(); final MavenProject mavenProject = createMavenProject("maven-core"); mavenProject.setFile(tempFile);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 8.6K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
String, String) throws java.io.IOException; public static void copyDirectoryStructu(java.io.File, java.io.File) throws java.io.IOException; public static void rename(java.io.File, java.io.File) throws java.io.IOException; public static java.io.File createTempFile(String, String, java.io.File); static void <clinit>(); } org/codehaus/plexus/util/interpolation/EnvarBasedValueSourc.class package org.codehaus.plexus.util.interpolation; public synchronized class EnvarBasedValueSourc implements ValueSource {...
Archive - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 164.6K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
String, String) throws java.io.IOException; public static void copyDirectoryStructu(java.io.File, java.io.File) throws java.io.IOException; public static void rename(java.io.File, java.io.File) throws java.io.IOException; public static java.io.File createTempFile(String, String, java.io.File); static void <clinit>(); } org/codehaus/plexus/util/cli/CommandLineUtils$StringStreamConsumer.class package org.codehaus.plexus.util.cli; public synchronized class CommandLineUtils$StringStreamConsumer implements...
Archive - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 160K bytes - Viewed (0) -
maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
String, String) throws java.io.IOException; public static void copyDirectoryStructu(java.io.File, java.io.File) throws java.io.IOException; public static void rename(java.io.File, java.io.File) throws java.io.IOException; public static java.io.File createTempFile(String, String, java.io.File); static void <clinit>(); } org/codehaus/plexus/util/interpolation/EnvarBasedValueSourc.class package org.codehaus.plexus.util.interpolation; public synchronized class EnvarBasedValueSourc implements ValueSource {...
Archive - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 164.6K bytes - Viewed (0)