Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for have (0.15 sec)

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

            assertNotNull(res.getClasspath(), "null classpath after compile transform");
            assertEquals(3, res.getClasspath().size(), "compile classpath should have 3 entries");
        }
    
        // ------------------------------------------------------------------------------------------
        @Test
        void testRuntimeClasspathTransform() throws Exception {
            ClasspathContainer res;
    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)
  2. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            }
    
            // After the collection we will have the artifact object in the result but they will not be resolved yet.
            result = artifactCollector.collect(
                    artifacts, rootArtifact, managedVersions, collectionRequest, source, collectionFilter, listeners, null);
    
            // We have metadata retrieval problems, or there are cycles that have been detected
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            ArtifactSpec b = a.addDependency("b", "1.0");
            b.addDependency("a", "1.0");
            assertThrows(
                    CyclicDependencyException.class,
                    () -> collect(a),
                    "Should have failed on cyclic dependency not involving project");
        }
    
        @Test
        @Disabled("works, but we don't fail on cycles presently")
        void testCircularDependencyIncludingCurrentProject()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        @Nonnull
        List<RemoteRepository> getRemoteRepositories();
    
        @Nonnull
        SessionData getData();
    
        /**
         * Returns immutable user properties to use for interpolation. The user properties have been configured directly
         * by the user, e.g. via the {@code -Dkey=value} parameter on the command line.
         *
         * @return the user properties, never {@code null}
         */
        @Nonnull
    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)
  5. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    // It would be cool if there was a hook that I could use to set up a test environment.
    // I want to set up a local/remote repositories for testing but I don't want to have
    // to change them when I change the layout of the repositories. So I want to generate
    // the structure I want to test by using the artifact handler manager which dictates
    // the layout used for a particular artifact type.
    
    /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            }
    
            //
            // TODO jvz Why isn't all this checking the job of the duty of the workspace resolver, we know that we
            // have a model that is suitable, yet more checks are done here and the one for the version is problematic
            // before because with parents as ranges it will never work in this scenario.
            //
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

         */
        @Nonnull
        Collection<Profile> getProfiles();
    
        /**
         * List of profile ids that have been explicitly activated by the user.
         */
        @Nonnull
        List<String> getActiveProfileIds();
    
        /**
         * List of profile ids that have been explicitly deactivated by the user.
         */
        @Nonnull
        List<String> getInactiveProfileIds();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

    import org.eclipse.aether.resolution.VersionRangeResult;
    
    /**
     * A model resolver to assist building of projects. This resolver gives priority to those repositories that have been
     * declared in the POM.
     *
     */
    public class ProjectModelResolver implements ModelResolver {
    
        private static final int MAX_CAP = 0x7fff;
    
        private final RepositorySystemSession session;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    return packagedArtifactFile;
                }
            }
    
            if (!hasBeenPackagedDuringThisSession(project)) {
                // fallback to loose class files only if artifacts haven't been packaged yet
                // and only for plain old jars. Not war files, not ear files, not anything else.
                return determineBuildOutputDirectoryForArtifact(project, 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)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java

            requireNonNull(pluginBindings);
            final int len = pluginBindings.length;
            if (len < 2 || len % 2 != 0) {
                throw new IllegalArgumentException("Plugin bindings must have more than 0, even count of elements");
            }
    
            HashMap<String, LifecyclePhase> lifecyclePhaseBindings = new HashMap<>(len / 2);
            for (int i = 0; i < len; i = i + 2) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 15:34:45 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top