Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,046 for artifact1 (0.12 sec)

  1. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. 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)
  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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/resources/repo/ut/simple/artifact/1.0/artifact-1.0.pom

      <parent>
        <groupId>ut.simple</groupId>
        <artifactId>parent</artifactId>
        <version>1.0</version>
      </parent>
    
      <artifactId>artifact</artifactId>
    
      <name>Simple Unit Test Artifact</name>
    
      <dependencies>
        <dependency>
          <groupId>ut.simple</groupId>
          <artifactId>dependency</artifactId>
        </dependency>
        <dependency>
          <groupId>ut.simple</groupId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. 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)
  7. compat/maven-model-builder/src/test/resources/poms/inheritance/tricky-flat-artifactId-urls-expected.xml

        <groupId>inheritance</groupId>
        <artifactId>parent</artifactId>
        <version>11-SNAPSHOT</version>
      </parent>
    
      <groupId>inheritance</groupId>
      <artifactId>child-artifact-id</artifactId>
      <version>11-SNAPSHOT</version>
      <name>Model urls inheritance test child</name>
      <description>Flat directory structure case: module = ../child-artifact-id + child directory path != child-artifact-id</description>
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. compat/maven-model-builder/src/test/resources/poms/validation/missing-plugin-dependency-artifactId.xml

    -->
    
    <project>
      <modelVersion>4.0.0</modelVersion>
      <artifactId>aid</artifactId>
      <groupId>gid</groupId>
      <version>1.0</version>
    
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-it-plugin</artifactId>
            <version>1.0</version>
            <dependencies>
              <dependency>
                <groupId>test</groupId>
                <!-- artifact id missing -->
                <version>2.0</version>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top