Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for from (0.19 sec)

  1. maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

     * 3. Direct dependencies should inherit scope from dependencyManagement when
     *    they do not explicitly state a scope.
     *
     */
    @Deprecated
    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
        // ----------------------------------------------------------------------
        //
        // p1 inherits from p0
        // p0 inherits from super model
        //
        // or we can show it graphically as:
        //
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * Gets the relative path for an artifact cached from a remote repository.
         * Note that the artifact need not actually exist yet at the returned location,
         * the path merely indicates where the artifact would eventually be stored.
         * <p>
         * Shortcut for {@code getService(LocalArtifactManager.class).getPathForRemoteArtifact(...)}.
         *
         * @param remote the repository from where artifacts are downloaded
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

     *
     */
    @Deprecated
    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
        // ----------------------------------------------------------------------
        //
        // p1 inherits from p0
        // p0 inherits from super model
        //
        // or we can show it graphically as:
        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/InternalSession.java

    import static org.apache.maven.internal.impl.Utils.cast;
    
    public interface InternalSession extends Session {
    
        static InternalSession from(Session session) {
            return cast(InternalSession.class, session, "session should be an " + InternalSession.class);
        }
    
        static InternalSession from(org.eclipse.aether.RepositorySystemSession session) {
            return cast(InternalSession.class, session.getData().get(InternalSession.class), "session");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/ReactorReader.java

        }
    
        /**
         * Tries to resolve the specified artifact from the artifacts of the given project.
         *
         * @param project The project to try to resolve the artifact from, must not be <code>null</code>.
         * @param requestedArtifact The artifact to resolve, must not be <code>null</code>.
         * @return The matching artifact from the project or <code>null</code> if not found. Note that this
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            InternalMavenSession sessionV4 = InternalMavenSession.from(session.getSession());
            Project project = sessionV4.getProject(session.getCurrentProject());
    
            List<org.apache.maven.api.RemoteRepository> repos =
                    sessionV4.getService(ProjectManager.class).getRemoteProjectRepositories(project);
            sessionV4 = InternalMavenSession.from(sessionV4.withRemoteRepositories(repos));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                            .map(Object::toString)
                            .toList();
                    if (!Objects.equals(oldRepos, newRepos)) {
                        logger.debug("Merging repositories from " + model.getId() + "\n"
                                + newRepos.stream().map(s -> "    " + s).collect(Collectors.joining("\n")));
                    }
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java

        public ArtifactResolverResult resolve(ArtifactResolverRequest request)
                throws ArtifactResolverException, IllegalArgumentException {
            nonNull(request, "request");
            InternalSession session = InternalSession.from(request.getSession());
            try {
                Map<Artifact, Path> paths = new HashMap<>();
                ArtifactManager artifactManager = session.getService(ArtifactManager.class);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            Runtime.getRuntime().addShutdownHook(cleanupWarning);
        }
    
        private void maybeWarnAboutCleanUp() {
            if (warnAboutCleanup) {
                System.out.println("[WARNING] TestFileManager from: " + callerInfo.getClassName() + " not cleaned up!");
            }
        }
    
        public void markForDeletion(File toDelete) {
            filesToDelete.add(toDelete);
            warnAboutCleanup = true;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            InternalSession.associate(rss, this.session);
            sessionScope.enter();
            sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(this.session));
        }
    
        private Project project(Artifact artifact) {
            return session.getService(ProjectBuilder.class)
                    .build(ProjectBuilderRequest.builder()
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
Back to top