Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ArtifactRepositoryLayout (0.12 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/layout/ArtifactRepositoryLayout.java

    /**
     * Repository layout.
     *
     * @deprecated Avoid use of this type, if you need access to local repository use repository system session instead.
     */
    @Deprecated
    public interface ArtifactRepositoryLayout {
        String ROLE = ArtifactRepositoryLayout.class.getName();
    
        String getId();
    
        String pathOf(Artifact artifact);
    
        String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryFactory.java

    import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
    
    /**
     */
    @Deprecated
    public interface ArtifactRepositoryFactory {
        String ROLE = ArtifactRepositoryFactory.class.getName();
    
        String DEFAULT_LAYOUT_ID = "default";
    
        String LOCAL_REPOSITORY_ID = "local";
    
        @Deprecated
        ArtifactRepositoryLayout getLayout(String layoutId) throws UnknownRepositoryLayoutException;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

            return layout.pathOfLocalRepositoryMetadata(metadata, repository);
        }
    
        public void setLayout(ArtifactRepositoryLayout layout) {
            this.layout = layout;
        }
    
        public ArtifactRepositoryLayout getLayout() {
            return layout;
        }
    
        public void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy snapshots) {
            this.snapshots = snapshots;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java

    import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
    import org.apache.maven.artifact.repository.MavenArtifactRepository;
    import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
    
    /**
     * Delegating local artifact repository chains the reactor, IDE workspace
     * and user local repository.
     */
    @Deprecated
    public class DelegatingLocalArtifactRepository extends MavenArtifactRepository {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/DefaultArtifactRepositoryFactory.java

        // TODO use settings?
        private String globalUpdatePolicy;
    
        private String globalChecksumPolicy;
    
        @Inject
        private Map<String, ArtifactRepositoryLayout> repositoryLayouts;
    
        public ArtifactRepositoryLayout getLayout(String layoutId) throws UnknownRepositoryLayoutException {
            return repositoryLayouts.get(layoutId);
        }
    
        public ArtifactRepository createDeploymentArtifactRepository(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/ArtifactRepositoryFactory.java

    import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
    import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
    
    @Deprecated
    public interface ArtifactRepositoryFactory {
    
        String DEFAULT_LAYOUT_ID = "default";
    
        String LOCAL_REPOSITORY_ID = "local";
    
        @Deprecated
        ArtifactRepositoryLayout getLayout(String layoutId) throws UnknownRepositoryLayoutException;
    
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/UnknownRepositoryLayoutException.java

     * component in the current container.
     *
     */
    @Deprecated
    public class UnknownRepositoryLayoutException extends InvalidRepositoryException {
    
        private final String layoutId;
    
        public UnknownRepositoryLayoutException(String repositoryId, String layoutId) {
            super("Cannot find ArtifactRepositoryLayout instance for: " + layoutId, repositoryId);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

    import javax.inject.Singleton;
    
    import java.util.Arrays;
    import java.util.List;
    
    import org.apache.maven.artifact.UnknownRepositoryLayoutException;
    import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
    import org.apache.maven.plugin.LegacySupport;
    import org.apache.maven.repository.RepositorySystem;
    import org.codehaus.plexus.PlexusContainer;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

        ArtifactRepositoryPolicy getReleases();
    
        void setReleaseUpdatePolicy(ArtifactRepositoryPolicy policy);
    
        ArtifactRepositoryLayout getLayout();
    
        void setLayout(ArtifactRepositoryLayout layout);
    
        String getKey();
    
        @Deprecated
        boolean isUniqueVersion();
    
        @Deprecated
        boolean isBlacklisted();
    
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (1)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            }
    
            return new File(resourceUrl.toURI());
        }
    
        protected ArtifactRepository getLocalRepository() throws Exception {
            ArtifactRepositoryLayout repoLayout = getContainer().lookup(ArtifactRepositoryLayout.class);
    
            ArtifactRepository r = repositorySystem.createArtifactRepository(
                    "local", "file://" + getLocalRepositoryPath().getAbsolutePath(), repoLayout, null, null);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top