Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getMavenSession (0.17 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

        public int getDegreeOfConcurrency() {
            return getMavenSession().getRequest().getDegreeOfConcurrency();
        }
    
        @Nonnull
        @Override
        public Instant getStartTime() {
            return getMavenSession().getRequest().getStartTime().toInstant();
        }
    
        @Override
        public Path getRootDirectory() {
            return getMavenSession().getRequest().getRootDirectory();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

        @Nonnull
        @Override
        public Optional<Path> getPath(@Nonnull Artifact artifact) {
            String id = id(nonNull(artifact, "artifact"));
            if (session.getMavenSession().getAllProjects() != null) {
                for (MavenProject project : session.getMavenSession().getAllProjects()) {
                    if (id.equals(id(project.getArtifact()))
                            && project.getArtifact().getFile() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java

        @Override
        public List<Toolchain> getToolchains(Session session, String type, Map<String, String> requirements)
                throws ToolchainManagerException {
            MavenSession s = InternalMavenSession.from(session).getMavenSession();
            List<org.apache.maven.toolchain.Toolchain> toolchains =
                    toolchainManagerPrivate.getToolchains(s, type, requirements);
            return new MappedList<>(toolchains, this::toToolchain);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/InternalMavenSession.java

                List<RemoteRepository> repositories);
    
        org.apache.maven.artifact.repository.ArtifactRepository toArtifactRepository(RemoteRepository repository);
    
        MavenSession getMavenSession();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            InternalSession iSession = InternalSession.from(configuration.getRepositorySession());
            InternalMavenSession mSession = InternalMavenSession.from(iSession);
            MavenSession session = mSession.getMavenSession();
    
            session.setProjects(projects);
            session.setAllProjects(session.getProjects());
    
            return session;
        }
    
        protected void initRepoSession(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top