- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Resources (0.17 sec)
-
maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
sessionScope.enter(); try { sessionScope.seed(MavenSession.class, mock(MavenSession.class)); String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath(); Artifact artifact = createArtifact("artifact", "1.0"); File file = new File(artifactBasedir, "artifact-1.0.jar");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.8K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java
if ("JAR".equals(packaging)) { plugins = new LinkedHashSet<>(); plugins.add(newPlugin("maven-compiler-plugin", "compile", "testCompile")); plugins.add(newPlugin("maven-resources-plugin", "resources", "testResources")); plugins.add(newPlugin("maven-surefire-plugin", "test")); plugins.add(newPlugin("maven-jar-plugin", "jar"));
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
} catch (SecurityException expected) { } ClassPath classPath = ClassPath.from(getClass().getClassLoader()); // ClassPath may contain resources from the boot class loader; just not from the class path. for (ResourceInfo resource : classPath.getResources()) { assertThat(resource.getResourceName()).doesNotContain("com/google/common/reflect/"); } } private static ClassPath.ClassInfo findClass(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 26 14:02:27 GMT 2024 - 24.9K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java
newPlugin("maven-compiler-plugin", "compile", "testCompile"), newPlugin("maven-resources-plugin", "resources", "testResources"), newPlugin("maven-surefire-plugin", "test"), newPlugin("maven-jar-plugin", "jar"),
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 5.8K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java
sessionScope.enter(); try { sessionScope.seed(MavenSession.class, mock(MavenSession.class)); String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath(); Artifact artifact = createArtifact("artifact", "1.0"); File source = new File(artifactBasedir, "artifact-1.0.jar");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.1K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java
// The local repository for this category of tests // ---------------------------------------------------------------------- protected File getLocalRepositoryPath() { return getTestFile("src/test/resources/inheritance-repo/" + getTestSeries()); } @Override @BeforeEach public void setUp() throws Exception { super.setUp(); EmptyLifecycleBindingsInjector.useEmpty(); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java
} } private void validate20RawResources( ModelProblemCollector problems, List<Resource> resources, String prefix, ModelBuilderRequest request) { Severity errOn30 = getSeverity(request, ModelBuilderRequest.VALIDATION_LEVEL_MAVEN_3_0); for (Resource resource : resources) { validateStringNotEmpty( prefix, "directory",
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 13:13:07 GMT 2024 - 73.1K bytes - Viewed (0) -
maven-compat/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 May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 6.4K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java
import org.apache.maven.wagon.resource.Resource; /** * Wagon used for test cases that annotate some methods. Note that this is not a thread-safe implementation. */ public class TestFileWagon extends FileWagon { private TestTransferListener testTransferListener; private boolean insideGet; @Deprecated
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.8K bytes - Viewed (0)