Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 177 for getId (0.01 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java

            // load everything...
            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            System.out.println("Project " + project1.getId() + " " + project1);
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertFalse(set.isEmpty(), "No Artifacts");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

                    return "artifact request for " + request.getArtifact();
                } else if (data instanceof Plugin plugin) {
                    return "plugin request " + plugin.getId();
                }
                requestTrace = requestTrace.getParent();
            }
    
            return "n/a";
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

            if (name == null || name.length() <= 0) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("The property name is required to activate the profile " + profile.getId())
                        .setLocation(property.getLocation("")));
                return false;
            }
    
            String sysValue = context.getUserProperties().get(name);
            if (sysValue == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

        }
    
        public static RemoteRepository toRemoteRepository(Repository repository) {
            RemoteRepository.Builder builder =
                    new RemoteRepository.Builder(repository.getId(), repository.getLayout(), repository.getUrl());
            builder.setSnapshotPolicy(toRepositoryPolicy(repository.getSnapshots()));
            builder.setReleasePolicy(toRepositoryPolicy(repository.getReleases()));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

        private String id;
    
        private List<String> phases;
    
        private Map<String, LifecyclePhase> defaultPhases;
    
        private org.apache.maven.api.Lifecycle lifecycle;
    
        public String getId() {
            return id;
        }
    
        public org.apache.maven.api.Lifecycle getDelegate() {
            return lifecycle;
        }
    
        public List<String> getPhases() {
            return phases;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

        public static final ArtifactScopeEnum DEFAULT_SCOPE = compile;
    
        private int id;
    
        // Constructor
        ArtifactScopeEnum(int id) {
            this.id = id;
        }
    
        int getId() {
            return id;
        }
    
        /**
         * Helper method to simplify null processing
         *
         * @param scope a scope or {@code null}
         * @return the provided scope or DEFAULT_SCOPE
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  7. api/maven-api-model/src/main/mdo/maven.mdo

        }
    
        /**
         * @return a Map of executions field with {@code PluginExecution#getId()} as key
         * @see PluginExecution#getId()
         */
        public Map<String, PluginExecution> getExecutionsAsMap() {
            return getExecutions().stream().collect(Collectors.toMap(exec -> exec.getId(), exec -> exec));
        }
                ]]>
              </code>
            </codeSegment>
            <codeSegment>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 03:07:35 GMT 2025
    - 133.3K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

    public interface Artifact {
        /**
         * {@return a unique identifier for this artifact}.
         * The identifier is composed of groupId, artifactId, extension, classifier, and version.
         *
         * @see ArtifactCoordinates#getId()
         */
        @Nonnull
        default String key() {
            String c = getClassifier();
            return getGroupId()
                    + ':'
                    + getArtifactId()
                    + ':'
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

                hash = hash * 31 + Objects.hashCode(extensionFilter);
                this.hashCode = hash;
            }
    
            @Override
            public String toString() {
                return plugin.getId();
            }
    
            @Override
            public int hashCode() {
                return hashCode;
            }
    
            @Override
            public boolean equals(Object o) {
                if (o == this) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

                if (pluginExecutionId != null && !pluginExecutionId.isEmpty()) {
                    for (PluginExecution execution : plugin.getExecutions()) {
                        if (pluginExecutionId.equals(execution.getId())) {
                            setConfiguration(execution.getConfiguration());
                            break;
                        }
                    }
                } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
Back to Top