Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 252 for source (5.41 sec)

  1. 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)
  2. 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)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContextBuilder.java

                    ModelSource source = getSource(groupId, artifactId);
                    if (source == null) {
                        // we need to check the whole reactor in case it's a dependency
                        loadFullReactor();
                        source = getSource(groupId, artifactId);
                    }
                    if (source != null) {
                        if (!addEdge(from, source.getPath(), problems)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

     * thrown or a simple string message. In addition, a problem carries a hint about its source.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface BuilderProblem {
    
        /**
         * Gets the hint about the source of the problem. While the syntax of this hint is unspecified and depends on the
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java

            source = new StringSource("Hello World!", "LOCATION");
            assertEquals("LOCATION", source.getLocation());
        }
    
        @Test
        void testGetContent() {
            StringSource source = new StringSource(null);
            assertEquals("", source.getContent());
    
            source = new StringSource("Hello World!", "LOCATION");
            assertEquals("Hello World!", source.getContent());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  8. maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsolutePath(), source.getLocation());
        }
    
        @Test
        void testGetFile() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsoluteFile(), source.getFile());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

            return builder(nonNull(request, "request cannot be null"))
                    .source(nonNull(source, "source cannot be null"))
                    .build();
        }
    
        @Nonnull
        static ModelBuilderRequest build(@Nonnull Session session, @Nonnull ModelSource source) {
            return builder()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java

            }
        }
    
        private static final class SourceCacheKey {
            private final Source source;
    
            private final String tag;
    
            private final int hash;
    
            SourceCacheKey(Source source, String tag) {
                this.source = source;
                this.tag = tag;
                this.hash = Objects.hash(source, tag);
            }
    
            @Override
            public String toString() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top