Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 914 for finally (0.06 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java

        private String groupId;
        private String artifactId;
        private String version;
        private String packaging;
        private Parent parent;
        private final List<Dependency> dependencies = new ArrayList<>();
        private final List<Plugin> plugins = new ArrayList<>();
        private final List<Property> properties = new ArrayList<>();
    
        public static PomBuilder create() {
            return new PomBuilder();
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

    @Named("jdk-version")
    @Singleton
    @Deprecated(since = "4.0.0")
    public class JdkVersionProfileActivator implements ProfileActivator {
    
        private static final Pattern FILTER_1 = Pattern.compile("[^\\d._-]");
        private static final Pattern FILTER_2 = Pattern.compile("[._-]");
        private static final Pattern FILTER_3 = Pattern.compile("\\."); // used for split now
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java

     * }</pre>
     *
     * @see System#nanoTime()
     * @see Clock
     */
    public class MonotonicClock extends Clock {
        private static final MonotonicClock CLOCK = new MonotonicClock();
    
        private final long startNanos;
        private final Instant startInstant;
    
        /**
         * Private constructor to enforce singleton pattern.
         * Initializes the clock with the current system time and nanoTime.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java

                return realm;
            }
    
            public DependencyFilter getExtensionArtifactFilter() {
                return extensionArtifactFilter;
            }
    
            private final ClassRealm realm;
    
            private final DependencyFilter extensionArtifactFilter;
    
            CacheRecord(ClassRealm realm, DependencyFilter extensionArtifactFilter) {
                this.realm = realm;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

                collect(result, c.superclass)
            }
        }
    
        private List<String> filterChangesToReport(CtClass c, Map<String, CtClass> interfaces) {
            return interfaces.values().findAll { implementedDirectly(it, c) && addedInterfaceIsIncubatingOrInternal(it, c) }*.name.sort()
        }
    
        private boolean implementedDirectly(CtClass interf, CtClass c) {
            return c.interfaces.any { it.name == interf.name }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.8K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

        public static final String BUILD_ALLOW_EXPRESSION_IN_EFFECTIVE_PROJECT_VERSION =
                "maven.build.allowExpressionInEffectiveProjectVersion";
    
        private static final Pattern CI_FRIENDLY_EXPRESSION = Pattern.compile("\\$\\{(.+?)}");
        private static final Pattern EXPRESSION_PROJECT_NAME_PATTERN = Pattern.compile("\\$\\{(project.+?)}");
    
        private static final String ILLEGAL_FS_CHARS = "\\/:\"<>|?*";
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  7. api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java

         */
        static <T> T processObject(T object) {
            class ProcessorHolder {
                /**
                 * Cached processor instance for performance.
                 */
                private static final AtomicReference<ModelObjectProcessor> CACHED_PROCESSOR = new AtomicReference<>();
            }
    
            ModelObjectProcessor processor = ProcessorHolder.CACHED_PROCESSOR.get();
            if (processor == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

                        }
                    }
                }
            }
            if (metadataDownloads != null) {
                for (final MetadataDownload download : metadataDownloads) {
                    File remoteFile = new File(basedir, path(download.getMetadata()));
                    try {
                        Path dest = download.getPath();
    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)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

     * unusable POMs when using CI Friendly Versions.
     *
     * @since TBD
     */
    @Singleton
    @Named
    class PomInlinerTransformer extends TransformerSupport {
        private final Interpolator interpolator;
    
        @Inject
        PomInlinerTransformer(Interpolator interpolator) {
            this.interpolator = requireNonNull(interpolator);
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * A test which demonstrates maven's recursive inheritance where
     * a distinct value is taken from each parent contributing to
     * the final model of the project being assembled. There is no
     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top