Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for attach (0.21 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

    import org.apache.maven.api.Service;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Resolves the artifact, i.e download the file when required and attach it to the artifact
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactResolver extends Service {
    
        /**
         * @param request {@link ArtifactResolverRequest}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/DuplicateArtifactAttachmentException.java

     * under the License.
     */
    package org.apache.maven.project;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * This exception is thrown if an application attempts to attach
     * two of the same artifacts to a single project.
     *
     * TODO Make this a checked exception, and modify the API of MavenProjectHelper.
     * Currently, this modification would create compatibility problems for existing plugins.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/Striped64.java

          Cell[] as;
          Cell a;
          int n;
          long v;
          if ((as = cells) != null && (n = as.length) > 0) {
            if ((a = as[(n - 1) & h]) == null) {
              if (busy == 0) { // Try to attach new Cell
                Cell r = new Cell(x); // Optimistically create
                if (busy == 0 && casBusy()) {
                  boolean created = false;
                  try { // Recheck under lock
                    Cell[] rs;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException;
    
    /**
     * Attach a POM to an artifact.
     *
     */
    @Deprecated
    public class ProjectArtifactMetadata extends AbstractArtifactMetadata {
        private final File file;
    
        public ProjectArtifactMetadata(Artifact artifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/Striped64.java

          Cell[] as;
          Cell a;
          int n;
          long v;
          if ((as = cells) != null && (n = as.length) > 0) {
            if ((a = as[(n - 1) & h]) == null) {
              if (busy == 0) { // Try to attach new Cell
                Cell r = new Cell(x); // Optimistically create
                if (busy == 0 && casBusy()) {
                  boolean created = false;
                  try { // Recheck under lock
                    Cell[] rs;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        SettableFuture<String> future2 = SettableFuture.create();
        SettableFuture<String> future3 = SettableFuture.create();
        ListenableFuture<List<String>> compound = allAsList(future1, future2, future3);
    
        // Attach a listener
        SingleCallListener listener = new SingleCallListener();
        compound.addListener(listener, directExecutor());
    
        // Satisfy each input and check the output
        assertFalse(compound.isDone());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                LOGGER.warn("artifact '{}' already attached, replacing previous instance", artifact);
                attachedArtifacts.set(index, artifact);
            } else {
                attachedArtifacts.add(artifact);
            }
        }
    
        /**
         * Returns a read-only list of the attached artifacts to this project.
         *
         * @return the attached artifacts of this project
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Striped64.java

          Cell[] as;
          Cell a;
          int n;
          long v;
          if ((as = cells) != null && (n = as.length) > 0) {
            if ((a = as[(n - 1) & h]) == null) {
              if (busy == 0) { // Try to attach new Cell
                Cell r = new Cell(x); // Optimistically create
                if (busy == 0 && casBusy()) {
                  boolean created = false;
                  try { // Recheck under lock
                    Cell[] rs;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * the discussion in the {@link #addListener} documentation. All its warnings about heavyweight
       * listeners are also applicable to heavyweight callbacks passed to this method.
       *
       * <p>For a more general interface to attach a completion listener, see {@link #addListener}.
       *
       * <p>This method is similar to {@link java.util.concurrent.CompletableFuture#whenComplete} and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        SettableFuture<String> future2 = SettableFuture.create();
        SettableFuture<String> future3 = SettableFuture.create();
        ListenableFuture<List<String>> compound = allAsList(future1, future2, future3);
    
        // Attach a listener
        SingleCallListener listener = new SingleCallListener();
        compound.addListener(listener, directExecutor());
    
        // Satisfy each input and check the output
        assertFalse(compound.isDone());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top