Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for re (0.15 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            // TODO Copied from the DefaultInterpolator. We likely want to resurrect the PathTranslator or at least a
            // similar component for re-usage
            if (file != null) {
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                } else if (file.getPath().startsWith(File.separator)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            projects = new ProjectSorter(projects).getSortedProjects();
    
            assertEquals(parentProject, projects.get(0));
    
            // the order of these two is non-deterministic, based on when they're added to the reactor.
            assertThat(projects, hasItem(pluginProject));
            assertThat(projects, hasItem(pluginLevelDepProject));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                    .flatMap(Function.identity())
                    .collect(toSet());
        }
    
        /**
         * Check whether the required profiles were found in any of the projects we're building or the settings.
         * @param session the Maven session.
         * @param profileActivation the requested optional and required profiles.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

        private boolean isSpecificVersion(String version) {
            return !((version == null || version.isEmpty()) || version.startsWith("[") || version.startsWith("("));
        }
    
        // TODO !![jc; 28-jul-2005] check this; if we're using '-r' and there are aggregator tasks, this will result in
        // weirdness.
        public MavenProject getTopLevelProject() {
            return sortedProjects.stream()
                    .filter(MavenProject::isExecutionRoot)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            return interpolate(model, context, true);
        }
    
        /**
         * Serialize the inbound Model instance to a StringWriter, perform the regex replacement to resolve
         * POM expressions, then re-parse into the resolved Model instance.
         * <p>
         * <b>NOTE:</b> This will result in a different instance of Model being returned!!!
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 13.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

            // TODO Copied from the DefaultInterpolator. We likely want to resurrect the PathTranslator or at least a
            // similar component for re-usage
            if (file != null) {
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                } else if (file.getPath().startsWith(File.separator)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  7. maven-core/src/site/apt/offline-mode.apt

    ** Testing mojos
    
      This can be a problem if the tests are more than simple unit tests;
      that is, if they require configuration of a server process, and
      subsequent testing in-container.
    
      Since we're only going to concern ourselves with states where localhost is
      still active, we only need to worry about this case when the server container
      is <<not>> installed on localhost. This allows the popular pattern of starting
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

                    "<packaging>pom</packaging><properties><addedProperty>addedValue</addedProperty></properties>");
            Files.write(parent.toPath(), parentContent.getBytes(StandardCharsets.UTF_8));
            // re-build pom with modified parent
            ProjectBuildingResult result = projectBuilder.build(child, configuration);
            assertThat(result.getProject().getProperties(), hasKey((Object) "addedProperty"));
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    boolean canObtainExpectedTyp(Method method) { return method.getName().equals(methodName) && method.getParameterTypes().length == expectedNumberOfPara && !method.isSynthetic(); } /** * @param method The method from which to extract * @return The type we're looking for */ protected Class<?> expectedTypeFrom(Method method) { return method.getParameterTypes()[typedParameter]; } } org/hamcrest/internal/SelfDescribingValue.java org/hamcrest/internal/SelfDescribingValue.java package org.hamcrest.internal; import...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                    "Expected 'ProjectBuildingException' not thrown.");
            assertThat(e.getResults(), contains(projectBuildingResultWithProblemMessage("Version must be a constant")));
        }
    
        /**
         * Ensure that when re-reading a pom, it should not use the cached Model
         *
         * @throws Exception in case of issue
         */
        @Test
        void rereadPom_mng7063() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 15:04:04 GMT 2023
    - 16.5K bytes
    - Viewed (0)
Back to top