Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for locate (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. manifests/charts/base/values.yaml

        # to use for pulling any images in pods that reference this ServiceAccount.
        # Must be set for any cluster configured with private docker registry.
        imagePullSecrets: []
    
        # Used to locate istiod.
        istioNamespace: istio-system
    
        externalIstiod: false
        remotePilotAddress: ""
    
        # Platform where Istio is deployed. Possible values are: "openshift", "gcp".
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  5. 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)
  6. maven-api-impl/src/main/java/org/apache/maven/api/services/model/RootLocator.java

    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}
    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)
  7. 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)
  8. istioctl/pkg/dashboard/dashboard.go

    			var podName, ns string
    			if labelSelector != "" {
    				pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector)
    				if err != nil {
    					return fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err)
    				}
    
    				if len(pl.Items) < 1 {
    					return errors.New("no pods found")
    				}
    
    				if len(pl.Items) > 1 {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/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()
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java

            Path pomPath = pomFile.resolveSibling(relativePath).normalize();
            if (Files.isDirectory(pomPath)) {
                pomPath = context.locate(pomPath);
            }
    
            if (pomPath == null || !Files.isRegularFile(pomPath)) {
                return Optional.empty();
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top