Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for contra (4.61 sec)

  1. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

                    "Expected 'UnresolvableModelException' not thrown.");
            assertNotNull(e.getMessage());
            assertThat(e.getMessage(), containsString("Could not find artifact org.apache:apache:pom:0 in central"));
        }
    
        @Test
        void testResolveParentThrowsUnresolvableModelExceptionWhenNoMatchingVersionFound() throws Exception {
            final Parent parent = new Parent();
            parent.setGroupId("org.apache");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * under the License.
     */
    package org.apache.maven.api.plugin;
    
    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * This interface forms the contract required for <code>Mojos</code> to interact with the <code>Maven</code>
     * infrastructure.<br>
     * It features an <code>execute()</code> method, which triggers the Mojo's build-process behavior, and can throw
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  3. maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java

            Session s = ApiRunner.createSession();
            LocalRepository localRepository = s.createLocalRepository(localRepoPath);
            RemoteRepository remoteRepository = s.createRemoteRepository(
                    RemoteRepository.CENTRAL_ID, remoteRepoPath.toUri().toString());
            session = s.withLocalRepository(localRepository).withRemoteRepositories(List.of(remoteRepository));
        }
    
        @Test
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/toolchain/ToolchainPrivate.java

     * under the License.
     */
    package org.apache.maven.toolchain;
    
    import java.util.Map;
    
    import org.apache.maven.toolchain.model.ToolchainModel;
    
    /**
     * a private contract between the toolchains plugin and the components.
     */
    public interface ToolchainPrivate extends Toolchain {
    
        /**
         * Let the toolchain decide if it matches requirements defined
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

            DefaultSession session = new DefaultSession(
                    rsession,
                    system,
                    List.of(lookup.lookup(RepositoryFactory.class)
                            .createRemote("central", "https://repo.maven.apache.org/maven2")),
                    null,
                    lookup);
    
            Settings settings = session.getService(SettingsBuilder.class)
                    .build(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

            // so add central to the computed settings for backward compatibility.
            if (effective.getRepositories().isEmpty()
                    && effective.getPluginRepositories().isEmpty()) {
                Repository central = Repository.newBuilder()
                        .id("central")
                        .name("Central Repository")
                        .url("https://repo.maven.apache.org/maven2")
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Repository.java

     *
     * @since 4.0.0
     * @see RemoteRepository
     * @see LocalRepository
     */
    @Experimental
    @Immutable
    public interface Repository {
    
        /**
         * The reserved id for Maven Central
         */
        String CENTRAL_ID = "central";
    
        /**
         * Gets the identifier of this repository.
         *
         * @return the (case-sensitive) identifier, never {@code null}
         */
        @Nonnull
        String getId();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 13 11:39:50 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                        .relocation(model.getDistributionManagement().getRelocation())
                        .build());
            }
            // only keep repositories other than 'central'
            builder.pluginRepositories(pruneRepositories(model.getPluginRepositories()));
            builder.repositories(pruneRepositories(model.getRepositories()));
            return builder;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java

                project.setOriginalModel(model);
                project.setRemoteArtifactRepositories(Collections.singletonList(new MavenArtifactRepository(
                        "central", "http://repo.maven.apache.org/", new DefaultRepositoryLayout(), null, null)));
            }
            Model model = builder.build(session, project, file);
    
            assertNotNull(model);
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

     * graph construction.
     * <p>
     * Extend this class {@code createXXX()} methods and override to customize, if needed. The contract of this class makes
     * sure that these (potentially overridden) methods are invoked only once, and instance created by those methods are
     * memorized and kept as long as supplier instance is kept open.
     * <p>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 43.7K bytes
    - Viewed (0)
Back to top