Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for source (0.22 sec)

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

     * @see org.apache.maven.api.services.ProjectBuilder#build(Session, Source)
     * @see org.apache.maven.api.services.SettingsBuilder#build(Session, Source, Source, Source)
     * @see org.apache.maven.api.services.ToolchainsBuilder#build(Session, Source, Source)
     */
    @Experimental
    public interface Source {
    
        /**
         * Provides access the file to be parsed, if this source is backed by a file.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

        /**
         * Gets the global Toolchains source.
         *
         * @return the global Toolchains source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getGlobalToolchainsSource();
    
        /**
         * Gets the user Toolchains source.
         *
         * @return the user Toolchains source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getUserToolchainsSource();
    
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

                    return xml.read(inputStream, request.isStrict(), source);
                } else if (reader != null) {
                    return xml.read(reader, request.isStrict(), source);
                } else if (path != null) {
                    try (InputStream is = Files.newInputStream(path)) {
                        return xml.read(is, request.isStrict(), source);
                    }
                } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/project/TestArtifactResolver.java

    @Named("classpath")
    @Singleton
    @Deprecated
    public class TestArtifactResolver extends DefaultArtifactResolver {
        private ArtifactMetadataSource source;
    
        @Inject
        public TestArtifactResolver(final @Named("classpath") ArtifactMetadataSource source) {
            this.source = source;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

            private final boolean global;
            private final Artifact source;
            private final Artifact target;
    
            private Relocation(boolean global, Artifact source, Artifact target) {
                this.predicate = artifactPredicate(source);
                this.global = global;
                this.source = source;
                this.target = target;
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

         */
        int getColumnNumber();
    
        /**
         * Return the byte or character offset into the input source this location
         * is pointing to. If the input source is a file or a byte stream then
         * this is the byte offset into that stream, but if the input source is
         * a character media then the offset is the character offset.
         * Returns -1 if there is no offset available.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsBuilder.java

            List<BuilderProblem> problems = new ArrayList<>();
    
            Source globalSource = request.getGlobalToolchainsSource().orElse(null);
            PersistedToolchains global = readToolchains(globalSource, request, problems);
    
            Source userSource = request.getUserToolchainsSource().orElse(null);
            PersistedToolchains user = readToolchains(userSource, request, problems);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

    import org.apache.maven.api.annotations.Nullable;
    
    import static org.apache.maven.api.services.BaseRequest.nonNull;
    
    /**
     * A Source specific to load POMs.  The {@link #resolve(ModelLocator, String)} method
     * will be used to find POMs for children modules.
     *
     * @since 4.0.0
     */
    public interface ModelSource extends Source {
    
        interface ModelLocator {
            /**
             * Returns the file containing the pom or null if a pom can not be
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileInjector.java

            public void mergeModelBase(ModelBase.Builder builder, ModelBase target, ModelBase source) {
                mergeModelBase(builder, target, source, true, Collections.emptyMap());
            }
    
            public void mergeBuildBase(BuildBase.Builder builder, BuildBase target, BuildBase source) {
                mergeBuildBase(builder, target, source, true, Collections.emptyMap());
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultBuilderProblem.java

     * that exhibits the problem.
     */
    class DefaultBuilderProblem implements BuilderProblem {
        final String source;
        final int lineNumber;
        final int columnNumber;
        final Exception exception;
        final String message;
        final Severity severity;
    
        DefaultBuilderProblem(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top