Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for SetGroupID (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. maven-core/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: Fri Apr 12 10:50:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

            Versioning versioning = new Versioning();
            versioning.setSnapshot(snapshot);
    
            Metadata metadata = new Metadata();
            metadata.setVersioning(versioning);
            metadata.setGroupId(artifact.getGroupId());
            metadata.setArtifactId(artifact.getArtifactId());
            metadata.setVersion(artifact.getBaseVersion());
            metadata.setModelVersion("1.1.0");
            return metadata;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 10:10:21 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        //
        // ----------------------------------------------------------------------
    
        public PluginDescriptor() {}
    
        public PluginDescriptor(PluginDescriptor original) {
            this.setGroupId(original.getGroupId());
            this.setArtifactId(original.getArtifactId());
            this.setVersion(original.getVersion());
            this.setGoalPrefix(original.getGoalPrefix());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Apr 14 17:14:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

            this.artifact = artifact;
        }
    
        private static Metadata createRepositoryMetadata(Artifact artifact) {
            Metadata metadata = new Metadata();
            metadata.setGroupId(artifact.getGroupId());
            metadata.setArtifactId(artifact.getArtifactId());
    
            Versioning versioning = new Versioning();
            versioning.addVersion(artifact.getBaseVersion());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 10:10:21 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/plugins/MavenPluginPublishPlugin.java

            publication.setAlias(true);
            publication.setArtifactId(pluginId + PLUGIN_MARKER_SUFFIX);
            publication.setGroupId(pluginId);
    
            Provider<String> groupProvider = getProviderFactory().provider(coordinates::getGroupId);
            Provider<String> artifactIdProvider = getProviderFactory().provider(coordinates::getArtifactId);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:42:59 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            // merge implicitly assumes that merge is only called on the same GAV and does not perform any validation here!
            Metadata source = new Metadata();
            source.setArtifactId("source-artifact");
            source.setGroupId("source-group");
            source.setVersion("2.0");
            assertFalse(target.merge(source));
            assertEquals("myArtifact", target.getArtifactId());
            assertEquals("myGroup", target.getGroupId());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

                plugins = Collections.emptySet();
            }
    
            return plugins;
        }
    
        private Plugin newPlugin(String artifactId, String... goals) {
            Plugin plugin = new Plugin();
    
            plugin.setGroupId("org.apache.maven.plugins");
            plugin.setArtifactId(artifactId);
    
            for (String goal : goals) {
                PluginExecution pluginExecution = new PluginExecution();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top