Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 105 for key2 (0.12 sec)

  1. 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)
  2. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            String var = "${var}";
            String key = var + " with version: ${project.version}";
    
            Model model = new Model();
            model.setVersion("1");
    
            MavenProject project = new MavenProject(model);
    
            ExpressionEvaluator ee = createExpressionEvaluator(project, null, new Properties());
    
            Object value = ee.evaluate("$" + key);
    
            assertEquals("${var} with version: 1", value);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  3. 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)
  4. maven-core/src/test/java/org/apache/maven/project/canonical/CanonicalProjectBuilderTest.java

            List<Plugin> plugins = project.getBuildPlugins();
    
            // Plugin0 [plexus]
    
            String key = "org.apache.maven.plugins:maven-plexus-plugin";
    
            Plugin plugin = null;
            for (Plugin check : plugins) {
                if (key.equals(check.getKey())) {
                    plugin = check;
                    break;
                }
            }
    
            assertNotNull(plugin);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

     * interface.
     * @since 3.0.2
     */
    public interface EventSpy {
        /**
         * Context
         */
        interface Context {
    
            /**
             * Gets key-value pairs providing information about the Maven runtime.
             *
             * @return The key-value pairs, never {@code null}.
             */
            Map<String, Object> getData();
        }
    
        /**
         * Initializes the spy.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/properties/internal/SystemProperties.java

         * @return Copy of the given properties.
         */
        public static Properties copyProperties(Properties properties) {
            final Properties copyProperties = new Properties();
            // guard against modification/removal of keys in the given properties (MNG-5670, MNG-6053, MNG-6105)
            synchronized (properties) {
                copyProperties.putAll(properties);
            }
            return copyProperties;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2K 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-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)
  9. maven-core/src/main/java/org/apache/maven/toolchain/ToolchainPrivate.java

    public interface ToolchainPrivate extends Toolchain {
    
        /**
         * Let the toolchain decide if it matches requirements defined
         * in the toolchain plugin configuration.
         * @param requirements Map&lt;String, String&gt; key value pair, may not be {@code null}
         * @return {@code true} if the requirements match, otherwise {@code false}
         */
        boolean matchesRequirements(Map<String, String> requirements);
    
        /**
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  10. 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)
Back to top