Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for jar (0.12 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/type/DefaultTypeProvider.java

                    new DefaultType(
                            Type.TEST_JAR,
                            Language.JAVA_FAMILY,
                            "jar",
                            "tests",
                            false,
                            JavaPathType.CLASSES,
                            JavaPathType.PATCH_MODULE),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

    import java.util.Map;
    import java.util.jar.Attributes;
    import java.util.jar.JarFile;
    import java.util.jar.Manifest;
    import java.util.stream.Stream;
    import java.util.zip.ZipEntry;
    
    import org.apache.maven.api.JavaPathType;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Information about the modules contained in a path element.
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/JarLifecycleMappingProvider.java

            "package", "org.apache.maven.plugins:maven-jar-plugin:" + JAR_PLUGIN_VERSION + ":jar",
            "install", "org.apache.maven.plugins:maven-install-plugin:" + INSTALL_PLUGIN_VERSION + ":install",
            "deploy", "org.apache.maven.plugins:maven-deploy-plugin:" + DEPLOY_PLUGIN_VERSION + ":deploy"
        };
        // END SNIPPET: jar
    
        @Inject
        public JarLifecycleMappingProvider() {
            super(BINDINGS);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            assertEquals(8, classes.size()); // "plexus.pom" and "junit.jar" are excluded.
            assertEquals(1, modules.size());
            assertEquals("plexus-1.0.11.pom", unresolved.get(0).getFileName().toString());
            assertEquals("test-extension-1.jar", classes.get(0).getFileName().toString());
            assertEquals("junit-4.13.1.jar", modules.get(0).getFileName().toString());
            assertTrue(paths.containsAll(classes));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifeCyclePluginAnalyzerStub.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.5K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

        /**
         * Artifact type name for a JAR file to unconditionally place on the class-path.
         * If the JAR is modular, its module information are ignored.
         * This type is new in Maven 4.
         */
        String CLASSPATH_JAR = "classpath-jar";
    
        /**
         * Artifact type name for a JAR file to unconditionally place on the module-path.
         * If the JAR is not modular, then it is loaded by Java as an unnamed module.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 29 09:32:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCacheTest.java

            artifacts.add(new DefaultArtifact("g", "a1", "v", "compile", "jar", "", null));
            artifacts.add(new DefaultArtifact("g", "a2", "v", "compile", "jar", "", null));
            artifacts.add(new DefaultArtifact("g", "a3", "v", "compile", "jar", "", null));
            artifacts.add(new DefaultArtifact("g", "a4", "v", "compile", "jar", "", null));
    
            cache.put(project1, new SetWithResolutionResult(null, artifacts));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Dec 15 06:34:19 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/ReactorReader.java

         * @return {@code true} if the artifact refers to test classes, {@code false} otherwise.
         */
        private static boolean isTestArtifact(Artifact artifact) {
            return ("test-jar".equals(artifact.getProperty("type", "")))
                    || ("jar".equals(artifact.getExtension()) && "tests".equals(artifact.getClassifier()));
        }
    
        private File findInProjectLocalRepository(Artifact artifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

     */
    class PathModularizationCache {
        /**
         * Module information for each JAR file or output directories.
         * Cached when first requested to avoid decoding the module descriptors multiple times.
         *
         * @see #getModuleInfo(Path)
         */
        private final Map<Path, PathModularization> moduleInfo;
    
        /**
         * Whether JAR files are modular. This map is redundant with {@link #moduleInfo},
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

     */
    class PathModularizationCache {
        /**
         * Module information for each JAR file or output directories.
         * Cached when first requested to avoid decoding the module descriptors multiple times.
         *
         * @see #getModuleInfo(Path)
         */
        private final Map<Path, PathModularization> moduleInfo;
    
        /**
         * Whether JAR files are modular. This map is redundant with {@link #moduleInfo},
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
Back to top