Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for key2 (0.12 sec)

  1. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("three", pom.getValue(prefix + "stringParams/stringParam[3]"));
            assertEquals("four", pom.getValue(prefix + "stringParams/stringParam[4]"));
            assertEquals("key1", pom.getValue(prefix + "propertiesParam/property[1]/name"));
            assertEquals("key2", pom.getValue(prefix + "propertiesParam/property[2]/name"));
        }
    
        /* MNG-3864*/
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

            Key key = new CacheKey(
                    project,
                    project.getRemoteProjectRepositories(),
                    scopesToCollect,
                    scopesToResolve,
                    aggregating,
                    session);
            return keys.computeIfAbsent(key, k -> k);
        }
    
        @Override
        public CacheRecord get(Key key) throws LifecycleExecutionException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

        }
    
        public CacheRecord get(Key key) throws PluginResolutionException {
            CacheRecord cacheRecord = cache.get(key);
    
            if (cacheRecord != null && cacheRecord.getException() != null) {
                throw cacheRecord.getException();
            }
    
            return cacheRecord;
        }
    
        public CacheRecord put(Key key, List<Artifact> pluginArtifacts) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileInjector.java

                        Object key = getPluginExecutionKey().apply(element);
                        merged.put(key, element);
                    }
    
                    for (PluginExecution element : src) {
                        Object key = getPluginExecutionKey().apply(element);
                        PluginExecution existing = merged.get(key);
                        if (existing != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

        }
    
        public <T> void seed(Class<T> clazz, Provider<T> value) {
            getScopeState().seeded.put(Key.get(clazz), value);
        }
    
        public <T> void seed(Class<T> clazz, final T value) {
            getScopeState().seeded.put(Key.get(clazz), Providers.of(value));
        }
    
        public <T> Provider<T> scope(final Key<T> key, final Provider<T> unscoped) {
            return () -> {
                LinkedList<ScopeState> stack = values.get();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifact.java

        }
    
        @Override
        public boolean equals(Object o) {
            return o instanceof Artifact && Objects.equals(key(), ((Artifact) o).key());
        }
    
        @Override
        public int hashCode() {
            return key.hashCode();
        }
    
        @Override
        public String toString() {
            return artifact.toString();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                    for (Iterator<Artifact> it = missing.iterator(); it.hasNext(); ) {
                        String key = ArtifactUtils.key(it.next());
                        if (projectIds.contains(key)) {
                            it.remove();
                        }
                    }
    
                    if (!missing.isEmpty()) {
                        throw e;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

            scope.seed(Object.class, o1);
            assertSame(o1, scope.scope(Key.get(Object.class), null).get());
    
            scope.enter();
            Object o2 = new Object();
            scope.seed(Object.class, o2);
            assertSame(o2, scope.scope(Key.get(Object.class), null).get());
    
            scope.exit();
            assertSame(o1, scope.scope(Key.get(Object.class), null).get());
    
            scope.exit();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

        }
    
        private static boolean doGet(Properties userProperties, String key, boolean def) {
            return doGet(userProperties != null ? userProperties.get(key) : null, def);
        }
    
        private static boolean doGet(Map<String, ?> userProperties, String key, boolean def) {
            return doGet(userProperties != null ? userProperties.get(key) : null, def);
        }
    
        private static boolean doGet(Object val, boolean def) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 13:04:57 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformerContext.java

     *
     * @since 4.0.0
     */
    public interface ModelTransformerContext {
    
        /**
         * Key to get the TransformerContext from the SessionData
         */
        Object KEY = ModelTransformerContext.class;
    
        /**
         * Get the value of the Maven user property.
         */
        String getUserProperty(String key);
    
        /**
         * Get the model based on the path when resolving the parent based on relativePath.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top