- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for addRepository (0.11 sec)
-
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
req1.setArtifact(new DefaultArtifact("ut.simple:artifact:1.0")); req1.addRepository(newTestRepository()); ArtifactRequest req2 = new ArtifactRequest(); req2.setArtifact(new DefaultArtifact("ut.simple:artifact:zip:1.0")); req2.addRepository(newTestRepository()); ArtifactRequest req3 = new ArtifactRequest();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java
@Test void testResolveSeparateInstalledClassifiedNonUniqueVersionedArtifacts() throws Exception { VersionRequest requestB = new VersionRequest(); requestB.addRepository(newTestRepository()); Artifact artifactB = new DefaultArtifact("org.apache.maven.its", "dep-mng5324", "classifierB", "jar", "07.20.3-SNAPSHOT"); requestB.setArtifact(artifactB);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java
} return result; } default void addRepository(Repository repository) throws InvalidRepositoryException { addRepository(new org.apache.maven.model.Repository(repository)); } default void addRepository(Repository repository, boolean replace) throws InvalidRepositoryException { addRepository(new org.apache.maven.model.Repository(repository), replace); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.1K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java
} @Override public void addRepository(org.apache.maven.model.Repository repository) throws InvalidRepositoryException { addRepository(repository.getDelegate()); } @Override public void addRepository(org.apache.maven.model.Repository repository, boolean replace) throws InvalidRepositoryException { addRepository(repository.getDelegate(), replace); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.5K bytes - Viewed (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
Profile profile = new Profile(); Repository repo = new Repository(); repo.setId("local"); profile.addRepository(repo); repo = new Repository(); repo.setId("illegal\\:/chars"); repo.setUrl("http://void"); profile.addRepository(repo); Settings settings = new Settings(); settings.addProfile(profile);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
throws UnresolvableModelException { return null; } @Override public void addRepository(Repository repository) throws InvalidRepositoryException {} @Override public void addRepository(Repository repository, boolean replace) throws InvalidRepositoryException {} @Override public ModelResolver newCopy() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java
field.setAccessible(true); field.set(reader, eventDispatcher); ArtifactDescriptorRequest request = new ArtifactDescriptorRequest(); request.addRepository(newTestRepository()); request.setArtifact(new DefaultArtifact("org.apache.maven.its", "dep-mng5459", "jar", "0.4.0-SNAPSHOT")); // execute reader.readArtifactDescriptor(session, request);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0) -
compat/maven-model-builder/pom.xml
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
profile.setProperties(profileXmlProfile.getProperties()); List repos = profileXmlProfile.getRepositories(); if (repos != null) { for (Object repo : repos) { profile.addRepository(convertFromProfileXmlRepository((org.apache.maven.profiles.Repository) repo)); } } List pluginRepos = profileXmlProfile.getPluginRepositories(); if (pluginRepos != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
ArtifactTypeRegistry stereotypes = session.getArtifactTypeRegistry(); for (Repository r : model.getRepositories()) { result.addRepository(ArtifactDescriptorUtils.toRemoteRepository(r)); } for (org.apache.maven.model.Dependency dependency : model.getDependencies()) { result.addDependency(convert(dependency, stereotypes));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0)