Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 199 for getArtifactId (0.3 sec)

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

         */
        @Nonnull
        String getGroupId();
    
        /**
         * {@return the identifier of the artifact}.
         *
         * @see ArtifactCoordinates#getArtifactId()
         */
        @Nonnull
        String getArtifactId();
    
        /**
         * {@return the version of the artifact}.
         * Contrarily to {@link ArtifactCoordinates},
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

        protected static Metadata createMetadata(Artifact artifact, Versioning versioning) {
            Metadata metadata = new Metadata();
            metadata.setGroupId(artifact.getGroupId());
            metadata.setArtifactId(artifact.getArtifactId());
            metadata.setVersion(artifact.getVersion());
            metadata.setVersioning(versioning);
            return metadata;
        }
    
        protected static Versioning createVersioning(Snapshot snapshot) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

        /**
         * Gets the effective artifact identifier of the model.
         *
         * @return The effective artifact identifier of the model or an empty string if unknown, never {@code null}.
         */
        public String getArtifactId() {
            return (artifactId != null) ? artifactId : "";
        }
    
        /**
         * Sets the effective artifact identifier of the model.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

            Artifact artifact = mock(Artifact.class);
            when(artifact.getFile()).thenReturn(new File(new File("local/repository"), "some/path"));
            when(artifact.getGroupId()).thenReturn("group1");
            when(artifact.getArtifactId()).thenReturn("artifact1");
            when(artifact.getExtension()).thenReturn("ext");
            when(artifact.getClassifier()).thenReturn("classifier1");
            when(artifact.getVersion()).thenReturn("1");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/CycleDetectedInPluginGraphException.java

        private final Plugin plugin;
    
        public CycleDetectedInPluginGraphException(Plugin plugin, CycleDetectedInComponentGraphException e) {
            super("A cycle was detected in the component graph of the plugin: " + plugin.getArtifactId());
    
            this.plugin = plugin;
        }
    
        public Plugin getPlugin() {
            return plugin;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginNotFoundException.java

            super(
                    "Plugin could not be found - check that the goal name is correct: " + e.getMessage(),
                    e.getGroupId(),
                    e.getArtifactId(),
                    e.getVersion(),
                    "maven-plugin",
                    null,
                    e.getRemoteRepositories(),
                    null,
                    e.getCause());
            this.plugin = plugin;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanLogger.java

            if (step.project == currentProject) {
                return step.name;
            } else {
                String artifactId = step.project.getArtifactId();
                if (duplicateIds.contains(artifactId)) {
                    return step.name + "(" + step.project.getGroupId() + ":" + artifactId + ")";
                } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/MojoExecution.java

            }
    
            return plugin.getGroupId();
        }
    
        public String getArtifactId() {
            if (mojoDescriptor != null) {
                return mojoDescriptor.getPluginDescriptor().getArtifactId();
            }
    
            return plugin.getArtifactId();
        }
    
        public String getVersion() {
            if (mojoDescriptor != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

        @Test
        void testBuildReader() throws Exception {
            PluginDescriptor pd = build("/plugin.xml");
    
            assertEquals("org.apache.maven.plugins", pd.getGroupId());
            assertEquals("maven-jar-plugin", pd.getArtifactId());
            assertEquals("2.3-SNAPSHOT", pd.getVersion());
            assertEquals("jar", pd.getGoalPrefix());
            assertEquals("plugin-description", pd.getDescription());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

            }
    
            Artifact artifact = new DefaultArtifact(
                    dependency.getGroupId(),
                    dependency.getArtifactId(),
                    dependency.getClassifier(),
                    null,
                    dependency.getVersion(),
                    props,
                    stereotype);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Mar 20 22:29:18 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top