Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for setProperties (0.15 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            Properties properties = getMavenProject(project).getProperties();
            if (value == null) {
                properties.remove(key);
            } else {
                properties.setProperty(key, value);
            }
        }
    
        @Override
        public Map<String, String> getProperties(Project project) {
            return Collections.unmodifiableMap(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                            main.getArtifactId(),
                            BUILD_POM_CLASSIFIER,
                            main.getExtension(),
                            main.getVersion(),
                            main.getProperties(),
                            main.getFile()));
                }
                for (Artifact consumer : consumers) {
                    result.remove(consumer);
                    result.add(new DefaultArtifact(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/project/DefaultProjectBuilderConfiguration.java

        private ProfileManager globalProfileManager;
    
        private ArtifactRepository localRepository;
    
        private Properties userProperties;
    
        private Properties executionProperties = System.getProperties();
    
        private Date buildStartTime;
    
        public DefaultProjectBuilderConfiguration() {}
    
        public ProjectBuilderConfiguration setGlobalProfileManager(ProfileManager globalProfileManager) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsBuilderFactoryTest.java

    /**
     */
    @ExtendWith(MockitoExtension.class)
    class DefaultSettingsBuilderFactoryTest {
    
        @Mock
        Session session;
    
        @BeforeEach
        void setup() {
            Map<String, String> map = System.getProperties().entrySet().stream()
                    .collect(Collectors.toMap(
                            e -> e.getKey().toString(), e -> e.getValue().toString()));
            //        lenient().when(session.getSystemProperties()).thenReturn(map);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

                    interpolator.addValueSource(new EnvarBasedValueSource());
                } catch (IOException e) {
                    // ignored
                }
                interpolator.addValueSource(new MapBasedValueSource(System.getProperties()));
    
                try {
                    if (fileString != null && !fileString.isEmpty()) {
                        fileString = interpolator.interpolate(fileString, "").replace("\\", "/");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

         * アノテーションの要素を名前と値の{@link Map}として返します。
         *
         * @param annotation
         *            アノテーション。{@literal null}であってはいけません
         * @return アノテーションの要素の名前と値からなる{@link Map}
         */
        public static Map<String, Object> getProperties(final Annotation annotation) {
            assertArgumentNotNull("annotation", annotation);
    
            final Map<String, Object> map = newHashMap();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            return getProperties().elements();
        }
    
        @Override
        public Set<java.util.Map.Entry<Object, Object>> entrySet() {
            return getProperties().entrySet();
        }
    
        @Override
        public boolean equals(final Object o) {
            return getProperties().equals(o);
        }
    
        @Override
        public Object get(final Object key) {
            return getProperties().get(key);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java

            return systemProperties;
        }
    
        /**
         * Sets the system properties to use for interpolation and profile activation. The system properties are collected
         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @param systemProperties The system properties, may be {@code null}.
         * @return This context, never {@code null}.
         */
        @SuppressWarnings("unchecked")
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/ExecJob.java

            System.getProperties().keySet().stream().filter(k -> k != null && k.toString().startsWith(Constants.FESS_CONFIG_PREFIX))
                    .forEach(k -> addSystemProperty(cmdList, k.toString(), null, null));
        }
    
        protected void addFessSystemProperties(final List<String> cmdList) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. 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());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top