Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 708 for Artifact (0.6 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/UnresolvedArtifacts.java

        private Artifact originatingArtifact;
    
        private List<Artifact> artifacts;
    
        private List<ArtifactRepository> remoteRepositories;
    
        public UnresolvedArtifacts(
                Artifact originatingArtifact, List<Artifact> artifacts, List<ArtifactRepository> remoteRepositories) {
            this.originatingArtifact = originatingArtifact;
    
            this.artifacts = artifacts;
    
            this.remoteRepositories = remoteRepositories;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java

         * @param artifacts The artifacts to add to the class realm, may be {@code null}. Unresolved artifacts (i.e. with a
         *            missing file) will automatically be excluded from the realm.
         * @return The new project realm, never {@code null}.
         */
        ClassRealm createProjectRealm(Model model, List<Artifact> artifacts);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java

            when(artifact.getGroupId()).thenReturn("myGroup");
            when(artifact.getArtifactId()).thenReturn("myArtifact");
            when(artifact.getBaseVersion()).thenReturn(versionParser.parseVersion("1.0-SNAPSHOT"));
            projectManager.attachArtifact(project, artifact, artifactPath);
    
            // Verify that an exception is thrown when the artifactId differs
            when(artifact.getArtifactId()).thenReturn("anotherArtifact");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

                List<Artifact> artifacts) {
            List<ClassRealmConstituent> constituents = new ArrayList<>(artifacts == null ? 0 : artifacts.size());
    
            if (artifacts != null && !artifacts.isEmpty()) {
                boolean v4api = foreignImports != null && foreignImports.containsValue(maven4ApiRealm);
                for (Artifact artifact : artifacts) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
                assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());
    
                artifactDeployer.deploy(file, artifact, remoteRepository(), localRepository());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        }
    
        @Override
        public String getPathForLocalArtifact(Artifact artifact) {
            StringBuilder path = new StringBuilder(128);
    
            path.append(artifact.getGroupId()).append('/');
    
            path.append(artifact.getExtension()).append("s/");
    
            path.append(artifact.getArtifactId()).append('-').append(artifact.getVersion());
    
            if (!artifact.getClassifier().isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        }
    
        @Override
        public String getPathForLocalArtifact(Artifact artifact) {
            StringBuilder path = new StringBuilder(128);
    
            path.append(artifact.getGroupId()).append('/');
    
            path.append(artifact.getExtension()).append("s/");
    
            path.append(artifact.getArtifactId()).append('-').append(artifact.getVersion());
    
            if (!artifact.getClassifier().isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/site/apt/index.apt

     -----
     Introduction
     -----
     Hervé Boutemy
     -----
     2014-11-30
     -----
    
    Maven Artifact
    
     Maven Artifact classes, providing <<<Artifact>>> interface ({{{./apidocs/org/apache/maven/artifact/Artifact.html}javadoc}}),
     with its <<<DefaultArtifact>>> implementation ({{{./xref/org/apache/maven/artifact/DefaultArtifact.html}source}}).
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

            attachArtifact(project, artifact, path);
        }
    
        /**
         * Attaches a produced artifact to the project at the specified path. This is the base method
         * that the other attachArtifact methods delegate to.
         *
         * @param project the project to attach the artifact to
         * @param artifact the produced artifact to attach
         * @param path the path to the artifact file
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

     * under the License.
     */
    package org.apache.maven.repository.legacy.metadata;
    
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException;
    
    /**
     * Contains metadata about an artifact, and methods to retrieve/store it from an artifact repository.
     * TODO merge with artifactmetadatasource
     * TODO retrieval exception not appropriate for store
     *
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top