Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 309 for resolve (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                        dir, event.getSession().getLocalRepositoryManager().getPathForLocalArtifact(event.getArtifact()));
                trackingDir = dir.getParentFile().toPath().resolve(".tracking");
            } else {
                trackingDir = event.getFile().getParentFile().toPath().resolve(".tracking");
            }
    
            String baseName;
            String ext = missing ? ".miss" : ".dep";
            Path trackingFile = null;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

    import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    import org.apache.maven.artifact.resolver.ArtifactResolutionRequest;
    import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
    import org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException;
    import org.apache.maven.artifact.resolver.ResolutionErrorHandler;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCollector.java

        /**
         * Collects the transitive dependencies and builds a dependency graph.
         * Note that this operation is only concerned about determining the coordinates of the
         * transitive dependencies and does not actually resolve the artifact files.
         *
         * @param request the dependency collection request, must not be {@code null}
         * @return the collection result, never {@code null}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  7. 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)
  8. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

    import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
    import org.apache.maven.artifact.resolver.ArtifactResolutionRequest;
    import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
    import org.apache.maven.artifact.resolver.ArtifactResolver;
    import org.apache.maven.artifact.resolver.filter.ExcludesArtifactFilter;
    import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    import static org.apache.maven.api.services.BaseRequest.nonNull;
    
    /**
     * A Source specific to load POMs.  The {@link #resolve(ModelLocator, String)} method
     * will be used to find POMs for children modules.
     *
     * @since 4.0.0
     */
    public interface ModelSource extends Source {
    
        interface ModelLocator {
            /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

    @Named
    public class DefaultRootLocator implements RootLocator {
    
        public boolean isRootDirectory(Path dir) {
            if (Files.isDirectory(dir.resolve(".mvn"))) {
                return true;
            }
            // we're too early to use the modelProcessor ...
            Path pom = dir.resolve("pom.xml");
            try (InputStream is = Files.newInputStream(pom)) {
                XMLStreamReader parser = new WstxInputFactory().createXMLStreamReader(is);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top