Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 1,116 for artifact1 (0.05 seconds)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java

     * under the License.
     */
    package org.apache.maven.artifact.handler;
    
    /**
     * An artifact handler contains information explaining how an artifact plugs into the Maven build:<ul>
     * <li>Information needed to find the artifact file in a repository including extension and classifier</li>
     * <li>Information on how to use the artifact as a dependency: whether to add it to the classpath, whether to load its
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/DefaultMetadataResolutionRequest.java

    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.DefaultRepositoryRequest;
    import org.apache.maven.artifact.repository.RepositoryRequest;
    import org.apache.maven.artifact.resolver.ArtifactResolutionRequest;
    
    /**
     * Forms a request to retrieve artifact metadata.
     *
     */
    @Deprecated
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/CyclicDependencyException.java

     */
    package org.apache.maven.artifact.resolver;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Indicates a cycle in the dependency graph.
     *
     */
    public class CyclicDependencyException extends ArtifactResolutionException {
        private Artifact artifact;
    
        public CyclicDependencyException(String message, Artifact artifact) {
            super(message, artifact);
            this.artifact = artifact;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java

        /**
         * Gets the group id of the constituent's artifact.
         *
         * @return The group id, never {@code null}.
         */
        String getGroupId();
    
        /**
         * Gets the artifact id of the constituent's artifact.
         *
         * @return The artifact id, never {@code null}.
         */
        String getArtifactId();
    
        /**
         * Gets the type of the constituent's artifact.
         *
         * @return The type, never {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

    import java.util.Arrays;
    import java.util.List;
    import java.util.Properties;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.InvalidRepositoryException;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    import org.apache.maven.execution.MavenExecutionRequest;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinates.java

         * {@return the identifier of the artifact}.
         */
        @Nonnull
        String getArtifactId();
    
        /**
         * Returns the classifier of the artifact.
         *
         * @return the classifier or an empty string if none, never {@code null}
         */
        @Nonnull
        String getClassifier();
    
        /**
         * {@return the specific version, range of versions, or meta-version of the artifact}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/DependencyResolutionRequiredException.java

     * under the License.
     */
    package org.apache.maven.artifact;
    
    /**
     * Exception that occurs when an artifact file is used, but has not been resolved.
     *
     * TODO it may be better for artifact.getFile() to throw it - perhaps it is a runtime exception?
     */
    public class DependencyResolutionRequiredException extends Exception {
        public DependencyResolutionRequiredException(Artifact artifact) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListenerForDepMgmt.java

     */
    @Deprecated
    public interface ResolutionListenerForDepMgmt {
        void manageArtifactVersion(Artifact artifact, Artifact replacement);
    
        void manageArtifactScope(Artifact artifact, Artifact replacement);
    
        void manageArtifactSystemPath(Artifact artifact, Artifact replacement);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

            assertTrue(e.getMessage().contains("Could not find artifact ut.simple:artifact:pom:0 in repo"));
        }
    
        @Test
        public void testResolveParentThrowsUnresolvableModelExceptionWhenNoMatchingVersionFound() throws Exception {
            final Parent parent = new Parent();
            parent.setGroupId("ut.simple");
            parent.setArtifactId("artifact");
            parent.setVersion("[2.0,2.1)");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/UserLocalArtifactRepository.java

        }
    
        @Override
        public Artifact find(Artifact artifact) {
            File artifactFile = new File(localRepository.getBasedir(), pathOf(artifact));
    
            // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal
            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            return artifact;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
Back to Top