Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 157 for setVersion (0.3 sec)

  1. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            PluginDescriptor pd = build("/plugin.xml");
    
            assertEquals("org.apache.maven.plugins", pd.getGroupId());
            assertEquals("maven-jar-plugin", pd.getArtifactId());
            assertEquals("2.3-SNAPSHOT", pd.getVersion());
            assertEquals("jar", pd.getGoalPrefix());
            assertEquals("plugin-description", pd.getDescription());
            assertFalse(pd.isIsolatedRealm());
            assertTrue(pd.isInheritedByDefault());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            assertCollectorState(0, 0, 0, collector);
    
            assertEquals("3.8.1", (out.getDependencies().get(0)).getVersion());
        }
    
        @Test
        public void testShouldNotInterpolateDependencyVersionWithInvalidReference() throws Exception {
            Model model = Model.newBuilder()
                    .version("3.8.1")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

        }
    
        private static String getKey(Model model) {
            return "project>" + model.getGroupId() + ":" + model.getArtifactId() + ":" + model.getVersion();
        }
    
        public ClassRealm createExtensionRealm(Plugin plugin, List<Artifact> artifacts) {
            Objects.requireNonNull(plugin, "plugin cannot be null");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                            main.getGroupId(),
                            main.getArtifactId(),
                            BUILD_POM_CLASSIFIER,
                            main.getExtension(),
                            main.getVersion(),
                            main.getProperties(),
                            main.getFile()));
                }
                for (Artifact consumer : consumers) {
                    result.remove(consumer);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/classrealm/ArtifactClassRealmConstituent.java

        }
    
        public String getType() {
            return artifact.getExtension();
        }
    
        public String getClassifier() {
            return artifact.getClassifier();
        }
    
        public String getVersion() {
            return artifact.getBaseVersion();
        }
    
        public File getFile() {
            return artifact.getFile();
        }
    
        @Override
        public String toString() {
            return artifact.toString();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                    .groupId(nonNull(dependency, "dependency").getGroupId())
                    .artifactId(dependency.getArtifactId())
                    .version(dependency.getVersion().asString())
                    .classifier(dependency.getClassifier())
                    .extension(dependency.getExtension())
                    .type(dependency.getType().id())
                    .scope(dependency.getScope().id())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java

        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public String getArtifactId() {
            return artifactId;
        }
    
        public String getVersion() {
            return version;
        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverResult.java

    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionResolverResult {
    
        @Nonnull
        List<Exception> getExceptions();
    
        @Nonnull
        Version getVersion();
    
        @Nonnull
        Optional<Repository> getRepository();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/VersionNotFoundException.java

                String projectId, Dependency dependency, File pomFile, InvalidVersionSpecificationException cause) {
            super(
                    projectId + ", " + formatLocationInPom(dependency) + " " + dependency.getVersion() + ", pom file "
                            + pomFile,
                    cause);
    
            this.projectId = projectId;
    
            this.pomFile = pomFile;
    
            this.cause = cause;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            for (MavenProject p : projectsInRequestScope) {
                String projectKey = ArtifactUtils.key(p.getGroupId(), p.getArtifactId(), p.getVersion());
    
                projectsMap.put(projectKey, p);
            }
    
            for (MavenProject project : projects) {
                // MNG-1911 / MNG-5572: Building plugins with extensions cannot be part of reactor
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top