Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 503 for artifact1 (0.04 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

            Artifact artifact2 = mock(Artifact.class);
            when(artifact2.getFile()).thenReturn(null);
            when(artifact2.getGroupId()).thenReturn("group1");
            when(artifact2.getArtifactId()).thenReturn("artifact2");
            when(artifact2.getExtension()).thenReturn("ext");
            when(artifact2.getClassifier()).thenReturn("classifier1");
            when(artifact2.getVersion()).thenReturn("1");
            artifacts.add(artifact2);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

     * and downloads the artifact in the local repository.  This operation returns a {@link DownloadedArtifact}.
     * </p>
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Artifact {
        /**
         * {@return a unique identifier for this artifact}.
         * The identifier is composed of groupId, artifactId, extension, classifier, and version.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @param artifact the artifact for which to get a local path
         * @return local path associated to the given artifact, or {@code null} if none
         *
         * @see org.apache.maven.api.services.LocalRepositoryManager#getPathForLocalArtifact(Session, LocalRepository, Artifact)
         */
        Path getPathForLocalArtifact(@Nonnull Artifact artifact);
    
        /**
         * Gets the relative path for an artifact cached from a remote repository.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/site/apt/artifact-handlers.apt

    ~~ specific language governing permissions and limitations
    ~~ under the License.
    
     ---
     Legacy Artifact Handlers Reference
     ---
     Hervé Boutemy
     ---
     2013-08-02
     ---
    
    Legacy Artifact Handlers Reference
    
      Maven 3 artifact handlers (see {{{../../compat/maven-artifact/apidocs/org/apache/maven/artifact/handler/ArtifactHandler.html} API}})
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Nov 16 18:16:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        }
    
        /**
         * Gets the artifacts that make up the plugin's class realm, excluding artifacts shadowed by the Maven core realm
         * like {@code maven-project}.
         *
         * @return The plugin artifacts, never {@code null}.
         */
        public List<Artifact> getArtifacts() {
            return artifacts;
        }
    
        public void setArtifacts(List<Artifact> artifacts) {
            this.artifacts = artifacts;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

        @Override
        public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) {
            return Collections.emptyList();
        }
    
        @Override
        public Artifact transformArtifact(Artifact artifact) {
            return artifact;
        }
    
        @Override
        public Collection<? extends Metadata> finish(Collection<? extends Artifact> artifacts) {
            LinkedHashMap<String, PluginsMetadata> plugins = new LinkedHashMap<>();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                for (Dependency dependency : dependencies) {
                    Artifact artifact = createDependencyArtifact(dependency);
                    if (!artifacts.containsKey(artifact.getDependencyConflictId())) {
                        artifacts.put(artifact.getDependencyConflictId(), artifact);
                    }
                }
    
                for (Artifact artifact : artifacts.values()) {
                    try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                LOGGER.error("Error while copying artifact " + artifact + " to project local repository.", e);
            }
        }
    
        private Path getArtifactPath(Artifact artifact) {
            String groupId = artifact.getGroupId();
            String artifactId = artifact.getArtifactId();
            String version = artifact.getBaseVersion();
            String classifier = artifact.getClassifier();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:20:38 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  9. api/maven-api-model/pom.xml

          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-annotations</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-xml</artifactId>
        </dependency>
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.modello</groupId>
            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Sep 16 12:39:59 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

                    }
                }
            }
    
            // ArtifactId is required and cannot be inherited
            if (artifactId == null || artifactId.isEmpty()) {
                context.debug("Cannot determine artifactId for POM");
                return null;
            }
    
            // GroupId and version can be inherited, but if still null, we can't create a valid Artifact
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top