Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for creation (0.15 sec)

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

     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactCoordinateFactory extends Service {
    
        /**
         * Creates a coordinate.
         *
         * @param request the request holding coordinate creation parameters
         * @return an {@code ArtifactCoordinate}, never {@code null}
         * @throws IllegalArgumentException if {@code request} is null or {@code request.session} is null or invalid
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 18 10:30:20 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                throw new ArtifactTransferFailedException(getMessage(e, "Error transferring artifact."), e);
            }
        }
    
        //
        // Artifact Repository Creation
        //
        public ArtifactRepository buildArtifactRepository(Repository repo) throws InvalidRepositoryException {
            if (repo != null) {
                String id = repo.getId();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSessionBuilderSupplier.java

         * Maven-Resolver without involving Maven Core and related things.
         * <p>
         * This type registry is NOT used by Maven Core: Maven replaces it during Session creation with a type registry
         * that supports extending it (i.e. via Maven Extensions).
         * <p>
         * Important: this "static" list of types should be in-sync with core provided types.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            if (pom != null) {
                request.setMultiModuleProjectDirectory(pom.getParentFile());
            }
    
            return request;
        }
    
        // layer the creation of a project builder configuration with a request, but this will need to be
        // a Maven subclass because we don't want to couple maven to the project builder which we need to
        // separate.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  5. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

                    .newSession(session));
    
            legacySupport.setSession(session);
        }
    
        protected abstract String component();
    
        /**
         * Return an existing file, not a directory - causes creation to fail.
         *
         * @throws Exception
         */
        protected ArtifactRepository badLocalRepository() throws Exception {
            String path = "target/test-repositories/" + component() + "/bad-local-repository";
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java

    /**
     * metadata [dirty] Tree
     *
     *
     */
    @Deprecated
    public class MetadataTreeNode {
        ArtifactMetadata md; // this node
    
        MetadataTreeNode parent; // papa
    
        /** default # of children. Used for tree creation optimization only */
        int nChildren = 8;
    
        MetadataTreeNode[] children; // of cause
    
        public int getNChildren() {
            return nChildren;
        }
    
        public void setNChildren(int children) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            } catch (IOException e) {
                return addExceptionToResult(result, e);
            }
    
            //
            // We enter the session scope right after the MavenSession creation and before any of the
            // AbstractLifecycleParticipant lookups
            // so that @SessionScoped components can be @Injected into AbstractLifecycleParticipants.
            //
            sessionScope.enter();
    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)
  8. maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            if (pom != null) {
                request.setMultiModuleProjectDirectory(pom.getParentFile());
            }
    
            return request;
        }
    
        // layer the creation of a project builder configuration with a request, but this will need to be
        // a Maven subclass because we don't want to couple maven to the project builder which we need to
        // separate.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/prefix/PluginPrefixRequest.java

         *
         * @return The remote repositories to use, never {@code null}.
         */
        List<RemoteRepository> getRepositories();
    
        /**
         * Sets the remote repositories to use. Note: When creating a request from a project, be sure to use the
         * plugin repositories and not the regular project repositories.
         *
         * @param repositories The remote repositories to use.
         * @return This request, never {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinateFactoryRequest.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.NotThreadSafe;
    
    import static org.apache.maven.api.services.BaseRequest.nonNull;
    
    /**
     * A request for creating a {@link ArtifactCoordinate} object.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactCoordinateFactoryRequest {
    
        @Nonnull
        Session getSession();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 18 10:30:20 GMT 2023
    - 7.4K bytes
    - Viewed (0)
Back to top