Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 94 for jar (0.22 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
                    throw new ArtifactMetadataRetrievalException("Error retrieving metadata", e, a);
                }
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                                                    newPlugin("maven-surefire-plugin", "test"),
                                                    newPlugin("maven-jar-plugin", "jar"),
                                                    newPlugin("maven-install-plugin", "install"),
                                                    newPlugin("maven-deploy-plugin", "deploy")))
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java

                    }
                }
            }
            return plugins.values();
        }
    
        private PluginInfo extractPluginInfo(Artifact artifact) {
            // sanity: jar, no classifier and file exists
            if (artifact != null
                    && "jar".equals(artifact.getExtension())
                    && "".equals(artifact.getClassifier())
                    && artifact.getPath() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

        }
    
        @Test
        void testGetMissingJar() throws TransferFailedException, UnsupportedProtocolException, IOException {
            Artifact artifact = createTestArtifact("target/test-data/get-missing-jar", "jar");
    
            ArtifactRepository repo = createStringRepo();
    
            assertThrows(ResourceDoesNotExistException.class, () -> wagonManager.getArtifact(artifact, repo, null, false));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
                assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());
    
                artifactDeployer.deploy(file, artifact, remoteRepository(), localRepository());
    
    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)
  6. maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
                    throw new ArtifactMetadataRetrievalException("Error retrieving metadata", e, a);
                }
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            dep1.setType( "jar" );
    
            Exclusion exc = new Exclusion();
            exc.setGroupId( "test" );
            exc.setArtifactId( "test-artifact3" );
    
            dep1.addExclusion( exc );
    
            Dependency dep2 = new Dependency();
            dep2.setGroupId( "test" );
            dep2.setArtifactId( "test-artifact2" );
            dep2.setVersion( "1" );
            dep2.setType( "jar" );
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecyclePluginAnalyzer.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 Apr 07 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/lifecycle/EmptyLifecyclePluginAnalyzer.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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertEquals(
            new File("/home/build/x/y/z.jar").toURI(),
            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z.jar").toURI());
        assertEquals(
            "/home/build/x y.jar",
            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x y.jar").getFile());
      }
    
      public void testGetClassPathFromManifest_nullManifest() {
    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)
Back to top