Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for setArtifactId (0.18 sec)

  1. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 10K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

            Plugin plugin = new Plugin();
            plugin.setGroupId("org.apache.maven.test.MavenExecutionPlan");
            plugin.setArtifactId("stub-plugin-" + phaseName);
            descriptor.setPlugin(plugin);
            descriptor.setArtifactId("artifact." + phaseName);
            mojoDescriptor.setPluginDescriptor(descriptor);
            mojoDescriptor.setThreadSafe(threadSafe);
            return mojoDescriptor;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 20:57:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            String key = "${project.artifactId} with version: ${project.version}";
    
            MavenProject project = createDefaultProject();
            project.setArtifactId("test");
            project.setVersion("1");
    
            ExpressionEvaluator ee = createExpressionEvaluator(project, new Properties());
    
            Object value = ee.evaluate(key);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java

            if (build != null) {
                for (Extension extension : build.getExtensions()) {
                    Plugin plugin = new Plugin();
                    plugin.setGroupId(extension.getGroupId());
                    plugin.setArtifactId(extension.getArtifactId());
                    plugin.setVersion(extension.getVersion());
                    XmlNode configuration = extension.getDelegate().getConfiguration();
                    if (configuration != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 19:20:54 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  9. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/MavenPublication.java

        /**
         * Returns the artifactId for this publication.
         */
        String getArtifactId();
    
        /**
         * Sets the artifactId for this publication.
         */
        void setArtifactId(String artifactId);
    
        /**
         * Returns the version for this publication.
         */
        String getVersion();
    
        /**
         * Sets the version for this publication.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top