- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for buildArtifactRepository (0.18 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java
throws InvalidRepositoryException { return buildArtifactRepository(repo, artifactRepositoryFactory, c); } public static ArtifactRepository buildArtifactRepository( Repository repo, ArtifactRepositoryFactory artifactRepositoryFactory, PlexusContainer c) throws InvalidRepositoryException { RepositorySystem repositorySystem = rs(c);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
} catch (InvalidRepositoryException e) { // do nothing for now } } for (Repository pluginRepository : settings.getPluginRepositories()) { try { request.addPluginArtifactRepository(MavenRepositorySystem.buildArtifactRepository(pluginRepository));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
for (Repository remoteRepository : remoteRepositories) { try { request.addRemoteRepository(MavenRepositorySystem.buildArtifactRepository(remoteRepository)); } catch (InvalidRepositoryException e) { // do nothing for now } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
} for (Repository remoteRepository : settings.getRepositories()) { try { request.addRemoteRepository(MavenRepositorySystem.buildArtifactRepository( new org.apache.maven.settings.Repository(remoteRepository))); } catch (InvalidRepositoryException e) { // do nothing for now } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
repository.setUrl("file://" + repoDir.toURI().getPath()); repository.setReleases(policy); repository.setSnapshots(policy); return Arrays.asList(repositorySystem.buildArtifactRepository(repository)); } protected ArtifactRepository getLocalRepository() throws Exception { File repoDir = new File(getBasedir(), "target/local-repo").getAbsoluteFile();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
return modelRepositoryPolicy; } public static ArtifactRepository buildArtifactRepository(org.apache.maven.settings.Repository repo) throws InvalidRepositoryException { return buildArtifactRepository(fromSettingsRepository(repo)); } public static ArtifactRepository buildArtifactRepository(org.apache.maven.model.Repository repo) throws InvalidRepositoryException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java
Artifact createPluginArtifact(Plugin plugin); Artifact createDependencyArtifact(Dependency dependency); ArtifactRepository buildArtifactRepository(Repository repository) throws InvalidRepositoryException; ArtifactRepository createDefaultRemoteRepository() throws InvalidRepositoryException;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
repository.setUrl("file://" + repoDir.toURI().getPath()); repository.setReleases(policy); repository.setSnapshots(policy); return Arrays.asList(mavenRepositorySystem.buildArtifactRepository(repository)); } protected List<ArtifactRepository> getPluginArtifactRepositories() throws InvalidRepositoryException { return getRemoteRepositories(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
this.modelReader = modelReader; this.artifactFactory = artifactFactory; } @Override public ArtifactRepository buildArtifactRepository(Repository repository) throws InvalidRepositoryException { return new MavenArtifactRepository( repository.getId(), repository.getUrl(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
for (Object repository : repositories) { if (repository instanceof Repository) { try { ArtifactRepository repo = repositorySystem.buildArtifactRepository((Repository) repository); repositorySystem.injectMirror(request.getRepositorySession(), Arrays.asList(repo));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0)