Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 62 for getProperty (0.17 sec)

  1. maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java

            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
            String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}", basedir);
    
            assertEquals(basedir.getAbsolutePath(), aligned);
        }
    
        @Test
        void testAlignToBasedirWhereBasedirExpressionIsTheValuePrefix() {
            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

            return profile.getActivation() != null && profile.getActivation().getProperty() != null;
        }
    
        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            ActivationProperty property = activation.getProperty();
    
            if (property != null) {
                String name = property.getName();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  3. 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();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

            String str1 = request.getResumeFrom();
            if (properties.containsKey(REMAINING_PROJECTS) && !(str1 != null && !str1.isEmpty())) {
                String propertyValue = properties.getProperty(REMAINING_PROJECTS);
                Stream.of(propertyValue.split(PROPERTY_DELIMITER))
                        .filter(str -> str != null && !str.isEmpty())
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

    import org.apache.maven.model.Profile;
    
    /**
     * JdkPrefixProfileActivator
     */
    @Deprecated
    public class JdkPrefixProfileActivator extends DetectedProfileActivator {
        private static final String JDK_VERSION = System.getProperty("java.version");
    
        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            String jdk = activation.getJdk();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginJavaPrerequisiteChecker.java

            String requiredJavaVersion = pluginDescriptor.getRequiredJavaVersion();
            if (requiredJavaVersion != null && !requiredJavaVersion.isEmpty()) {
                String currentJavaVersion = System.getProperty("java.version");
                if (!matchesVersion(requiredJavaVersion, currentJavaVersion)) {
                    throw new IllegalStateException("Required Java version " + requiredJavaVersion
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 18 11:03:17 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            String timestampFormat = DEFAULT_BUILD_TIMESTAMP_FORMAT;
    
            Properties modelProperties = model.getProperties();
            if (modelProperties != null) {
                timestampFormat = modelProperties.getProperty(BUILD_TIMESTAMP_FORMAT_PROPERTY, timestampFormat);
            }
    
            ValueSource modelValueSource1 = new PrefixedObjectValueSource(PROJECT_PREFIXES, model, false);
    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)
  8. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                if (project.hasLifecyclePhase("test-compile")) {
                    return new File(project.getBuild().getTestOutputDirectory());
                }
            } else {
                String type = artifact.getProperty("type", "");
                File outputDirectory = new File(project.getBuild().getOutputDirectory());
    
                // Check if the project is being built during this session, and if we can expect any output.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            String type = artifact.getProperty(ArtifactProperties.TYPE, artifact.getExtension());
            return new DefaultArtifactHandler(
                    type,
                    artifact.getExtension(),
                    null,
                    null,
                    null,
                    Boolean.parseBoolean(artifact.getProperty(MavenArtifactProperties.INCLUDES_DEPENDENCIES, "")),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 16K bytes
    - Viewed (0)
  10. 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 + "}");
    
    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)
Back to top