Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,722 for find (0.47 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-compat/src/main/java/org/apache/maven/artifact/UnknownRepositoryLayoutException.java

        public UnknownRepositoryLayoutException(String repositoryId, String layoutId) {
            super("Cannot find ArtifactRepositoryLayout instance for: " + layoutId, repositoryId);
            this.layoutId = layoutId;
        }
    
        public UnknownRepositoryLayoutException(String repositoryId, String layoutId, ComponentLookupException e) {
            super("Cannot find ArtifactRepositoryLayout instance for: " + layoutId, repositoryId, e);
            this.layoutId = layoutId;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. 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)
  4. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            return delegate.pathOfLocalRepositoryMetadata(
                    new ArtifactMetadataAdapter(metadata), new ArtifactRepositoryAdapter(repository));
        }
    
        public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request) {
            String path = getPathForLocalArtifact(request.getArtifact());
            File file = new File(getRepository().getBasedir(), path);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            } else {
                result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);
            }
            return result;
        }
    
        public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request) {
            String path = getPathForLocalArtifact(request.getArtifact());
            File file = new File(getRepository().getBasedir(), path);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. apache-maven/src/assembly/shared/init.cmd

    @REM ==== END VALIDATION ====
    
    :init
    
    set "CLASSWORLDS_CONF=%MAVEN_HOME%\bin\m2.conf"
    
    @REM Find the project basedir, i.e., the directory that contains the directory ".mvn".
    @REM Fallback to current working directory if not found.
    
    set "EXEC_DIR=%CD%"
    set "WDIR=%EXEC_DIR%"
    
    @REM Look for the --file switch and start the search for the .mvn directory from the specified
    @REM POM location, if supplied.
    
    set FILE_ARG=
    :arg_loop
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Dec 16 21:35:28 UTC 2022
    - 2.1K bytes
    - Viewed (0)
Back to top