Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Read (0.14 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                plugin.setGroupId(tok[0]);
                plugin.setArtifactId(tok[1]);
                plugin.setVersion(tok[2]);
                goal = tok[3];
    
                // This won't be valid, but it constructs something easy to read in the error message
                for (int idx = 4; idx < tok.length; idx++) {
                    goal += ":" + tok[idx];
                }
            } else if (numTokens == 3) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

            try {
                try (InputStream is = settingsSource.openStream()) {
                    settings = request.getSession()
                            .getService(SettingsXmlFactory.class)
                            .read(XmlReaderRequest.builder()
                                    .inputStream(is)
                                    .location(settingsSource.getLocation())
                                    .strict(true)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * The input stream may be for a file or for an entry in a JAR file.
         */
        @Nonnull
        private static String getModuleName(InputStream in) throws IOException {
            return ModuleDescriptor.read(in).name();
        }
    
        /**
         * Returns the type of path detected. The return value is {@link JavaPathType#MODULES}
         * if the dependency is a modular JAR file or a directory containing module descriptor(s),
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                            request.getLocalRepository().getBasedir(),
                            request.getLocalRepository().pathOf(pomArtifact));
    
                    try {
                        Model model = modelReader.read(pomFile, null).getDelegate();
    
                        dependencies = Dependency.dependencyToApiV3(model.getDependencies());
                    } catch (IOException e) {
                        e.printStackTrace();
                    }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            org.apache.maven.project.ProjectBuilder projectBuilder =
                    getContainer().lookup(org.apache.maven.project.ProjectBuilder.class);
    
            // read poms separately
            boolean parentFileWasFoundOnChild = false;
            for (File file : toRead) {
                List<ProjectBuildingResult> results =
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * The input stream may be for a file or for an entry in a JAR file.
         */
        @Nonnull
        private static String getModuleName(InputStream in) throws IOException {
            return ModuleDescriptor.read(in).name();
        }
    
        /**
         * Returns the type of path detected. The return value is {@link JavaPathType#MODULES}
         * if the dependency is a modular JAR file or a directory containing module descriptor(s),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionRangeResolver.java

                            try (InputStream in = Files.newInputStream(metadata.getPath())) {
                                versioning =
                                        new MetadataStaxReader().read(in, false).getVersioning();
                            }
                        }
                    }
                }
            } catch (Exception e) {
                invalidMetadata(session, trace, metadata, repository, e);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. maven-core/src/site/apt/offline-mode.apt

    Offline Mode Design
    
    * UPDATE: 18-April-2005
    
      We cannot take the approach outlined below of detecting which remote
      repositories are "really" offline, since offline mode is more of a behavior,
      and this will lead to counter-intuitive results. A different feature may exist
      unimplemented, which is to detect when the network is down and provide better
      feedback for that case. However, when offline mode is declared, nothing
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

                            try (InputStream in = Files.newInputStream(metadata.getPath())) {
                                versioning =
                                        new MetadataStaxReader().read(in, false).getVersioning();
    
                                /*
                                NOTE: Users occasionally misuse the id "local" for remote repos which screws up the metadata
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

        }
    
        // org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process
        // TODO take repo mans into account as one may be aggregating prefixes of many
        // TODO collect at the root of the repository, read the one at the root, and fetch remote if something is missing
        // or the user forces the issue
    
        private List<MojoExecution> calculateForkedGoal(
                MojoExecution mojoExecution,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 26.3K bytes
    - Viewed (0)
Back to top