Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,219 for find (0.65 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java

            return getIdeWorspace();
        }
    
        @Override
        public Artifact find(Artifact artifact) {
            if (!artifact.isRelease() && buildReactor != null) {
                artifact = buildReactor.find(artifact);
            }
    
            if (!artifact.isResolved() && ideWorkspace != null) {
                artifact = ideWorkspace.find(artifact);
            }
    
            if (!artifact.isResolved()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 15 14:24:56 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java

                    "Expected 'ModelResolverException' not thrown.");
            assertNotNull(e.getMessage());
            assertThat(e.getMessage(), containsString("Could not find artifact org.apache:apache:pom:0 in central"));
        }
    
        @Test
        void testResolveParentThrowsModelResolverExceptionWhenNoMatchingVersionFound() throws Exception {
            final Parent parent = Parent.newBuilder()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/UserLocalArtifactRepository.java

        public UserLocalArtifactRepository(ArtifactRepository localRepository) {
            this.localRepository = localRepository;
            setLayout(localRepository.getLayout());
        }
    
        @Override
        public Artifact find(Artifact artifact) {
            File artifactFile = new File(localRepository.getBasedir(), pathOf(artifact));
    
            // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

     * or a {@code pom.xml} containing the {@code root="true"} attribute.
     *
     * @see DefaultRootLocator
     */
    public interface RootLocator {
    
        String UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE = "Unable to find the root directory. "
                + "Create a .mvn directory in the root directory or add the root=\"true\""
                + " attribute on the root project's model to identify it.";
    
        @Nonnull
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 20 10:58:12 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/LocalArtifactRepository.java

    /**
     * LocalArtifactRepository
     */
    @Deprecated
    public abstract class LocalArtifactRepository extends MavenArtifactRepository {
        public static final String IDE_WORKSPACE = "ide-workspace";
    
        public abstract Artifact find(Artifact artifact);
    
        public abstract boolean hasLocalMetadata();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 15 14:24:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

         * the basis for the Method map.
         */
        private final Class<?> clazz;
    
        /**
         * Cache of Methods, or CACHE_MISS, keyed by method
         * name and actual arguments used to find it.
         */
        private final Map<String, Object> methodCache = new Hashtable<>();
    
        private MethodMap methodMap = new MethodMap();
    
        /**
         * Standard constructor
         * @param clazz The class.
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                        findOptionalProjectBySelector(projects, baseDirectory, selector);
                if (!optSelectedProject.isPresent()) {
                    String message = "Could not find the selected project in the reactor: " + selector;
                    throw new MavenExecutionException(message, request.getPom());
                }
    
                MavenProject selectedProject = optSelectedProject.get();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResolver.java

                result.setVersion(version);
                result.setRepository(repo);
            } else {
                logger.warn(
                        resolvedPluginVersions
                                ? "Could not find compatible version of plugin {}:{} in any plugin repository"
                                : "Plugin {}:{} not found in any plugin repository",
                        request.getGroupId(),
                        request.getArtifactId());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 09 20:17:59 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

    import org.apache.maven.api.annotations.Nullable;
    
    import static org.apache.maven.api.services.BaseRequest.nonNull;
    
    /**
     * A Source specific to load POMs.  The {@link #resolve(ModelLocator, String)} method
     * will be used to find POMs for children modules.
     *
     * @since 4.0.0
     */
    public interface ModelSource extends Source {
    
        interface ModelLocator {
            /**
             * Returns the file containing the pom or null if a pom can not be
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         *
         * @param key The name of the method.
         * @return List list of methods
         */
        List<Method> get(String key) {
            return methodByNameMap.get(key);
        }
    
        /**
         * Find a method.  Attempts to find the
         * most specific applicable method using the
         * algorithm described in the JLS section
         * 15.12.2 (with the exception that it can't
         * distinguish a primitive type argument from
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 14.1K bytes
    - Viewed (0)
Back to top