Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for create (0.14 sec)

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

         * local repository manager needs to be configured to make session be able to create session instance.
         *
         * @return SessionBuilder configured with minimally required things for "Maven-based resolution". At least LRM must
         * be set on builder to make it able to create session instances.
         */
        @Override
        public SessionBuilder get() {
    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)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

    @Experimental
    public interface TypeRegistry extends ExtensibleEnumRegistry<Type> {
    
        /**
         * Obtain the {@link Type} from the specified {@code id}.
         * If no type is known for {@code id}, the registry will
         * 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) {
    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)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryFactory.java

    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.Repository;
    
    /**
     * Factory service to create {@link LocalRepository} or {@link RemoteRepository} objects.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface RepositoryFactory extends Service {
    
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCoordinateFactory.java

    @Named
    @Singleton
    public class DefaultDependencyCoordinateFactory implements DependencyCoordinateFactory {
    
        @Nonnull
        @Override
        public DependencyCoordinate create(@Nonnull DependencyCoordinateFactoryRequest request) {
            nonNull(request, "request");
            InternalSession session = InternalSession.from(request.getSession());
    
            ArtifactType type = null;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/remote-repo/org/apache/apache/1/apache-1.pom

        The Apache projects are characterized by a collaborative, consensus based development process, an open and
        pragmatic software license, and a desire to create high quality software that leads the way in its field.
        We consider ourselves not simply a group of projects sharing a server, but rather a community of developers
        and users.
      </description>
      <licenses>
        <license>
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                            rr.getPolicy(true).getUpdatePolicy(),
                            rr.getPolicy(false).getChecksumPolicy());
    
                } catch (Exception e) {
                    throw new RuntimeException("Unable to create repository", e);
                }
            } else {
                // TODO
                throw new UnsupportedOperationException("Not yet implemented");
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactFactory.java

    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    @Named
    @Singleton
    public class DefaultArtifactFactory implements ArtifactFactory {
        @Override
        public Artifact create(@Nonnull ArtifactFactoryRequest request) {
            nonNull(request, "request");
            InternalSession session = InternalSession.from(request.getSession());
            ArtifactType type = null;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java

    import org.apache.maven.api.services.ModelProblem;
    
    /**
     * Assists in the handling of model problems.
     *
     */
    public class ModelProblemUtils {
    
        /**
         * Creates a user-friendly source hint for the specified model.
         *
         * @param model The model to create a source hint for, may be {@code null}.
         * @return The user-friendly source hint, never {@code null}.
         */
        static String toSourceHint(Model model) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelInterpolator.java

     *
     */
    public interface ModelInterpolator {
    
        /**
         * Interpolates expressions in the specified model. Note that implementations are free to either interpolate the
         * provided model directly or to create a clone of the model and interpolate the clone. Callers should always use
         * the returned model and must not rely on the input model being updated.
         *
         * @param model The model to interpolate, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/api/services/model/RootLocator.java

     * or a {@code pom.xml} containing the {@code root="true"} attribute.
     */
    public interface RootLocator {
    
        String UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE = "Unable to find the root directory. "
                + "Create a .mvn directory in the root directory or add the root=\"true\""
                + " attribute on the root project's model to identify it.";
    
        @Nonnull
        default Path findMandatoryRoot(Path basedir) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top