Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for creation (0.39 sec)

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

     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactFactory extends Service {
    
        /**
         * Creates an artifact.
         *
         * @param request the request holding artifact creation parameters
         * @return an {@code Artifact}, 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: Thu Mar 23 05:29:39 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectArtifactFactory.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.artifact.InvalidDependencyVersionException;
    
    /**
     * <p>
     * Component interface responsible for creation of MavenProject#dependencyArtifacts instances.
     * </p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
     * @since 3.2.4
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.4K bytes
    - Viewed (0)
Back to top