- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for setLocalRepositoryManager (0.17 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(); LocalRepository localRepo = new LocalRepository(request.getLocalRepository().getBasedir()); session.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory().newInstance(session, localRepo)); LegacySupport legacySupport = container.lookup(LegacySupport.class);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
File localRepo = new File(request.getLocalRepository().getBasedir()); DefaultRepositorySystemSession session = MavenRepositorySystemUtils.newSession(); session.setLocalRepositoryManager(new LegacyLocalRepositoryManager(localRepo)); request.setRepositorySession(session); DefaultMavenExecutionRequest mavenExecutionRequest = new DefaultMavenExecutionRequest();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
} final LocalRepositoryManager llrm = new LegacyLocalRepositoryManager(repository); return new DefaultRepositorySystemSession(session).setLocalRepositoryManager(llrm); } private LegacyLocalRepositoryManager(ArtifactRepository delegate) { this.delegate = Objects.requireNonNull(delegate, "delegate cannot be null");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
session.setDependencyGraphTransformer(transformer); LocalRepository localRepo = new LocalRepository(localRepository().getBasedir()); session.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory().newInstance(session, localRepo)); return session; } private static final char[] hexCode = "0123456789ABCDEF".toCharArray();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java
LocalRepositoryManager llm = system.newLocalRepositoryManager(rsession, new LocalRepository(localRepository)); rsession.setLocalRepositoryManager(llm); // active proxies // TODO // active profiles // DefaultSession defaultSession = new DefaultSession( // rsession,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
} final LocalRepositoryManager llrm = system.newLocalRepositoryManager(newSession, new LocalRepository(repository.getBasedir())); newSession.setLocalRepositoryManager(llrm); return newSession; } private static int repositoryHashCode(RemoteRepository repository) { int result = 17; Object obj = repository.getUrl();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0)