Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 311 for source (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

        }
    
        @Override
        public String toString() {
            return "[ " + "FROM:("
                    + (source == null ? "no source" : (source.md == null ? "no source MD" : source.md.toString())) + ") "
                    + "TO:(" + (target == null ? "no target" : (target.md == null ? "no target MD" : target.md.toString()))
                    + ") " + "version=" + version + ", scope=" + (scope == null ? "null" : scope.getScope()) + ", depth="
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

      + Only use spaces for indentation.
      + Create minimal diffs - disable on save actions like reformat source code or organize imports.
        If you feel the source code should be reformatted, create a separate PR for this change.
      + Check for unnecessary whitespace with `git diff --check` before committing.
    + Make sure your commit messages are in the proper format. Your commit message should contain the key of the JIRA issue.
    ```
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Oct 10 09:48:27 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

        @Inject
        private ArtifactFactory artifactFactory;
    
        private ArtifactSpec projectArtifact;
    
        private Source source;
    
        private static final String GROUP_ID = "test";
    
        @BeforeEach
        void setUp() throws Exception {
            source = new Source();
    
            projectArtifact = createArtifactSpec("project", "1.0", null);
        }
    
        @Test
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. maven-core/src/test/resources-project-builder/plugin-management-inheritance/pom.xml

      <groupId>org.apache.maven.its.it0052</groupId>
      <artifactId>maven-it-it0052</artifactId>
      <version>1.0</version>
      <packaging>jar</packaging>
    
      <name>Maven Integration Test :: it0052</name>
      <description>Test that source attachment doesn't take place when -DperformRelease=true is missing.</description>
    
      <!-- NOTE: Use stub versions of the core plugins referenced by the build -->
      <build>
        <pluginManagement>
          <plugins>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 2.1K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            }
        }
    
        private static <T> T cache(ModelCache cache, Source source, String tag, Callable<T> supplier) {
            Supplier<T> s = asSupplier(supplier);
            if (cache == null) {
                return s.get();
            } else {
                return cache.computeIfAbsent(source, tag, s);
            }
        }
    
        private static <T> Supplier<T> asSupplier(Callable<T> supplier) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java

                throw new IllegalArgumentException("reader or inputStream must be non null");
            }
            try {
                InputSource source = null;
                if (request.getModelId() != null || request.getLocation() != null) {
                    source = new InputSource(request.getModelId(), request.getLocation());
                }
                MavenToolchainsStaxReader xml = new MavenToolchainsStaxReader();
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top