Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 325 for Source (0.08 sec)

  1. compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java

    import java.io.InputStream;
    
    /**
     * Provides access to the contents of a source independently of the backing store (e.g. file system, database, memory).
     *
     */
    public interface Source {
    
        /**
         * Gets a byte stream to the source contents. Closing the returned stream is the responsibility of the caller.
         *
         * @return A byte stream to the source contents, never {@code null}.
         * @throws IOException in case of IO issue
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/test/resources/source.txt

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12 bytes
    - Viewed (0)
  3. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            // merge implicitly assumes that merge is only called on the same GAV and does not perform any validation here!
            Metadata source = new Metadata();
            source.setArtifactId("source-artifact");
            source.setGroupId("source-group");
            source.setVersion("2.0");
            assertFalse(target.merge(source));
            assertEquals("myArtifact", target.getArtifactId());
            assertEquals("myGroup", target.getGroupId());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileToRawModelMerger.java

            // don't merge
        }
    
        @Override
        protected void mergeModel_Licenses(
                Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) {
            // don't merge
        }
    
        @Override
        protected void mergeModel_MailingLists(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingRequest.java

        /**
         * Gets the user toolchains source.
         *
         * @return The user toolchains source or {@code null} if none.
         */
        Source getUserToolchainsSource();
    
        /**
         * Sets the user toolchains source. If both user toolchains and a global toolchains are given, the user toolchains
         * take precedence.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

         */
        ModelData(Source source, Model model, String groupId, String artifactId, String version) {
            this.source = source;
            this.model = model;
            this.groupId = groupId;
            this.artifactId = artifactId;
            this.version = version;
        }
    
        public Source getSource() {
            return source;
        }
    
        /**
         * Gets the model being wrapped.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

            target.setDescription( "TARGET" );
    
            Model source = new Model();
            source.setDescription( "SOURCE" );
    
            modelMerger.merge( target, source, true, null );
            assertThat( target.getDescription(), is( "SOURCE" ) );
    
            target.setDescription( "TARGET" );
            modelMerger.merge( target, source, false, null );
            assertThat( target.getDescription(), is( "TARGET" ) );
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

        }
    
        private org.apache.maven.api.services.Source toSource(File file, Source source) {
            if (file != null && file.exists()) {
                return org.apache.maven.api.services.Source.fromPath(file.toPath());
            } else if (source instanceof FileSource fs) {
                return org.apache.maven.api.services.Source.fromPath(fs.getPath());
            } else if (source != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. compat/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());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top