Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for createLocal (0.19 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryFactory.java

     *
     * @since 4.0.0
     */
    @Experimental
    public interface RepositoryFactory extends Service {
    
        @Nonnull
        LocalRepository createLocal(@Nonnull Path path);
    
        @Nonnull
        RemoteRepository createRemote(@Nonnull String id, @Nonnull String url);
    
        @Nonnull
        RemoteRepository createRemote(@Nonnull Repository repository);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        //
    
        /**
         * Shortcut for <code>getService(RepositoryFactory.class).createLocal(...)</code>
         *
         * @see RepositoryFactory#createLocal(Path)
         */
        @Override
        public LocalRepository createLocalRepository(Path path) {
            return getService(RepositoryFactory.class).createLocal(path);
        }
    
        /**
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultRepositoryFactory.java

    import org.eclipse.aether.repository.RepositoryPolicy;
    
    @Named
    @Singleton
    public class DefaultRepositoryFactory implements RepositoryFactory {
    
        @Override
        public LocalRepository createLocal(Path path) {
            return new DefaultLocalRepository(new org.eclipse.aether.repository.LocalRepository(path.toFile()));
        }
    
        @Override
        public RemoteRepository createRemote(String id, String url) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultRepositoryFactory.java

        @Inject
        public DefaultRepositoryFactory(RepositorySystem repositorySystem) {
            this.repositorySystem = repositorySystem;
        }
    
        @Override
        public LocalRepository createLocal(Path path) {
            return new DefaultLocalRepository(new org.eclipse.aether.repository.LocalRepository(path.toFile()));
        }
    
        @Override
        public RemoteRepository createRemote(String id, String url) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        //
    
        /**
         * Shortcut for <code>getService(RepositoryFactory.class).createLocal(...)</code>
         *
         * @see RepositoryFactory#createLocal(Path)
         */
        @Override
        public LocalRepository createLocalRepository(Path path) {
            return getService(RepositoryFactory.class).createLocal(path);
        }
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 27.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(RepositoryFactory.class).createLocal(...)}.
         *
         * @param path location of the local repository to create
         * @return cache of artifacts downloaded from a remote repository or built locally
         *
         * @see org.apache.maven.api.services.RepositoryFactory#createLocal(Path)
         */
        @Nonnull
        LocalRepository createLocalRepository(@Nonnull Path path);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 30K bytes
    - Viewed (0)
Back to top