Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for setGroupId (0.06 sec)

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

            super();
        }
    
        @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,
    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. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

            super();
        }
    
        @Test
        public void testResolveParentThrowsUnresolvableModelExceptionWhenNotFound() throws Exception {
            final Parent parent = new Parent();
            parent.setGroupId("ut.simple");
            parent.setArtifactId("artifact");
            parent.setVersion("0");
    
            UnresolvableModelException e = assertThrows(
                    UnresolvableModelException.class,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java

                    "compile",
                    "jar",
                    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<>();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilterTest.java

            exclusion1.setArtifactId("*");
    
            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");
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

                MavenProject project = session.getProjects().get(0);
    
                Dependency dependency = new Dependency();
                dependency.setArtifactId(INJECTED_ARTIFACT_ID);
                dependency.setGroupId("foo");
                dependency.setVersion("1.2.3");
                dependency.setScope("system");
                try {
                    dependency.setSystemPath(new File(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java

            Model model = new Model();
            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");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jul 04 12:50:13 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtension.java

        /**
         * Set the group ID of the extension's artifact.
         *
         * @param groupId a groupId object.
         */
        public void setGroupId(String groupId) {
            this.groupId = groupId;
        } // -- void setGroupId( String )
    
        /**
         * Set the version of the extension.
         *
         * @param version a version object.
         */
        public void setVersion(String version) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

        }
    
        @Test
        void testPluginLoading() throws Exception {
            MavenSession session = createMavenSession(null);
            Plugin plugin = new Plugin();
            plugin.setGroupId("org.apache.maven.its.plugins");
            plugin.setArtifactId("maven-it-plugin");
            plugin.setVersion("0.1");
            PluginDescriptor pluginDescriptor = pluginManager.loadPlugin(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/version/DefaultPluginVersionRequest.java

            setGroupId(plugin.getGroupId());
            setArtifactId(plugin.getArtifactId());
    
            setRepositorySession(session);
    
            setRepositories(repositories);
        }
    
        @Override
        public String getGroupId() {
            return groupId;
        }
    
        @Override
        public DefaultPluginVersionRequest setGroupId(String groupId) {
            this.groupId = groupId;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

         */
        ModelData(ModelSource source, Model model, String groupId, String artifactId, String version) {
            this.source = source;
            this.model = model;
            setGroupId(groupId);
            setArtifactId(artifactId);
            setVersion(version);
        }
    
        public ModelSource getSource() {
            return source;
        }
    
        /**
         * Gets the model being wrapped.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top