Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for from (1.72 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/model/Graph.java

    import java.util.Map;
    import java.util.Set;
    
    class Graph {
    
        final Map<String, Set<String>> graph = new LinkedHashMap<>();
    
        synchronized void addEdge(String from, String to) throws CycleDetectedException {
            if (graph.computeIfAbsent(from, l -> new HashSet<>()).add(to)) {
                List<String> cycle = visitCycle(graph, Collections.singleton(to), new HashMap<>(), new LinkedList<>());
                if (cycle != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

    import org.eclipse.aether.resolution.ArtifactDescriptorException;
    import org.eclipse.aether.resolution.ArtifactDescriptorResult;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Relocation source from user properties.
     *
     * @since 4.0.0
     */
    @Singleton
    @Named(UserPropertiesArtifactRelocationSource.NAME)
    @Priority(50)
    @SuppressWarnings("checkstyle:MagicNumber")
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. 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)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

    /**
     * Access to {@link Type} registry.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface TypeRegistry extends ExtensibleEnumRegistry<Type> {
    
        /**
         * Obtain the {@link Type} from the specified {@code id}.
         * If no type is known for {@code id}, the registry will
         * create a custom {@code Type} for it.
         *
         * @param id the id of the type to retrieve
         * @return the type
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top