Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 269 for getVersion (0.33 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            if (empty(groupId)) {
                throw new InvalidArtifactRTException(
                        groupId, artifactId, getVersion(), type, "The groupId cannot be empty.");
            }
    
            if (artifactId == null) {
                throw new InvalidArtifactRTException(
                        groupId, artifactId, getVersion(), type, "The artifactId cannot be empty.");
            }
    
            if (type == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Feb 09 19:20:54 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifact.java

        }
    
        @Nonnull
        @Override
        public String getArtifactId() {
            return artifact.getArtifactId();
        }
    
        @Nonnull
        @Override
        public Version getVersion() {
            return session.parseVersion(artifact.getVersion());
        }
    
        @Override
        public Version getBaseVersion() {
            return session.parseVersion(artifact.getBaseVersion());
        }
    
        @Nonnull
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                    for (Extension ext : extensions) {
                        String version;
                        if (ext.getVersion() == null || ext.getVersion().isEmpty()) {
                            version = "RELEASE";
                        } else {
                            version = ext.getVersion();
                        }
    
                        Artifact artifact = repositorySystem.createArtifact(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                    if (equals(existing.getVersion(), dependency.getVersion())) {
                        msg = "duplicate declaration of version " + Objects.toString(dependency.getVersion(), "(?)");
                    } else {
                        msg = "version " + Objects.toString(existing.getVersion(), "(?)") + " vs "
                                + Objects.toString(dependency.getVersion(), "(?)");
                    }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            }
        }
    
        public void setVersion(String version) {
            getModel().setVersion(version);
        }
    
        public String getVersion() {
            String version = getModel().getVersion();
    
            if ((version == null) && (getModel().getParent() != null)) {
                version = getModel().getParent().getVersion();
            }
    
            return version;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadata.java

            return metadata.getGroupId();
        }
    
        @Override
        public String getArtifactId() {
            return metadata.getArtifactId();
        }
    
        @Override
        public String getVersion() {
            return metadata.getVersion();
        }
    
        @Override
        public Nature getNature() {
            return Nature.SNAPSHOT;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

            // TODO Should this be changed for MNG-6754 too?
            versioning.updateTimestamp();
            versioning.addVersion(artifact.getVersion());
    
            if (artifact.isRelease()) {
                versioning.setRelease(artifact.getVersion());
            }
    
            return new ArtifactRepositoryMetadata(artifact, versioning);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

            return Objects.equals(a1.getGroupId(), a2.getGroupId())
                    && Objects.equals(a1.getArtifactId(), a2.getArtifactId())
                    && Objects.equals(a1.getVersion(), a2.getVersion());
        }
    
        private Map<String, String> toProperties(Map<String, String> dominant, Map<String, String> recessive) {
            Map<String, String> props = new HashMap<>();
            if (recessive != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

            final Map<String, String> item = new HashMap<>();
            item.put("type", artifact.getType().getId());
            item.put("id", artifact.getName() + ":" + artifact.getVersion());
            item.put("name", artifact.getName());
            item.put("version", artifact.getVersion());
            item.put("url", artifact.getUrl());
            return item;
        }
    
        private Artifact getArtifactFromInstallForm(final InstallForm form) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionRangeResolver.java

            } catch (InvalidVersionSpecificationException e) {
                result.addException(e);
                throw new VersionRangeResolutionException(result);
            }
    
            result.setVersionConstraint(versionConstraint);
    
            if (versionConstraint.getRange() == null) {
                result.addVersion(versionConstraint.getVersion());
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top