Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for mng (0.01 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            checkVersionsOrder(b, a); // classical
            checkVersionsOrder(b, c); // now b < c, but before MNG-5568, we had b > c
            checkVersionsOrder(a, c);
        }
    
        /**
         * Test <a href="https://jira.apache.org/jira/browse/MNG-6572">MNG-6572</a> optimization.
         */
        @Test
        void testMng6572() {
            String a = "20190126.230843"; // resembles a SNAPSHOT
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

        private static final List<String> TRANSLATED_PATH_EXPRESSIONS;
    
        static {
            List<String> translatedPrefixes = new ArrayList<>();
    
            // MNG-1927, MNG-2124, MNG-3355:
            // If the build section is present and the project directory is non-null, we should make
            // sure interpolation of the directories below uses translated paths.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                                project.setArtifactId(relocation.getArtifactId());
                            }
                            if (relocation.getVersion() != null) {
                                // note: see MNG-3454. This causes a problem, but fixing it may break more.
                                artifact.setVersionRange(VersionRange.createFromVersion(relocation.getVersion()));
                                relocatedArtifact = artifact;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            VersionRange versionRange;
            try {
                versionRange = VersionRange.createFromVersionSpec(d.getVersion());
            } catch (InvalidVersionSpecificationException e) {
                // MNG-5368: Log a message instead of returning 'null' silently.
                this.logger.error(
                        String.format(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                for (int j = 0; j < 2; j++) {
                                    Artifact resetArtifact = resetNodes[j].getArtifact();
    
                                    // MNG-2123: if the previous node was not a range, then it wouldn't have any available
                                    // versions. We just clobbered the selected version above. (why? I have no idea.)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            }
    
            ArtifactResolutionResult res = collect(createSet(new Object[] {a.artifact, b.artifact}), filter);
            Artifact artifact = getArtifact("d", res.getArtifacts());
            assertNotNull(artifact, "MNG-1895 Dependency was not added to resolution");
            assertEquals(expectedScope, artifact.getScope(), "Check artifactScope");
            assertEquals(expectedVersion, artifact.getVersion(), "Check version");
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

         * @throws AuthenticationException
         */
        private void connectWagon(Wagon wagon, ArtifactRepository repository)
                throws ConnectionException, AuthenticationException {
            // MNG-5509
            // See org.eclipse.aether.connector.wagon.WagonRepositoryConnector.connectWagon(Wagon)
            if (legacySupport.getRepositorySession() != null) {
                String userAgent = ConfigUtils.getString(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                request.setActiveProfileIds(profileManager.getExplicitlyActivatedIds());
                request.setInactiveProfileIds(profileManager.getExplicitlyDeactivatedIds());
            } else {
                /*
                 * MNG-4900: Hack to workaround deficiency of legacy API which makes it impossible for plugins to access the
                 * global profile manager which is required to build a POM like a CLI invocation does. Failure to consider
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    if (size() == 0) {
                        return 0; // 1-0 = 1- (normalize) = 1
                    }
                    // Compare the entire list of items with null - not just the first one, MNG-6964
                    for (Item i : this) {
                        int result = i.compareTo(null);
                        if (result != 0) {
                            return result;
                        }
                    }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top