Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for setArtifactId (0.27 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

        }
    
        @Test
        void testResolveParentThrowsUnresolvableModelExceptionWhenNotFound() throws Exception {
            final Parent parent = new Parent();
            parent.setGroupId("org.apache");
            parent.setArtifactId("apache");
            parent.setVersion("0");
    
            UnresolvableModelException e = assertThrows(
                    UnresolvableModelException.class,
                    () -> newModelResolver().resolveModel(parent),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java

                    null,
                    new DefaultArtifactHandler("ignore"));
            PluginDescriptor descriptor = new PluginDescriptor();
            descriptor.setGroupId("org.apache.maven.its.plugins");
            descriptor.setArtifactId("maven-it-plugin");
            descriptor.setVersion("0.1");
            List<String> errors = new ArrayList<>();
            mavenPluginValidator.validate(plugin, descriptor, errors);
            assertTrue(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilterTest.java

            Exclusion exclusion2 = new Exclusion();
            exclusion2.setGroupId("org.apache.maven");
            exclusion2.setArtifactId("maven-core");
    
            ExclusionArtifactFilter filter = new ExclusionArtifactFilter(Arrays.asList(exclusion1, exclusion2));
    
            assertFalse(filter.include(artifact), "Artifact should be excluded by multiple exclusions");
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtension.java

        /**
         * Set the artifact ID of the extension.
         *
         * @param artifactId a artifactId object.
         */
        public void setArtifactId(String artifactId) {
            this.artifactId = artifactId;
        } // -- void setArtifactId( String )
    
        /**
         * Set the class loading strategy: 'self-first' (the default),
         * 'parent-first' (loads classes from the parent, then from the
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java

            model.setGroupId("test.group");
            model.setArtifactId("test-artifact");
            model.setVersion("1.0.0");
    
            Build build = new Build();
            model.setBuild(build);
    
            // Add a test plugin
            Plugin originalPlugin = new Plugin();
            originalPlugin.setGroupId("org.apache.maven.plugins");
            originalPlugin.setArtifactId("maven-compiler-plugin");
            originalPlugin.setVersion("3.8.1");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jul 04 12:50:13 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            plugin.setGroupId(groupId);
            plugin.setArtifactId(artifactId);
            plugin.setVersion(version);
            return plugin;
        }
    
        private Extension createExtension(String groupId, String artifactId, String version) {
            Extension extension = new Extension();
            extension.setGroupId(groupId);
            extension.setArtifactId(artifactId);
            extension.setVersion(version);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/ExtensionResolutionException.java

                    cause);
            // Convert to old type
            CoreExtension oldExtension = new CoreExtension();
            oldExtension.setGroupId(extension.getGroupId());
            oldExtension.setArtifactId(extension.getArtifactId());
            oldExtension.setVersion(extension.getVersion());
            if (extension.getClassLoadingStrategy() != null) {
                oldExtension.setClassLoadingStrategy(extension.getClassLoadingStrategy());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            Parent parent = new Parent();
    
            parent.setGroupId("test-group");
            parent.setVersion("1000");
            parent.setArtifactId("test-artifact");
    
            Model model = new Model();
    
            model.setParent(parent);
            model.setArtifactId("real-artifact");
    
            MavenProject project = new MavenProject(model);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 28 09:44:37 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzerTest.java

            project.setGroupId("test");
            project.setArtifactId(artifactId);
            return project;
        }
    
        private Dependency toDependency(MavenProject mavenProject) {
            Dependency dependency = new Dependency();
            dependency.setGroupId(mavenProject.getGroupId());
            dependency.setArtifactId(mavenProject.getArtifactId());
            dependency.setVersion(mavenProject.getVersion());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultProjectDependencyGraphTest.java

            result.setGroupId("org.apache");
            result.setArtifactId("A");
            result.setVersion("1.2");
            return result;
        }
    
        static Dependency toDependency(MavenProject mavenProject) {
            final Dependency dependency = new Dependency();
            dependency.setArtifactId(mavenProject.getArtifactId());
            dependency.setGroupId(mavenProject.getGroupId());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top