Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 437 for artifact (0.06 sec)

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

    import org.apache.maven.artifact.versioning.OverConstrainedVersionException;
    import org.apache.maven.artifact.versioning.VersionRange;
    
    /**
     * Maven Artifact interface. Notice that it mixes artifact definition concepts (groupId, artifactId, version)
     * with dependency information (version range, scope).
     */
    public interface Artifact extends Comparable<Artifact> {
    
        @Deprecated(since = "4.0.0")
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. compat/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(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. compat/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 {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            assertEquals("http://test.com/test.jar", artifact.getUrl());
            assertEquals("test-1.0.0.jar", artifact.getFileName());
            assertEquals(ArtifactType.UNKNOWN, artifact.getType());
        }
    
        public void test_Artifact_constructorWithoutUrl() {
            Artifact artifact = new Artifact("test", "1.0.0");
            assertEquals("test", artifact.getName());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.factory.ArtifactFactory;
    import org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException;
    import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
    import org.apache.maven.artifact.metadata.ResolutionGroup;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.LegacyLocalRepositoryManager;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 25K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                ComponentUtil.getThemeHelper().install(artifact);
                break;
            default:
                install(artifact);
                break;
            }
        }
    
        /**
         * Installs an artifact by downloading it from its URL.
         *
         * @param artifact the artifact to install
         * @throws PluginException if installation fails
         */
        protected void install(final Artifact artifact) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         * Artifact type name for a JAR file containing test classes. If the main artifact is placed on the class path
         * ({@value #JAR} or {@value #CLASSPATH_JAR} types), then the test artifact will also be placed on the class path.
         * Otherwise, if the main artifact is placed on the module path ({@value #JAR} or {@value #MODULAR_JAR} types),
         * then the test artifact will be added using {@code --patch-module} option.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top