Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 163 for getProperty (0.15 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

            assertFalse(result.hasExceptions(), result.getExceptions().toString());
    
            MavenProject project = result.getProject();
    
            assertEquals("bar", project.getProperties().getProperty("foo"));
    
            ArrayList<Artifact> artifacts = new ArrayList<>(project.getArtifacts());
    
            assertEquals(1, artifacts.size());
            assertEquals(INJECTED_ARTIFACT_ID, artifacts.get(0).getArtifactId());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java

            UnaryOperator<String> callback = v -> {
                String r = request.getUserProperties().getProperty(v);
                if (r == null) {
                    r = request.getSystemProperties().getProperty(v);
                }
                return r != null ? r : v;
            };
            return v -> interpolator.interpolate(v, callback);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java

        public MavenBuildTimestamp(Date time) {
            this(time, DEFAULT_BUILD_TIMESTAMP_FORMAT);
        }
    
        public MavenBuildTimestamp(Date time, Properties properties) {
            this(time, properties != null ? properties.getProperty(BUILD_TIMESTAMP_FORMAT_PROPERTY) : null);
        }
    
        public MavenBuildTimestamp(Date time, String timestampFormat) {
            if (timestampFormat == null) {
                timestampFormat = DEFAULT_BUILD_TIMESTAMP_FORMAT;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

        for (path in fileSystem.list(directory)) {
          deployFile(path)
        }
      }
    
      private fun RepositoryPlugin.deployClassPath() {
        val classpath = System.getProperty("java.class.path")
        val entries =
          classpath
            .split(File.pathSeparator.toRegex())
            .dropLastWhile { it.isEmpty() }
            .toTypedArray()
        for (classPathEntry in entries) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 5K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            String sysprop = "PPEET_sysprop1";
    
            Properties executionProperties = new Properties();
    
            if (executionProperties.getProperty(sysprop) == null) {
                executionProperties.setProperty(sysprop, "value");
            }
    
            ExpressionEvaluator ee = createExpressionEvaluator(null, executionProperties);
    
            Object value = ee.evaluate("${" + sysprop + "}");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                org.apache.maven.profiles.ActivationProperty profileProp = profileActivation.getProperty();
    
                if (profileProp != null) {
                    ActivationProperty prop = new ActivationProperty();
    
                    prop.setName(profileProp.getName());
                    prop.setValue(profileProp.getValue());
    
                    activation.setProperty(prop);
                }
    
                ActivationOS profileOs = profileActivation.getOs();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/FatArtifactTraverser.java

        @Override
        public boolean traverseDependency(Dependency dependency) {
            requireNonNull(dependency, "dependency cannot be null");
            String prop = dependency.getArtifact().getProperty(MavenArtifactProperties.INCLUDES_DEPENDENCIES, "");
            return !Boolean.parseBoolean(prop);
        }
    
        @Override
        public DependencyTraverser deriveChildTraverser(DependencyCollectionContext context) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jConfigurationFactory.java

                            try (InputStream in = is) {
                                properties.load(in);
                            }
                        }
                        String impl = properties.getProperty(slf4jBinding);
                        if (impl != null) {
                            return (Slf4jConfiguration)
                                    Class.forName(impl).getDeclaredConstructor().newInstance();
                        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformation.java

                if (logger.isDebugEnabled()) {
                    logger.warn(msg, e);
                } else {
                    logger.warn(msg);
                }
            }
    
            String version = props.getProperty("version", "").trim();
    
            if (!version.startsWith("${")) {
                return version;
            } else {
                return "";
            }
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  10. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

                    Properties mavenWrapperProperties = new Properties();
                    mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
                    url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
                } catch (IOException e) {
                    System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
                } finally {
                    try {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Click Count (0)
Back to Top