Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for _resolved (0.19 sec)

  1. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            Map.Entry<Artifact, Path> resolved = session.resolveArtifact(coord);
            assertNotNull(resolved);
            assertNotNull(resolved.getKey());
            assertNotNull(resolved.getValue());
            Optional<Path> op = session.getArtifactPath(resolved.getKey());
            assertTrue(op.isPresent());
            assertEquals(resolved.getValue(), op.get());
        }
    
        @Test
    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)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * <p>
         * Shortcut for {@code getService(VersionResolver.class).resolve(...)}
         *
         * @param artifact the artifact for which to resolve the version
         * @return resolved version of the given artifact
         * @throws org.apache.maven.api.services.VersionResolverException if the resolution failed
         *
         * @see org.apache.maven.api.services.VersionResolver#resolve(Session, ArtifactCoordinate) (String)
         */
        @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)
  3. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
    import org.apache.maven.artifact.resolver.CyclicDependencyException;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    import org.apache.maven.artifact.resolver.filter.ExclusionSetFilter;
    import org.apache.maven.artifact.resolver.filter.ScopeArtifactFilter;
    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. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            // The root artifact may, or may not be resolved so we need to check before we attempt to resolve.
            // This is often an artifact like a POM that is taken from disk and we already have hold of the
            // file reference. But this may be a Maven Plugin that we need to resolve from a remote repository
            // as well as its dependencies.
    
    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)
  5. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            String classifier = artifact.getClassifier();
            String extension = artifact.getExtension();
            Path repo = getProjectLocalRepo();
            return repo.resolve(groupId)
                    .resolve(artifactId)
                    .resolve(version)
                    .resolve(artifactId
                            + "-" + version
                            + (classifier != null && !classifier.isEmpty() ? "-" + classifier : "")
    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)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

    import org.apache.maven.project.MavenProject;
    import org.codehaus.plexus.configuration.PlexusConfiguration;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * <p>
     * Resolves dependencies for the artifacts in context of the lifecycle build
     * </p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
     * @since 3.0
     */
    @Named
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            // resolve plugin version as necessary
            if (plugin.getVersion() == null) {
                PluginVersionRequest versionRequest = new DefaultPluginVersionRequest(plugin, session, repositories);
                try {
                    plugin.setVersion(pluginVersionResolver.resolve(versionRequest).getVersion());
                } catch (PluginVersionResolutionException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         *
         * @param path directory or JAR file to test
         * @param resolve whether the module names are requested. If false, null values may be used instead
         * @throws IOException if an error occurred while reading the JAR file or the module descriptor
         */
        PathModularization(Path path, boolean resolve) throws IOException {
            if (Files.isDirectory(path)) {
                /*
    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)
  9. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            return session;
        }
    
        @Override
        protected String component() {
            return "resolver";
        }
    
        @Test
        void testResolutionOfASingleArtifactWhereTheArtifactIsPresentInTheLocalRepository() throws Exception {
            Artifact a = createLocalArtifact("a", "1.0");
    
            artifactResolver.resolve(a, remoteRepositories(), localRepository());
    
            assertLocalArtifactPresent(a);
        }
    
        @Test
    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)
  10. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

    import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
    import org.apache.maven.artifact.repository.layout.DefaultRepositoryLayout;
    import org.apache.maven.artifact.resolver.ArtifactResolutionRequest;
    import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
    import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
    import org.apache.maven.artifact.versioning.VersionRange;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top