Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for getGroupId (0.12 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                    modified.set(parent.withVersion(newVersion));
                }
    
                return resolveModel(parent.getGroupId(), parent.getArtifactId(), newVersion);
            } catch (final VersionRangeResolutionException e) {
                throw new UnresolvableModelException(
                        e.getMessage(), parent.getGroupId(), parent.getArtifactId(), parent.getVersion(), e);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

            }
    
            return null;
        }
    
        public List<String> findVersions(Artifact artifact) {
            List<String> versions = getProjects()
                    .getOrDefault(artifact.getGroupId(), Collections.emptyMap())
                    .getOrDefault(artifact.getArtifactId(), Collections.emptyMap())
                    .values()
                    .stream()
                    .map(MavenProject::getVersion)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        // ----------------------------------------------------------------------
    
        @Override
        public String toString() {
            StringBuilder sb = new StringBuilder();
            if (getGroupId() != null) {
                sb.append(getGroupId());
                sb.append(':');
            }
            appendArtifactTypeClassifierString(sb);
            sb.append(':');
            if (getBaseVersionInternal() != 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)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

         */
        static boolean isInScope(Artifact artifact, Artifact nodeArtifact) {
            return Objects.equals(artifact.getGroupId(), nodeArtifact.getGroupId())
                    && Objects.equals(artifact.getArtifactId(), nodeArtifact.getArtifactId())
                    && Objects.equals(artifact.getVersion(), nodeArtifact.getVersion());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                        }
    
                        if (relocation != null) {
                            if (relocation.getGroupId() != null) {
                                artifact.setGroupId(relocation.getGroupId());
                                relocatedArtifact = artifact;
                                project.setGroupId(relocation.getGroupId());
                            }
                            if (relocation.getArtifactId() != 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)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

        }
    
        private CoreExtensionEntry createExtension(CoreExtension extension, List<Artifact> artifacts) throws Exception {
            String realmId = "coreExtension>" + extension.getGroupId() + ":" + extension.getArtifactId() + ":"
                    + extension.getVersion();
            final ClassRealm realm = classWorld.newRealm(realmId, null);
            Set<String> providedArtifacts = Collections.emptySet();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            if (RELEASE.equals(version)) {
                metadata = new DefaultMetadata(
                        artifact.getGroupId(), artifact.getArtifactId(), MAVEN_METADATA_XML, Metadata.Nature.RELEASE);
            } else if (LATEST.equals(version)) {
                metadata = new DefaultMetadata(
                        artifact.getGroupId(),
                        artifact.getArtifactId(),
                        MAVEN_METADATA_XML,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            // prepare
            File basedir = new File("").getAbsoluteFile();
            ExecutionEvent event = mock(ExecutionEvent.class);
            MavenProject project = mock(MavenProject.class);
            when(project.getGroupId()).thenReturn("org.apache.maven");
            when(project.getArtifactId()).thenReturn("maven-embedder");
            when(project.getPackaging()).thenReturn("jar");
            when(project.getName()).thenReturn("Apache Maven Embedder");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

            return (extension ? "extension>" : "plugin>") + plugin.getGroupId() + ":" + plugin.getArtifactId() + ":"
                    + version;
        }
    
        private static String getId(Artifact artifact) {
            return getId(
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getExtension(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

             * plugins only check for null, so be sure to nullify an empty classifier.
             */
            org.apache.maven.artifact.Artifact result = new org.apache.maven.artifact.DefaultArtifact(
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    null,
                    artifact.getProperty(ArtifactProperties.TYPE, artifact.getExtension()),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top