Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 209 for locate (0.17 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformerContext.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);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

         */
        String STRICT = "strict";
    
        /**
         * Locates the pom in the given directory.
         *
         * @param dir the directory to locate the pom for, never {@code null}
         * @return a {@code Source} pointing to the located pom or an empty {@code Optional} if none was found by this parser
         */
        @Nonnull
        Optional<Source> locate(@Nonnull Path dir);
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/LifecyclePhaseNotFoundException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle;
    
    /**
     * Signals a failure to locate the lifecycle for some phase.
     *
     */
    public class LifecyclePhaseNotFoundException extends Exception {
    
        private final String lifecyclePhase;
    
        /**
    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)
  4. maven-core/src/main/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformation.java

            try (InputStream is = DefaultRuntimeInformation.class.getResourceAsStream("/" + resource)) {
                if (is != null) {
                    props.load(is);
                } else {
                    logger.warn("Could not locate " + resource + " on classpath, Maven runtime information not available");
                }
            } catch (IOException e) {
                String msg = "Could not parse " + resource + ", Maven runtime information not available";
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 18 11:03:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContextBuilder.java

            DefaultModelProblemCollector problems = (DefaultModelProblemCollector) collector;
            return new ModelTransformerContext() {
    
                @Override
                public Path locate(Path path) {
                    return context.locate(path);
                }
    
                @Override
                public String getUserProperty(String key) {
                    return context.userProperties.computeIfAbsent(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                    }
                }
    
                @Override
                public <T> T lookup(Class<T> type, String name) {
                    try {
                        return injector.getInstance(Key.of(type, name));
                    } catch (DIException e) {
                        throw new MavenException("Unable to locate instance of type " + type, e);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

                targetClass = repository.find(targetClassName);
                if (targetClass == null) {
                    listener.warning(String.format("Could not locate target class '%s' for field value link '%s'", targetClass, fieldName));
                    Element element = document.createElement("UNHANDLED-VALUE");
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            }
    
            @Override
            public Model getRawModel(Path from, Path p) {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public Path locate(Path path) {
                throw new UnsupportedOperationException();
            }
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContext.java

        @Override
        public Model getRawModel(Path from, String groupId, String artifactId) {
            return Holder.deref(modelByGA.get(new GAKey(groupId, artifactId)));
        }
    
        @Override
        public Path locate(Path path) {
            return modelLocator.locateExistingPom(path);
        }
    
        static class GAKey {
            private final String groupId;
            private final String artifactId;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/IoTestCase.java

        if (testDir != null) {
          return testDir;
        }
    
        URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt");
        if (testFileUrl == null) {
          throw new RuntimeException("unable to locate testdata directory");
        }
    
        if (testFileUrl.getProtocol().equals("file")) {
          try {
            File testFile = new File(testFileUrl.toURI());
            testDir = testFile.getParentFile(); // the testdata directory
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
Back to top