Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for read (0.23 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

            Build build = getModel().getBuild();
            return build != null ? build : Build.newInstance();
        }
    
        /**
         * Returns the path to the pom file for this project.
         * A project is usually read from a file named {@code pom.xml},
         * which contains the {@linkplain #getModel() model} in an XML form.
         * When a custom {@code org.apache.maven.api.spi.ModelParser} is used,
         * the path may point to a non XML file.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                attachedArtifacts.set(index, artifact);
            } else {
                attachedArtifacts.add(artifact);
            }
        }
    
        /**
         * Returns a read-only list of the attached artifacts to this project.
         *
         * @return the attached artifacts of this project
         */
        public List<Artifact> getAttachedArtifacts() {
            if (attachedArtifacts == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

            Metadata recessive = read(existing);
    
            merge(recessive);
    
            write(result, metadata);
    
            merged = true;
        }
    
        @Override
        public boolean isMerged() {
            return merged;
        }
    
        protected abstract void merge(Metadata recessive);
    
        static Metadata read(Path metadataPath) throws RepositoryException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/mdo/maven.mdo

            </field>
            <field>
              <name>tag</name>
              <version>4.0.0+</version>
              <description>The tag of current code. By default, it's set to HEAD during development.</description>
              <type>String</type>
              <defaultValue>HEAD</defaultValue>
            </field>
            <field>
              <name>url</name>
              <version>4.0.0+</version>
              <description>
                <![CDATA[
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

                SettingsStaxReader reader = new SettingsStaxReader();
                InputSource source = new InputSource(settingsFile.toString());
                return new Settings(reader.read(is, true, source));
            }
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. 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)
  7. maven-core/src/main/java/org/apache/maven/plugin/internal/ReadOnlyPluginParametersValidator.java

    import org.apache.maven.plugin.descriptor.Parameter;
    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator;
    import org.codehaus.plexus.configuration.PlexusConfiguration;
    
    /**
     * Print warnings if read-only parameters of a plugin are used in configuration.
     *
     */
    @Named
    @Singleton
    class ReadOnlyPluginParametersValidator extends AbstractMavenPluginDescriptorSourcedParametersValidator {
    
        @Inject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                    ExceptionSummary child = handle(result);
                    if (child != null) {
                        children.add(child);
                    }
                }
    
                message = "The build could not read " + children.size() + " project" + (children.size() == 1 ? "" : "s");
            } else {
                message = getMessage(message, exception);
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  9. 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)
  10. maven-compat/src/main/java/org/apache/maven/execution/DefaultRuntimeInformation.java

            String mavenVersion = rtInfo.getMavenVersion();
    
            if (mavenVersion == null || mavenVersion.isEmpty()) {
                throw new InitializationException("Unable to read Maven version from maven-core");
            }
    
            applicationVersion = new DefaultArtifactVersion(mavenVersion);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top