Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for LegacySupport (0.23 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/LegacySupport.java

     * particular, this interface can be changed or deleted without prior notice.
     *
     * @since 3.0
     */
    public interface LegacySupport {
    
        /**
         * Sets the currently active session. Some legacy components are basically stateful and their API is missing
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMetadataSource.java

                ArtifactFactory artifactFactory,
                ProjectBuilder projectBuilder,
                MavenMetadataCache cache,
                LegacySupport legacySupport,
                MavenRepositorySystem mavenRepositorySystem) {
            super(repositoryMetadataManager, artifactFactory, projectBuilder, cache, legacySupport, mavenRepositorySystem);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

        @Inject
        private LegacySupport legacySupport;
    
        @Inject
        private SettingsDecrypter settingsDecrypter;
    
        @Inject
        private MirrorSelector mirrorSelector;
    
        @Inject
        private ArtifactRepositoryFactory artifactRepositoryFactory;
    
        public AuthenticationInfo getAuthenticationInfo(String id) {
            MavenSession session = legacySupport.getSession();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultLegacySupport.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.concurrent.atomic.AtomicReference;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.plugin.LegacySupport;
    import org.eclipse.aether.RepositorySystemSession;
    
    /**
     * Helps to provide backward-compatibility with plugins that use legacy components. <strong>Warning:</strong> This is an
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

                throw new IllegalStateException(e);
            }
        }
    
        private static RepositorySystemSession rss(PlexusContainer c) {
            try {
                LegacySupport legacySupport = c.lookup(LegacySupport.class);
    
                return legacySupport.getRepositorySession();
            } catch (ComponentLookupException e) {
                throw new IllegalStateException(e);
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

    @Named
    @Singleton
    @Deprecated
    public class DefaultArtifactInstaller extends AbstractLogEnabled implements ArtifactInstaller {
    
        @Inject
        private RepositorySystem repoSystem;
    
        @Inject
        private LegacySupport legacySupport;
    
        /** @deprecated we want to use the artifact method only, and ensure artifact.file is set correctly. */
        @Deprecated
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            LegacySupport legacySupport = container.lookup(LegacySupport.class);
            DefaultMavenExecutionRequest mavenExecutionRequest = new DefaultMavenExecutionRequest();
            MavenSession mavenSession =
                    new MavenSession(container, session, mavenExecutionRequest, new DefaultMavenExecutionResult());
            legacySupport.setSession(mavenSession);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

     */
    @Named
    @Deprecated
    public class DefaultArtifactDeployer extends AbstractLogEnabled implements ArtifactDeployer {
    
        @Inject
        private RepositorySystem repoSystem;
    
        @Inject
        private LegacySupport legacySupport;
    
        private Map<Object, MergeableMetadata> relatedMetadata = new ConcurrentHashMap<>();
    
        /**
         * @deprecated we want to use the artifact method only, and ensure artifact.file is set
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

    public class DefaultArtifactRepositoryFactory implements ArtifactRepositoryFactory {
    
        @Inject
        private org.apache.maven.repository.legacy.repository.ArtifactRepositoryFactory factory;
    
        @Inject
        private LegacySupport legacySupport;
    
        @Inject
        private PlexusContainer container;
    
        public ArtifactRepositoryLayout getLayout(String layoutId) throws UnknownRepositoryLayoutException {
            return factory.getLayout(layoutId);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  10. maven-compat/src/test/resources/org/apache/maven/artifact/resolver/ArtifactResolverTest.xml

              <role-hint>default</role-hint>
              <field-name>container</field-name>
            </requirement>
            <requirement>
              <role>org.apache.maven.plugin.LegacySupport</role>
              <role-hint>default</role-hint>
              <field-name>legacySupport</field-name>
            </requirement>
            <requirement>
              <role>org.eclipse.aether.RepositorySystem</role>
              <role-hint>default</role-hint>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 30 20:43:28 GMT 2011
    - 2.7K bytes
    - Viewed (0)
Back to top