Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 460 for Sources (0.05 sec)

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

    /**
     * Factory methods for creating different types of sources.
     * <p>
     * This class provides specialized source implementations for different use cases:
     * <ul>
     *   <li>Path sources - simple access to file content</li>
     *   <li>Build sources - POM files being actively built by Maven</li>
     *   <li>Resolved sources - POMs resolved from repositories</li>
     * </ul>
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSource.java

            if (!source.isEmpty()) {
              return false;
            }
          }
          return true;
        }
    
        @Override
        public Optional<Long> lengthIfKnown() {
          long result = 0L;
          for (CharSource source : sources) {
            Optional<Long> lengthIfKnown = source.lengthIfKnown();
            if (!lengthIfKnown.isPresent()) {
              return Optional.absent();
            }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharSource.java

            if (!source.isEmpty()) {
              return false;
            }
          }
          return true;
        }
    
        @Override
        public Optional<Long> lengthIfKnown() {
          long result = 0L;
          for (CharSource source : sources) {
            Optional<Long> lengthIfKnown = source.lengthIfKnown();
            if (!lengthIfKnown.isPresent()) {
              return Optional.absent();
            }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            Path path = Paths.get("/tmp");
            Source source = Sources.fromPath(path);
    
            assertNotNull(source);
            assertInstanceOf(Sources.PathSource.class, source);
            assertEquals(path.normalize(), source.getPath());
        }
    
        @Test
        void testBuildSource() {
            Path path = Paths.get("/tmp");
            ModelSource source = Sources.buildSource(path);
    
            assertNotNull(source);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

     *   <li>Resolved sources: Used for artifacts that have been resolved by Maven from repositories
     *       (using groupId:artifactId:version coordinates) and downloaded to the local repository.
     *       These sources do not support resolving other sources.</li>
     * </ul>
     *
     * @since 4.0.0
     * @see Source
     */
    public interface ModelSource extends Source {
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteSource.java

       *
       * @param sources the sources to concatenate
       * @return a {@code ByteSource} containing the concatenated data
       * @throws NullPointerException if any of {@code sources} is {@code null}
       * @since 15.0
       */
      public static ByteSource concat(ByteSource... sources) {
        return concat(ImmutableList.copyOf(sources));
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java

            ModelSource source = Sources.resolvedSource(path, modelId);
    
            assertNotNull(source);
            assertEquals(modelId, source.getModelId(), "Resolved source should return the provided modelId");
            assertNull(source.getPath(), "Resolved sources should return null for getPath()");
            assertEquals(path.toString(), source.getLocation());
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. pom.xml

    							<directory>${packaging.fess.lib.dir}/classes</directory>
    							<sources>
    								<source>
    									<location>${project.build.directory}/tomcat-lib</location>
    								</source>
    							</sources>
    						</mapping>
    						<mapping>
    							<directory>${packaging.fess.lib.dir}/classes/org/codelibs/fess</directory>
    							<sources>
    								<source>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 49.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java

            // Find the index of the original SourceRoot
            int index = -1;
            for (int i = 0; i < sourcesList.size(); i++) {
                SourceRoot source = sourcesList.get(i);
                if (source.scope() == originalSourceRoot.scope()
                        && source.language() == originalSourceRoot.language()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java

            Model orgModel = mbs.build(ModelBuilderRequest.builder()
                            .session(InternalSession.from(session))
                            .source(Sources.buildSource(file))
                            .requestType(ModelBuilderRequest.RequestType.BUILD_PROJECT)
                            .build())
                    .getEffectiveModel();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top