Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for properties (0.15 sec)

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

        private String basedir;
    
        private Properties properties;
    
        public PluginParameterExpressionEvaluator(MavenSession session) {
            this(session, null);
        }
    
        public PluginParameterExpressionEvaluator(MavenSession session, MojoExecution mojoExecution) {
            this.session = session;
            this.mojoExecution = mojoExecution;
            this.properties = new Properties();
            this.project = session.getCurrentProject();
    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/main/java/org/apache/maven/execution/MavenSession.java

        }
    
        /**
         * Gets the user properties to use for interpolation and profile activation. The user properties have been
         * configured directly by the user on his discretion, e.g. via the {@code -Dkey=value} parameter on the command
         * line.
         *
         * @return The user properties, never {@code null}.
         */
        public Properties getUserProperties() {
            return request.getUserProperties();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            Object value = ee.evaluate(expr);
    
            assertEquals(expr, value);
        }
    
        @Test
        void testPOMPropertyExtractionWithMissingProject_WithDotNotation() throws Exception {
            String key = "m2.name";
            String checkValue = "value";
    
            Properties properties = new Properties();
            properties.setProperty(key, checkValue);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            Object value = ee.evaluate("${" + key + "}");
    
            assertEquals(checkValue, value);
        }
    
        @Test
        public void testValueExtractionFromSystemPropertiesWithMissingProject() throws Exception {
            String sysprop = "PPEET_sysprop1";
    
            Properties executionProperties = new Properties();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * <ul>
         *     <li>System properties (lowest precedence)</li>
         *     <li>Project properties (optional)</li>
         *     <li>User properties (highest precedence)</li>
         * </ul>
         * Note: Project properties contains properties injected from profiles, if applicable. Their precedence is
         * {@code profile > project}, hence active profile property may override project property.
         * <p>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

            private final Instant startTime;
            private final Map<String, String> properties;
    
            BuildTimestampValueSource(Instant startTime, Map<String, String> properties) {
                super(false);
                this.startTime = startTime;
                this.properties = properties;
            }
    
            @Override
            public Object getValue(String expression) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  7. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

            Path userHome = Paths.get(properties.get("user.home"));
            Path mavenUserHome = userHome.resolve(".m2");
            Path mavenSystemHome = properties.containsKey("maven.home")
                    ? Paths.get(properties.get("maven.home"))
                    : properties.containsKey("env.MAVEN_HOME") ? Paths.get(properties.get("env.MAVEN_HOME")) : null;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            return createMavenSession(pom, new Properties());
        }
    
        protected MavenSession createMavenSession(File pom, Properties executionProperties) throws Exception {
            return createMavenSession(pom, executionProperties, false);
        }
    
        protected MavenSession createMavenSession(File pom, Properties executionProperties, boolean includeModules)
                throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  9. maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

         */
        @Deprecated
        public Model interpolate(Model model, Map<String, ?> context, boolean strict) throws ModelInterpolationException {
            Properties props = new Properties();
            props.putAll(context);
    
            return interpolate(model, null, new DefaultProjectBuilderConfiguration().setExecutionProperties(props), true);
        }
    
    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)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

                activation.packaging(settingsActivation.getPackaging());
    
                profile.activation(activation.build());
            }
    
            profile.properties(settingsProfile.getProperties());
            profile.location("properties", toLocation(settingsProfile.getLocation("properties")));
    
            List<Repository> repos = settingsProfile.getRepositories();
            if (repos != null) {
                profile.repositories(repos.stream()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top