Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 582 for artifactId2 (0.07 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                groupId = getModel().getParent().getGroupId();
            }
    
            return groupId;
        }
    
        public void setArtifactId(String artifactId) {
            getModel().setArtifactId(artifactId);
        }
    
        public String getArtifactId() {
            return getModel().getArtifactId();
        }
    
        public void setName(String name) {
            getModel().setName(name);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            MavenProject project = new MavenProject(model);
    
            assertEquals("test-group", project.getGroupId(), "groupId proto-inheritance failed.");
            assertEquals("real-artifact", project.getArtifactId(), "artifactId is masked.");
            assertEquals("1000", project.getVersion(), "version proto-inheritance failed.");
    
            // draw the NPE.
            project.getId();
        }
    
        @Test
        void testEmptyConstructor() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 28 09:44:37 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                default ->
                    throw new IllegalArgumentException("Bad artifact coordinates " + coords
                            + ", expected format is <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>");
            };
            return s;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

                    coreExtension.setGroupId(interpolatedTrimmed(parser.nextText(), "groupId"));
                } else if (checkFieldWithDuplicate(parser, "artifactId", null, parsed)) {
                    coreExtension.setArtifactId(interpolatedTrimmed(parser.nextText(), "artifactId"));
                } else if (checkFieldWithDuplicate(parser, "version", null, parsed)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        }
    
        private MavenProject createMavenProject(String groupId, String artifactId) {
            MavenProject project = new MavenProject();
            project.setGroupId(groupId);
            project.setArtifactId(artifactId);
            return project;
        }
    
        static String stripAnsiCodes(String msg) {
            return msg.replaceAll("\u001b\\[[;\\d]*[ -/]*[@-~]", "");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

         *   where multiple modules in the reactor have the same artifactId.
         * <p>
         * {@code -rf :artifactId} will pick up the first module which matches, but when multiple modules in the reactor
         *   have the same artifactId, effective failed module might be later in build reactor.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                    + "<modelVersion>4.0.0</modelVersion>"
                    + "<groupId>"
                    + artifact.getGroupId() + "</groupId>" + "<artifactId>"
                    + artifact.getArtifactId() + "</artifactId>" + "<version>"
                    + artifact.getBaseVersion() + "</version>" + "<packaging>"
                    + artifact.getType() + "</packaging>" + "</project>";
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                 * base URL inheritance on the module directory names as this information is unavailable for POMs in the
                 * repository. In other words, modules where artifactId != moduleDirName will see different effective URLs
                 * depending on how the model was constructed (from filesystem or from repository).
                 */
                if (child.getProjectDirectory() != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                 * object instead of a Plugin as this makes no sense.
                 */
                Plugin plugin = Plugin.newBuilder()
                        .groupId(interpolator.apply(extension.getGroupId()))
                        .artifactId(interpolator.apply(extension.getArtifactId()))
                        .version(interpolator.apply(extension.getVersion()))
                        .build();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            ProjectBuildingResultWithProblemMessageAssert.assertThat(e.getResults().get(0))
                    .hasProblemMessage(
                            "'dependencies.dependency.version' for groupId='org.apache.maven.its', artifactId='a', type='jar' is missing");
            ProjectBuildingResultWithLocationAssert.assertThat(e.getResults().get(0))
                    .hasLocation(5, 9);
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top