Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for setArtifactId (0.15 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                model.setArtifactId(artifactId);
                model.setVersion(version);
                model.setBuild(new Build());
                project = new MavenProject(model);
            }
    
            public ProjectBuilder setGroupId(String groupId) {
                project.setGroupId(groupId);
                return this;
            }
    
            public ProjectBuilder setArtifactId(String artifactId) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

            try {
                PluginPrefixResult result = pluginPrefixResolver.resolve(request);
    
                Plugin plugin = new Plugin();
                plugin.setGroupId(result.getGroupId());
                plugin.setArtifactId(result.getArtifactId());
    
                return plugin;
            } catch (NoPluginFoundForPrefixException e) {
                return null;
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. compat/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());
            this.setInheritedByDefault(original.isInheritedByDefault());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

        void setUp() {
            Dependency dependency1 = new Dependency();
            dependency1.setArtifactId("dep1");
            Dependency dependency2 = new Dependency();
            dependency2.setArtifactId("dep2");
    
            project = new Project();
            project.setModelVersion("4.0.0");
            project.setGroupId("org.apache.maven");
            project.setArtifactId("maven-core");
            project.setName("Maven");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

        void mergeDifferentGAV() throws Exception {
            // 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());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            PluginDescriptor pluginDescriptor = new PluginDescriptor();
    
            pluginDescriptor.setSource(source);
            pluginDescriptor.setGroupId(extractGroupId(c));
            pluginDescriptor.setArtifactId(extractArtifactId(c));
            pluginDescriptor.setVersion(extractVersion(c));
            pluginDescriptor.setGoalPrefix(extractGoalPrefix(c));
    
            pluginDescriptor.setName(extractName(c));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                            }
                            if (relocation.getArtifactId() != null) {
                                artifact.setArtifactId(relocation.getArtifactId());
                                relocatedArtifact = artifact;
                                project.setArtifactId(relocation.getArtifactId());
                            }
                            if (relocation.getVersion() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            setBaseVersionInternal(version);
        }
    
        @Override
        public void setGroupId(String groupId) {
            this.groupId = groupId;
        }
    
        @Override
        public void setArtifactId(String artifactId) {
            this.artifactId = artifactId;
        }
    
        @Override
        public boolean isSnapshot() {
            return getBaseVersion() != null
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. api/maven-api-metadata/src/main/mdo/metadata.mdo

                        break;
                    }
                }
    
                if ( !found )
                {
                    Plugin mappedPlugin = new Plugin();
    
                    mappedPlugin.setArtifactId( plugin.getArtifactId() );
    
                    mappedPlugin.setPrefix( plugin.getPrefix() );
    
                    mappedPlugin.setName( plugin.getName() );
    
                    addPlugin( mappedPlugin );
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. 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]*[ -/]*[@-~]", "");
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top