Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
maven-core-3.8.6.jar - Maven Core Module
maven-core-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Core module. Apache Maven is a software project management and comprehension tool.
JAR File Size and Download Location:
File: 646022 06-06-2022 16:16 lib/maven-core-3.8.6.jar Download: Apache Maven Website
✍: FYIcenter.com
⏎ org/apache/maven/repository/RepositorySystem.java
package org.apache.maven.repository; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ import java.io.File; import java.util.List; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.InvalidRepositoryException; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy; import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout; import org.apache.maven.artifact.resolver.ArtifactResolutionRequest; import org.apache.maven.artifact.resolver.ArtifactResolutionResult; import org.apache.maven.model.Dependency; import org.apache.maven.model.Plugin; import org.apache.maven.model.Repository; import org.apache.maven.settings.Mirror; import org.apache.maven.settings.Server; import org.eclipse.aether.RepositorySystemSession; /** * @author Jason van Zyl * @since 3.0-alpha */ public interface RepositorySystem { String DEFAULT_LOCAL_REPO_ID = "local"; @SuppressWarnings( "checkstyle:constantname" ) String userHome = System.getProperty( "user.home" ); @SuppressWarnings( "checkstyle:constantname" ) File userMavenConfigurationHome = new File( userHome, ".m2" ); @SuppressWarnings( "checkstyle:constantname" ) File defaultUserLocalRepository = new File( userMavenConfigurationHome, "repository" ); String DEFAULT_REMOTE_REPO_ID = "central"; String DEFAULT_REMOTE_REPO_URL = "https://repo.maven.apache.org/maven2"; Artifact createArtifact( String groupId, String artifactId, String version, String packaging ); Artifact createArtifact( String groupId, String artifactId, String version, String scope, String type ); Artifact createProjectArtifact( String groupId, String artifactId, String version ); Artifact createArtifactWithClassifier( String groupId, String artifactId, String version, String type, String classifier ); Artifact createPluginArtifact( Plugin plugin ); Artifact createDependencyArtifact( Dependency dependency ); ArtifactRepository buildArtifactRepository( Repository repository ) throws InvalidRepositoryException; ArtifactRepository createDefaultRemoteRepository() throws InvalidRepositoryException; ArtifactRepository createDefaultLocalRepository() throws InvalidRepositoryException; ArtifactRepository createLocalRepository( File localRepository ) throws InvalidRepositoryException; ArtifactRepository createArtifactRepository( String id, String url, ArtifactRepositoryLayout repositoryLayout, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases ); /** * Calculates the effective repositories for the given input repositories which are assumed to be already mirrored * (if applicable). This process will essentially remove duplicate repositories by merging them into one equivalent * repository. It is worth to point out that merging does not simply choose one of the input repositories and * discards the others but actually combines their possibly different policies. * * @param repositories The original repositories, may be {@code null}. * @return The effective repositories or {@code null} if the input was {@code null}. */ List<ArtifactRepository> getEffectiveRepositories( List<ArtifactRepository> repositories ); /** * Determines the mirror for the specified repository. * * @param repository The repository to determine the mirror for, must not be {@code null}. * @param mirrors The available mirrors, may be {@code null}. * @return The mirror specification for the repository or {@code null} if no mirror matched. */ Mirror getMirror( ArtifactRepository repository, List<Mirror> mirrors ); /** * Injects the mirroring information into the specified repositories. For each repository that is matched by a * mirror, its URL and ID will be updated to match the values from the mirror specification. Repositories without a * matching mirror will pass through unchanged. <em>Note:</em> This method must be called before * {@link #injectAuthentication(List, List)} or the repositories will end up with the wrong credentials. * * @param repositories The repositories into which to inject the mirror information, may be {@code null}. * @param mirrors The available mirrors, may be {@code null}. */ void injectMirror( List<ArtifactRepository> repositories, List<Mirror> mirrors ); /** * Injects the proxy information into the specified repositories. For each repository that is matched by a proxy, * its proxy data will be set accordingly. Repositories without a matching proxy will have their proxy cleared. * <em>Note:</em> This method must be called after {@link #injectMirror(List, List)} or the repositories will end up * with the wrong proxies. * * @param repositories The repositories into which to inject the proxy information, may be {@code null}. * @param proxies The available proxies, may be {@code null}. */ void injectProxy( List<ArtifactRepository> repositories, List<org.apache.maven.settings.Proxy> proxies ); /** * Injects the authentication information into the specified repositories. For each repository that is matched by a * server, its credentials will be updated to match the values from the server specification. Repositories without a * matching server will have their credentials cleared. <em>Note:</em> This method must be called after * {@link #injectMirror(List, List)} or the repositories will end up with the wrong credentials. * * @param repositories The repositories into which to inject the authentication information, may be {@code null}. * @param servers The available servers, may be {@code null}. */ void injectAuthentication( List<ArtifactRepository> repositories, List<Server> servers ); void injectMirror( RepositorySystemSession session, List<ArtifactRepository> repositories ); void injectProxy( RepositorySystemSession session, List<ArtifactRepository> repositories ); void injectAuthentication( RepositorySystemSession session, List<ArtifactRepository> repositories ); ArtifactResolutionResult resolve( ArtifactResolutionRequest request ); // Install // Deploy // Map types of artifacts // // Raw file transfers // void publish( ArtifactRepository repository, File source, String remotePath, ArtifactTransferListener transferListener ) throws ArtifactTransferFailedException; void retrieve( ArtifactRepository repository, File destination, String remotePath, ArtifactTransferListener transferListener ) throws ArtifactTransferFailedException, ArtifactDoesNotExistException; }
⏎ org/apache/maven/repository/RepositorySystem.java
Or download all of them as a single archive file:
File name: maven-core-3.8.6-src.zip File size: 550169 bytes Release date: 2022-06-06 Download
⇒ maven-artifact-3.8.6.jar - Maven Artifact Module
⇐ apache-maven-3.8.6-bin.zip - Apache Maven Binary Package
2020-10-26, 104909👍, 0💬
Popular Posts:
JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3 (i.e. MP3) in real time for...
XOM™ is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with ...
How to download and install JDK (Java Development Kit) 8? If you want to write Java applications, yo...
How to read XML document with XML Schema validation from socket connections with the socket\DelayedI...
maven-model-builder-3.8. 6.jaris the JAR file for Apache Maven 3.8.6 Model Builder module. Apache Ma...