Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,319 for find (0.24 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/api/services/model/RootLocator.java

     * The default implementation will look for a {@code .mvn} child directory
     * or a {@code pom.xml} containing the {@code root="true"} attribute.
     */
    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
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.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;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. 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();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  4. maven-core/src/site/apt/configuration-management.apt

     here's what I do currently in the netbeans part of the mavenide project to
     find the relevant subprojects/sibling projects. I check if the user has
     defined the maven.multiproject.includes property in any of his properties
     files for the current project. if yes. then I'm able to find projects that
     can be offered to be opened together with the current project.
     problems with the current solution are:
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java

    import org.apache.maven.project.path.PathTranslator;
    import org.codehaus.plexus.interpolation.Interpolator;
    import org.codehaus.plexus.interpolation.RegexBasedInterpolator;
    
    /**
     * Use a regular expression search to find and resolve expressions within the POM.
     *
     * TODO Consolidate this logic with the PluginParameterExpressionEvaluator, minus deprecations/bans.
     */
    @Deprecated
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K 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
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/internal/impl/DefaultSessionTest.java

            DefaultSession session =
                    new DefaultSession(ms, mock(RepositorySystem.class), Collections.emptyList(), null, null, null);
    
            assertEquals(
                    RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE,
                    assertThrows(IllegalStateException.class, session::getRootDirectory)
                            .getMessage());
        }
    
        @Test
        void testRootDirectory() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jan 25 13:58:24 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

                    boolean daemon = active.isDaemon();
                    assertTrue(daemon, name + " is no daemon Thread.");
                }
            }
    
            assertTrue(seen, "Could not find ThreadGroup: " + DefaultArtifactResolver.DaemonThreadCreator.THREADGROUP_NAME);
        }
    
        @Test
        void testLookup() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

        //
        /**
         *
         * @param artifact an artifact
         * @return found artifact
         * @since 3.0-alpha-3
         */
        Artifact find(Artifact artifact);
    
        /**
         * Finds the versions of the specified artifact that are available in this repository.
         *
         * @param artifact The artifact whose available versions should be determined, must not be {@code null}.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Feb 23 17:14:45 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            ClassLoader cloader = Thread.currentThread().getContextClassLoader();
    
            URL resourceUrl = cloader.getResource(resource);
    
            if (resourceUrl == null) {
                throw new FileNotFoundException("Unable to find: " + resource);
            }
    
            return new File(resourceUrl.toURI());
        }
    
        protected ArtifactRepository getLocalRepository() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.7K bytes
    - Viewed (0)
Back to top