Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for coordinates (0.37 sec)

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

         *
         * @param coordinate artifact coordinate to get as a dependency coordinate
         * @return dependency coordinate for the given artifact
         *
         * @see DependencyCoordinateFactory#create(Session, ArtifactCoordinate)
         */
        @Nonnull
        DependencyCoordinate createDependencyCoordinate(@Nonnull ArtifactCoordinate coordinate);
    
        /**
    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. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelResolver.java

    /**
     * Resolves a POM from its coordinates.
     */
    public interface ModelResolver extends Service {
    
        /**
         * Tries to resolve the POM for the specified parent coordinates possibly updating {@code parent}.
         *
         * @param session The session to use to resolve the model, must not be {@code null}.
         * @param parent The parent coordinates to resolve, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

         * @see ArtifactResolver#resolve(Session, Collection)
         */
        @Override
        public Map<Artifact, Path> resolveArtifacts(ArtifactCoordinate... coordinates) {
            return resolveArtifacts(Arrays.asList(coordinates));
        }
    
        /**
         * Shortcut for <code>getService(ArtifactResolver.class).resolve(...)</code>
         *
         * @throws ArtifactResolverException if the artifact resolution failed
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolver.java

            List<ArtifactCoordinate> coordinates = nodes.stream()
                    .map(Node::getDependency)
                    .filter(Objects::nonNull)
                    .map(Artifact::toCoordinate)
                    .collect(Collectors.toList());
            Map<Artifact, Path> artifacts = session.resolveArtifacts(coordinates);
            DefaultDependencyResolverResult result = new DefaultDependencyResolverResult(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

         * @see ArtifactResolver#resolve(Session, Collection)
         */
        @Override
        public Map<Artifact, Path> resolveArtifacts(ArtifactCoordinate... coordinates) {
            return resolveArtifacts(Arrays.asList(coordinates));
        }
    
        /**
         * Shortcut for <code>getService(ArtifactResolver.class).resolve(...)</code>
         *
         * @throws ArtifactResolverException if the artifact resolution failed
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java

                version = model.getParent().getVersion();
            }
            return toId(groupId, artifactId, version);
        }
    
        /**
         * Creates a user-friendly artifact id from the specified coordinates.
         *
         * @param groupId The group id, may be {@code null}.
         * @param artifactId The artifact id, may be {@code null}.
         * @param version The version, may be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

                case 5:
                    s = new DefaultArtifact(parts[0], parts[1], parts[2], parts[3], parts[4]);
                    break;
                default:
                    throw new IllegalArgumentException("Bad artifact coordinates " + coord
                            + ", expected format is <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>");
            }
            return s;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

            return result;
        }
    
        /**
         * Gets the identifier of the POM whose effective model could not be built. The general format of the identifier is
         * {@code <groupId>:<artifactId>:<version>} but some of these coordinates may still be unknown at the point the
         * exception is thrown so this information is merely meant to assist the user.
         *
         * @return The identifier of the POM or an empty string if not known, never {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

            if (mojos != null) {
                for (int i = 0; i < mojos.size(); i++) {
                    LifecycleMojo mojo = mojos.get(i);
    
                    // Compute goal coordinates
                    String groupId, artifactId, version, goal;
                    String[] p = mojo.getGoal().trim().split(":");
                    if (p.length == 3) {
                        // <groupId>:<artifactId>:<goal>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         * the artifact, so that plugins (e.g. shade) can change the pathname of the file for a particular set of
         * coordinates.
         *
         * @param artifact the artifact to add or replace.
         * @deprecated Please use {@link MavenProjectHelper}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
Back to top