Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for key2 (0.79 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-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)
  3. 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)
  4. 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)
  5. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            String key = ArtifactUtils.versionlessKey( groupId, artifactId );
    
            Map artifactMap = project.getArtifactMap();
    
            assertNotNull( artifactMap, "artifact-map should not be null." );
            assertEquals( 1, artifactMap.size(), "artifact-map should contain 1 element." );
    
            Artifact artifact = (Artifact) artifactMap.get( key );
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                    try {
                        return Optional.of(injector.getInstance(Key.of(type, name)));
                    } catch (DIException e) {
                        return Optional.empty();
                    }
                }
    
                @Override
                public <T> List<T> lookupList(Class<T> type) {
                    return injector.getInstance(new Key<List<T>>() {});
                }
    
                @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

     * {@code org.apache.maven.api.spi.PathScopeProvider}.
     * <p>
     * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface
     * can be used as keys.
     *
     * @since 4.0.0
     * @see org.apache.maven.api.services.DependencyResolver
     * @see DependencyScope
     */
    @Experimental
    @Immutable
    public interface PathScope extends ExtensibleEnum {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelCache.java

    /**
     * Caches auxiliary data used during model building like already processed raw/effective models. The data in the cache
     * is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is
     * formed by a combination of group id, artifact id, version and tag. The first three components generally refer to the
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            Map<String, MavenProject> index = new LinkedHashMap<>();
            Map<String, List<File>> collisions = new LinkedHashMap<>();
    
            for (MavenProject project : projects) {
                String projectId = ArtifactUtils.key(project.getGroupId(), project.getArtifactId(), project.getVersion());
    
                MavenProject collision = index.get(projectId);
    
                if (collision == null) {
                    index.put(projectId, project);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        private boolean parallel;
    
        /**
         * Plugin context keyed by project ({@link MavenProject#getId()}) and by plugin lookup key
         * ({@link PluginDescriptor#getPluginLookupKey()}). Plugin contexts itself are mappings of {@link String} keys to
         * {@link Object} values.
         */
        @SuppressWarnings("checkstyle:linelength")
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
Back to top