Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for addValueSource (0.17 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java

                    }
                    return null;
                }
            });
    
            interpolator.addValueSource(new MapBasedValueSource(context.getProjectProperties()));
    
            interpolator.addValueSource(new MapBasedValueSource(context.getUserProperties()));
    
            interpolator.addValueSource(new MapBasedValueSource(context.getSystemProperties()));
    
            String absolutePath = interpolator.interpolate(path, "");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

                RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
                try {
                    interpolator.addValueSource(new EnvarBasedValueSource());
                } catch (IOException e) {
                    // ignored
                }
                interpolator.addValueSource(new MapBasedValueSource(System.getProperties()));
    
                try {
                    if (fileString != null && !fileString.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

            final StringSearchInterpolator interpolator = new StringSearchInterpolator();
            interpolator.setCacheAnswers(true);
            for (ValueSource vs : valueSources) {
                interpolator.addValueSource(vs);
            }
            for (InterpolationPostProcessor postProcessor : postProcessors) {
                interpolator.addPostProcessor(postProcessor);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

        @Nonnull
        public static BasicInterpolator createInterpolator(Collection<Map<String, String>> properties) {
            StringSearchInterpolator interpolator = new StringSearchInterpolator();
            interpolator.addValueSource(new AbstractValueSource(false) {
                @Override
                public Object getValue(String expression) {
                    for (Map<String, String> props : properties) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                StringSearchInterpolator ssi = new StringSearchInterpolator();
                ssi.addValueSource(new MapBasedValueSource(request.getUserProperties()));
    
                ssi.addValueSource(new MapBasedValueSource(model.getProperties()));
    
                ssi.addValueSource(new MapBasedValueSource(request.getSystemProperties()));
    
                try {
                    String interpolated =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            }
    
            Logger logger = getLogger();
    
            String result = src;
            synchronized (this) {
                for (ValueSource vs : valueSources) {
                    interpolator.addValueSource(vs);
                }
    
                for (InterpolationPostProcessor postProcessor : postProcessors) {
                    interpolator.addPostProcessor(postProcessor);
                }
    
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top