Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 693 for artifact (0.22 sec)

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

        }
    
        /**
         * The groupId of the artifact.
         *
         * @return the groupId
         */
        @Nonnull
        String getGroupId();
    
        /**
         * The artifactId of the artifact.
         *
         * @return the artifactId
         */
        @Nonnull
        String getArtifactId();
    
        /**
         * The version of the artifact.
         *
         * @return the version
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 15 15:48:33 GMT 2023
    - 3K bytes
    - Viewed (0)
  2. maven-core/src/site/apt/artifact-handlers.apt

    ~~ under the License.
    
     ---
     Legacy Artifact Handlers Reference
     ---
     Hervé Boutemy
     ---
     2013-08-02
     ---
    
    Legacy Artifact Handlers Reference
    
      Maven 3 artifact handlers (see {{{../maven-artifact/apidocs/org/apache/maven/artifact/handler/ArtifactHandler.html} API}})
      define for each {{{../maven-model/maven.html#class_dependency}dependency type}} information on the artifact
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 06:12:44 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    // attached artifacts
                    project.getAttachedArtifacts().stream());
            return artifacts.map(RepositoryUtils::toArtifact);
        }
    
        private boolean isRegularFile(Artifact artifact) {
            return artifact.getFile() != null && artifact.getFile().isFile();
        }
    
        private void installIntoProjectLocalRepository(Artifact artifact) {
            Path target = getArtifactPath(artifact);
    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)
  4. maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            Artifact artifact = new DefaultArtifact(
                    groupId, artifactId, VersionRange.createFromVersion("5.0"), scope, type, classifier, artifactHandler);
            assertTrue(artifact.compareTo(artifact1) == 0);
            assertTrue(artifact1.compareTo(artifact) == 0);
        }
    
        @Test
        void testNonResolvedVersionRangeConsistentlyYieldsNullVersions() throws Exception {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon May 22 19:19:33 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java

            Artifact artifact = factory.createDependencyArtifact(
                    "test-grp", "test-artifact", VersionRange.createFromVersion("1.0"), "type", null, "system", "provided");
            Artifact artifact2 = factory.createDependencyArtifact(
                    "test-grp", "test-artifact-2", VersionRange.createFromVersion("1.0"), "type", null, "system", "test");
            Artifact artifact3 = factory.createDependencyArtifact(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * @param artifact the artifact for which to get a path
         * @return path associated to the given artifact
         *
         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
         */
        @Nonnull
        Optional<Path> getArtifactPath(@Nonnull Artifact artifact);
    
        /**
         * Gets the relative path for a locally installed artifact. Note that the artifact need not actually exist yet at
    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)
  7. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            Map artifactMap = project.getArtifactMap();
    
            assertNotNull( artifactMap, "artifact-map should not be null." );
            assertEquals( 1, artifactMap.size(), "artifact-map should contain 1 element." );
    
            Artifact artifact = (Artifact) artifactMap.get( key );
    
            assertNotNull( artifact, "dependency artifact not found in map." );
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.ArtifactUtils;
    import org.apache.maven.artifact.DependencyResolutionRequiredException;
    import org.apache.maven.artifact.factory.ArtifactFactory;
    import org.apache.maven.artifact.handler.ArtifactHandler;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    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)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSnapshotMetadata.java

            return Metadata.newBuilder()
                    .modelVersion("1.1.0")
                    .groupId(artifact.getGroupId())
                    .artifactId(artifact.getArtifactId())
                    .version(artifact.getBaseVersion())
                    .build();
        }
    
        public void bind(Artifact artifact) {
            artifacts.add(artifact);
        }
    
        public Object getKey() {
    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)
  10. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

        }
    
        public String getPathForLocalArtifact(Artifact artifact) {
            if (realLocalRepo) {
                return delegate.pathOf(RepositoryUtils.toArtifact(artifact.setVersion(artifact.getBaseVersion())));
            }
            return delegate.pathOf(RepositoryUtils.toArtifact(artifact));
        }
    
        public String getPathForRemoteArtifact(Artifact artifact, RemoteRepository repository, String context) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top