Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for acquire (0.21 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. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar

    implementation class. Finally, some Log implementations (such as the one for Log4J) require an external configuration file for the entire logging environment. This file should be prepared in a manner that is specific to the actual logging technology being used. Using the Logging Package APIs Use of the Logging Package APIs, from the perspective of an application component, consists of the following steps: Acquire a reference to an instance of org.apache.commons.logging.Log, by calling the factory...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 30.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

        the same other JDK instance without hardcoding absolute paths into the {@code pom.xml}
        and without configuring every plugin that require path to JDK tools.</p>
    
        @see <a href="/guides/mini/guide-using-toolchains.html">Guide to Using Toolchains</a>
        ]]></description>
    
      <defaults>
        <default>
          <key>package</key>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 07 21:28:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
Back to top