Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addPlugin (0.06 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java

            if (!found) {
                Plugin plugin = new Plugin();
                plugin.setPrefix(goalPrefix);
                plugin.setArtifactId(artifactId);
                plugin.setName(name);
    
                getMetadata().addPlugin(plugin);
            }
        }
    
        public Object getKey() {
            return groupId;
        }
    
        public boolean isSnapshot() {
            return false;
        }
    
        public ArtifactRepository getRepository() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                }
    
                project.getDependencies().add(d);
    
                return this;
            }
    
            // Plugins
            //
            public ProjectBuilder addPlugin(Plugin plugin) {
                project.getBuildPlugins().add(plugin);
                return this;
            }
    
            public MavenProject get() {
                return project;
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top