Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 177 for getId (0.01 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/NoPluginFoundForPrefixException.java

            StringBuilder repos = new StringBuilder("[");
    
            if (localRepository != null) {
                repos.append(localRepository.getId())
                        .append(" (")
                        .append(localRepository.getBasedir())
                        .append(")");
            }
    
            if (remoteRepositories != null && !remoteRepositories.isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            assertTrue(project.getActiveProfiles().stream().anyMatch(p -> "profile1".equals(p.getId())));
            assertTrue(project.getActiveProfiles().stream().noneMatch(p -> "profile2".equals(p.getId())));
            assertTrue(project.getActiveProfiles().stream().noneMatch(p -> "active-by-default".equals(p.getId())));
        }
    
        @Test
        void testActivatedProfileByDefaultIsResolved() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

        /**
         * Get the ID of this lifecycle, for identification in the mojo
         * descriptor.
         *
         * @return String
         */
        public String getId() {
            return this.id;
        } // -- String getId()
    
        /**
         * Method getPhases.
         *
         * @return List
         */
        public java.util.List<Phase> getPhases() {
            if (this.phases == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                        logger.warn(
                                "Duplicated lifecycle phase {}. Defined in {} but also in {}",
                                phase,
                                original.getId(),
                                lifecycle.getId());
                    }
                }
                if (lifecycle.getDelegate() != null) {
                    for (org.apache.maven.api.Lifecycle.Alias alias :
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                .getDelegate()
                                .getDistributionManagement()
                                .getRepository();
                        if (r.getId() != null
                                && !r.getId().isEmpty()
                                && r.getUrl() != null
                                && !r.getUrl().isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                    if (!minProfileIds.add(profile.getId())) {
                        addViolation(
                                problems,
                                Severity.WARNING,
                                Version.BASE,
                                "profiles.profile.id",
                                null,
                                "Duplicate activation for profile " + profile.getId(),
                                profile);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                        try {
                            wagonManager.getArtifactMetadata(metadata, repository, file, policy.getChecksumPolicy());
                        } catch (ResourceDoesNotExistException e) {
                            getLogger().debug(metadata + " could not be found on repository: " + repository.getId());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

            final List<T> identifiables = new ArrayList<>(recessive.size());
    
            for (T identifiable : recessive) {
                if (!dominantById.containsKey(identifiable.getId())) {
                    identifiable.setSourceLevel(recessiveSourceLevel);
    
                    identifiables.add(identifiable);
                }
            }
    
            dominant.addAll(0, identifiables);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulatorTest.java

            settings.addProfile(p);
            settings.addActiveProfile(p.getId());
    
            testee.populateFromSettings(request, settings);
    
            List<ArtifactRepository> repositories = request.getPluginArtifactRepositories();
            assertEquals(1, repositories.size());
            assertEquals(r.getId(), repositories.get(0).getId());
            assertEquals(r.getUrl(), repositories.get(0).getUrl());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            if (this == object) {
                return true;
            }
    
            return object instanceof PluginDescriptor pluginDescriptor && getId().equals(pluginDescriptor.getId());
        }
    
        @Override
        public int hashCode() {
            return 10 + getId().hashCode();
        }
    
        public MojoDescriptor getMojo(String goal) {
            if (getMojos() == null) {
                return null; // no mojo in this POM
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
Back to Top