Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for source (0.15 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-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)
  3. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                ArtifactMetadataSource source,
                ArtifactFilter filter)
                throws ArtifactResolutionException, ArtifactNotFoundException {
            return resolveTransitively(
                    artifacts,
                    originatingArtifact,
                    Collections.emptyMap(),
                    localRepository,
                    remoteRepositories,
                    source,
                    filter);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                            try {
                                AtomicReference<Parent> modified = new AtomicReference<>();
                                ModelSource source = doResolveModel(parent, modified);
                                result = new Result(source, modified.get(), null);
                            } catch (Exception e) {
                                result = new Result(null, null, e);
                            } finally {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                    ModelSource source = toSource(resolver.resolveModel(p));
                    if (p.getDelegate() != parent) {
                        modified.set(p.getDelegate());
                    }
                    return source;
                } catch (UnresolvableModelException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java

            ModelBuilder builder = session.getService(ModelBuilder.class);
            ModelBuilderResult result = builder.build(ModelBuilderRequest.builder()
                    .session(session)
                    .source(ModelSource.fromPath(Paths.get("pom.xml").toAbsolutePath()))
                    .projectBuild(true)
                    .build());
            assertNotNull(result.getEffectiveModel());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top