Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 226 for setVersion (0.1 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

            path.append(artifact.getArtifactId()).append('/');
    
            path.append(artifact.getBaseVersion()).append('/');
    
            path.append(artifact.getArtifactId()).append('-').append(artifact.getVersion());
    
            if (!artifact.getClassifier().isEmpty()) {
                path.append('-').append(artifact.getClassifier());
            }
    
            path.append('.').append(artifact.getExtension());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java

            addDom(dom, "groupId", plugin.getGroupId(), plugin.getLocation("groupId"));
            addDom(dom, "artifactId", plugin.getArtifactId(), plugin.getLocation("artifactId"));
            addDom(dom, "version", plugin.getVersion(), plugin.getLocation("version"));
    
            Xpp3Dom configuration = (Xpp3Dom) plugin.getConfiguration();
            if (configuration != null) {
                configuration = new Xpp3Dom(configuration);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

            // Only select snapshots that are unresolved (eg 1.0-SNAPSHOT, not 1.0-20050607.123456)
            if (artifact.isSnapshot() && artifact.getBaseVersion().equals(artifact.getVersion())) {
                try {
                    String version = resolveVersion(artifact, request);
                    artifact.updateVersion(version, request.getLocalRepository());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

            if (effectiveScope == null) {
                return null;
            }
    
            VersionRange versionRange = VersionRange.createFromVersionSpec(dependency.getVersion());
    
            Artifact dependencyArtifact = factory.createDependencyArtifact(
                    dependency.getGroupId(),
                    dependency.getArtifactId(),
                    versionRange,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

                List<Artifact> ids = new LinkedList<>();
                ResolutionNode node = this;
                while (node != null) {
                    Artifact artifact = node.getArtifact();
                    if (artifact.getVersion() == null) {
                        // set the recommended version
                        ArtifactVersion selected = artifact.getSelectedVersion();
                        // MNG-2123: null is a valid response to getSelectedVersion, don't
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

                    boolean aggregating,
                    RepositorySystemSession session) {
    
                groupId = project.getGroupId();
                artifactId = project.getArtifactId();
                version = project.getVersion();
    
                Set<String> deps = new LinkedHashSet<>();
                if (project.getDependencyArtifacts() != null) {
                    for (Artifact dep : project.getDependencyArtifacts()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                        ArtifactMetadata newMd = new ArtifactMetadata(
                                md.getGroupId(),
                                md.getArtifactId(),
                                edge.getVersion(),
                                md.getType(),
                                md.getScopeAsEnum(),
                                md.getClassifier(),
                                edge.getArtifactUri(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

                        .warning("' is unknown for plugin '")
                        .warning(mojoExecution.getArtifactId())
                        .warning(":")
                        .warning(mojoExecution.getVersion())
                        .warning(":")
                        .warning(mojoExecution.getGoal());
    
                if (mojoExecution.getExecutionId() != null) {
                    messageBuilder.warning(" (");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

            CacheKey(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session) {
                groupId = plugin.getGroupId();
                artifactId = plugin.getArtifactId();
                version = plugin.getVersion();
    
                workspace = RepositoryUtils.getWorkspace(session);
                localRepo = session.getLocalRepository();
                this.repositories = new ArrayList<>(repositories.size());
    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. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            Set<String> projectIds = new HashSet<>(projects.size() * 2);
    
            for (MavenProject p : projects) {
                String key = ArtifactUtils.key(p.getGroupId(), p.getArtifactId(), p.getVersion());
                projectIds.add(key);
            }
            return projectIds;
        }
    
        private Set<String> getIgnorableArtifacts(Iterable<Artifact> artifactIterable) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.4K bytes
    - Click Count (1)
Back to Top