Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for SetGroupID (0.27 sec)

  1. maven-core/src/test/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilterTest.java

            exclusion.setGroupId("*");
            exclusion.setArtifactId("maven-core");
            ExclusionArtifactFilter filter = new ExclusionArtifactFilter(Collections.singletonList(exclusion));
    
            assertThat(filter.include(artifact), is(false));
        }
    
        @Test
        void testExcludeGroupIdWildcardNoMatch() {
            Exclusion exclusion = new Exclusion();
            exclusion.setGroupId("*");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Aug 29 15:25:58 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            /*
            Dependency dep1 = new Dependency();
            dep1.setGroupId( "test" );
            dep1.setArtifactId( "test-artifact" );
            dep1.setVersion( "1" );
            dep1.setType( "jar" );
    
            Exclusion exc = new Exclusion();
            exc.setGroupId( "test" );
            exc.setArtifactId( "test-artifact3" );
    
            dep1.addExclusion( exc );
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/version/DefaultPluginVersionRequest.java

            setGroupId(plugin.getGroupId());
            setArtifactId(plugin.getArtifactId());
    
            setRepositorySession(session);
    
            setRepositories(repositories);
        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public DefaultPluginVersionRequest setGroupId(String groupId) {
            this.groupId = groupId;
    
            return this;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 06:02:04 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/tasks/MavenPomFileGenerator.java

            Model model = new Model();
            model.setModelVersion(POM_VERSION);
    
            MavenPublicationCoordinates coordinates = pom.getCoordinates();
            model.setGroupId(coordinates.getGroupId().get());
            model.setArtifactId(coordinates.getArtifactId().get());
            model.setVersion(coordinates.getVersion().get());
    
            model.setPackaging(pom.getPackagingProperty().getOrNull());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            Plugin plugin = new Plugin();
            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);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  9. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                model.setModelVersion("4.0.0");
                model.setGroupId(groupId);
                model.setArtifactId(artifactId);
                model.setVersion(version);
                model.setBuild(new Build());
                project = new MavenProject(model);
            }
    
            public ProjectBuilder setGroupId(String groupId) {
                project.setGroupId(groupId);
                return this;
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top