Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for acquire (0.42 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionRangeResolver.java

            Versioning versioning = null;
            try {
                if (metadata != null) {
                    try (SyncContext syncContext = syncContextFactory.newInstance(session, true)) {
                        syncContext.acquire(null, Collections.singleton(metadata));
    
                        if (metadata.getPath() != null && Files.exists(metadata.getPath())) {
                            try (InputStream in = Files.newInputStream(metadata.getPath())) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

            Versioning versioning = null;
            try {
                if (metadata != null) {
                    try (SyncContext syncContext = syncContextFactory.newInstance(session, true)) {
                        syncContext.acquire(null, Collections.singleton(metadata));
    
                        if (metadata.getPath() != null && Files.exists(metadata.getPath())) {
                            try (InputStream in = Files.newInputStream(metadata.getPath())) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * Shortcut for {@code getService(TypeRegistry.class).require(...)}.
         *
         * @see org.apache.maven.api.services.TypeRegistry#require(String)
         */
        @Nonnull
        Type requireType(@Nonnull String id);
    
        /**
         * Obtain the {@link Language} from the specified {@code id}.
         * <p>
         * Shortcut for {@code getService(LanguageRegistry.class).require(...)}.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

         * create a custom {@code Type} for it.
         *
         * @param id the id of the type to retrieve
         * @return the type
         */
        @Nonnull
        @Override
        default Type require(@Nonnull String id) {
            return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'"));
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                        String msg = str + " aggregator mojo is already being executed "
                                + "in this parallel build, those kind of mojos require exclusive access to "
                                + "reactor to prevent race conditions. This mojo execution will be blocked "
                                + "until the aggregator mojo is done.";
                        warn(msg);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <type>boolean</type>
              <description>Flags this Mojo to require running inside of a project.</description>
              <defaultValue>true</defaultValue>
            </field>
            <field>
              <name>projectRequired</name>
              <version>2.0.0+</version>
              <type>boolean</type>
              <description>Flags this Mojo to require running inside of a project.</description>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Apr 14 17:14:22 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    getAttributePrefix(int); public String getAttributeType(int); public boolean isAttributeDefault(int); public String getAttributeValue(int); public String getAttributeValue(String, String); public int getEventType() throws XmlPullParserExcepti; public void require(int, String, String) throws XmlPullParserExcepti, java.io.IOException; public void skipSubTree() throws XmlPullParserExcepti, java.io.IOException; public String nextText() throws XmlPullParserExcepti, java.io.IOException; public int nextTag() throws...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
  8. maven-core/src/site/apt/offline-mode.apt

      not on a local filesystem, deployment will fail when offline.
    
    ** Testing mojos
    
      This can be a problem if the tests are more than simple unit tests;
      that is, if they require configuration of a server process, and
      subsequent testing in-container.
    
      Since we're only going to concern ourselves with states where localhost is
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                }
            };
        }
    
        @Provides
        static PackagingRegistry newPackagingRegistry(TypeRegistry typeRegistry) {
            return id -> Optional.of(new DumbPackaging(id, typeRegistry.require(id), Map.of()));
        }
    
        @Provides
        static TypeRegistry newTypeRegistry(List<TypeProvider> providers) {
            return new TypeRegistry() {
                @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)
  10. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

                            throw new IllegalStateException(e);
                        }
                    }
                }
                throw new IllegalArgumentException("The use of session scoped proxies require "
                        + "a org.eclipse.sisu.Typed or javax.enterprise.inject.Typed annotation");
            }
        }
    
        /**
         * A provider wrapping an existing provider with a cache
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top