Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 300 for getVersion (0.12 sec)

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

                            relocation.getGroupId(),
                            relocation.getArtifactId(),
                            null,
                            null,
                            relocation.getVersion(),
                            relocation.getMessage());
                    LOGGER.debug(
                            "The artifact {} has been relocated to {}: {}",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. 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)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            String realmId = "coreExtension>" + extension.getGroupId() + ":" + extension.getArtifactId() + ":"
                    + extension.getVersion();
            final ClassRealm realm = classWorld.newRealm(realmId, null);
            Set<String> providedArtifacts = Collections.emptySet();
            String classLoadingStrategy = extension.getClassLoadingStrategy();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        String SCOPE_SYSTEM = "system";
    
        String SCOPE_IMPORT = "import"; // Used to import dependencyManagement dependencies
    
        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        void setVersion(String version);
    
        String getScope();
    
        String getType();
    
        String getClassifier();
    
        boolean hasClassifier();
    
        File getFile();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestMavenWorkspaceReader.java

                    && ARTIFACT_ID.equals(artifact.getArtifactId())
                    && VERSION.equals(artifact.getVersion())) {
                Model m = new Model();
                m.setArtifactId(ARTIFACT_ID);
                m.setGroupId(GROUP_ID);
                m.setVersion(VERSION);
                Repository repository = new Repository();
                repository.setId(REPO_ID);
                repository.setUrl(REPO_URL);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    }
                }
    
                artifact.selectVersion(result.getArtifact().getVersion());
                artifact.setFile(result.getArtifact().getFile());
                artifact.setResolved(true);
    
                if (artifact.isSnapshot()) {
                    Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion());
                    if (matcher.matches()) {
                        Snapshot snapshot = new Snapshot();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top