Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Main (0.15 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(DependencyResolver.class).flatten(...)}.
         *
         * @param node node for which to get a flattened list
         * @param scope build path scope (main compile, test compile, etc.) of desired nodes
         * @return flattened list of node with the given build path scope
         * @throws org.apache.maven.api.services.DependencyResolverException if the dependency flattening failed
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            Node root = session.collectDependencies(artifact);
            assertNotNull(root);
    
            DependencyResolverResult result =
                    session.getService(DependencyResolver.class).resolve(session, project, PathScope.MAIN_RUNTIME);
            assertNotNull(result);
            List<Dependency> deps = new ArrayList<>(result.getDependencies().keySet());
            List<Dependency> deps2 = result.getNodes().stream()
                    .map(Node::getDependency)
    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)
  3. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    Stream.concat(
                            // pom artifact
                            Stream.of(new ProjectArtifact(project)),
                            // main project artifact if not a pom
                            "pom".equals(project.getPackaging()) ? Stream.empty() : Stream.of(project.getArtifact())),
                    // attached artifacts
    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)
  4. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

        }
    
        @Override
        public int hashCode() {
            return items.hashCode();
        }
    
        // CHECKSTYLE_OFF: LineLength
    
        /**
         * Main to test version parsing and comparison.
         * <p>
         * To check how "1.2.7" compares to "1.2-SNAPSHOT", for example, you can issue
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         * one specific module. Used for compilation and execution among others.
         *
         * <p><b>Context-sensitive interpretation:</b>
         * This path type makes sense only when a main module is added on the module-path by another dependency.
         * In no main module is found, the patch dependency may be added on the class-path or module-path
         * depending on whether {@link #CLASSES} or {@link #MODULES} is present.
         * </p>
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         */
        void addOutputDirectory(Path main, Path test, PathModularizationCache cache) throws IOException {
            if (outputModules != null) {
                throw new IllegalStateException("Output directories must be set first and only once.");
            }
            if (main != null) {
                outputModules = cache.getModuleInfo(main);
                addPathElement(outputModules.getPathType(), main);
            } else {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         */
        void addOutputDirectory(Path main, Path test, PathModularizationCache cache) throws IOException {
            if (outputModules != null) {
                throw new IllegalStateException("Output directories must be set first and only once.");
            }
            if (main != null) {
                outputModules = cache.getModuleInfo(main);
                addPathElement(outputModules.getPathType(), main);
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

            assertEquals(
                    "src/main/mdo/remote-resources.mdo",
                    new MojoExecutionXPathContainer(executions.get(1)).getValue("configuration/models[1]/model"));
            assertEquals(
                    "src/main/mdo/supplemental-model.mdo",
                    new MojoExecutionXPathContainer(executions.get(4)).getValue("configuration/models[1]/model"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 24.7K bytes
    - Viewed (0)
Back to top