Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for relocate (0.2 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenArtifactRelocationSource.java

        /**
         * Returns {@link Artifact} instance where to relocate to, or {@code null}.
         *
         * @param session The session, never {@code null}.
         * @param result The artifact descriptor result, never {@code null}.
         * @param model The artifact model, never {@code null}.
         * @return The {@link Artifact} to relocate to, or {@code null} if no relocation wanted.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

         * means: 3 entries, ban <code>org.foo group</code> (exactly, so <code>org.foo.bar</code> is allowed),
         * relocate <code>org.here</code> to <code>org.there</code> and finally globally relocate (see <code>&gt;&gt;</code> above)
         * <code>javax.inject:javax.inject:1</code> to <code>jakarta.inject:jakarta.inject:1.0.5</code>.
         *
         * @since 4.0.0
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:24:08 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java

                            null,
                            relocation.getVersion(),
                            relocation.getMessage());
                    LOGGER.debug(
                            "The artifact {} has been relocated to {}: {}",
                            artifactDescriptorResult.getRequest().getArtifact(),
                            result,
                            relocation.getMessage());
                    return result;
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContext.java

         * @throws IllegalStateException if multiple versions of the same GA are part of the reactor
         */
        Model getRawModel(Path from, String groupId, String artifactId);
    
        /**
         * Locate the POM file inside the given directory.
         */
        Path locate(Path path);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java

         * path if the project directory is given as an absolute path.
         *
         * @param projectDirectory The (possibly non-existent) base directory to locate the POM file in, must not be {@code
         *            null}.
         * @return The path to the (possibly non-existent) POM file, never {@code null}.
         * @deprecated Use {@link #locatePom(Path)} instead.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                // Add DI bindings
                list.addAll(getBindings().getOrDefault(key, Set.of()));
                // Add Plexus bindings
                for (var bean : locator.get().locate(toGuiceKey(key))) {
                    if (isPlexusBean(bean)) {
                        list.add(new BindingToBeanEntry<>(key).toBeanEntry(bean));
                    }
                }
                if (!list.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

            DefaultModelProblemCollector problems = (DefaultModelProblemCollector) collector;
            return new TransformerContext() {
    
                @Override
                public Path locate(Path path) {
                    return context.locate(path);
                }
    
                @Override
                public String getUserProperty(String key) {
                    return context.userProperties.computeIfAbsent(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                        && !parentArtifact.getDependencyFilter().include(artifact)) {
                                    // MNG-3769: the [probably relocated] artifact is excluded.
                                    // We could process exclusions on relocated artifact details in the
                                    // MavenMetadataSource.createArtifacts(..) step, BUT that would
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

     */
    package org.apache.maven.model.root;
    
    import java.nio.file.Path;
    
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Interface used to locate the root directory for a given project.
     *
     * The root locator is usually looked up from the plexus container.
     * One notable exception is the computation of the early {@code session.rootDirectory}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

            // Note that the ModelProcessor#locatePom never returns null
            // while the ModelParser#locatePom needs to return an existing path!
            Path pom = modelParsers.stream()
                    .map(m -> m.locate(projectDirectory)
                            .map(org.apache.maven.api.services.Source::getPath)
                            .orElse(null))
                    .filter(Objects::nonNull)
                    .findFirst()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top