Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 170 for Resource (0.15 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-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(1, ((List<?>) pom.getValue("build/resources")).size());
            assertPathSuffixEquals("res/main", pom.getValue("build/resources[1]/directory"));
            assertPathSuffixEquals("main", pom.getValue("build/resources[1]/targetPath"));
            assertEquals(Boolean.TRUE, pom.getValue("build/resources[1]/filtering"));
            assertEquals(1, ((List<?>) pom.getValue("build/resources[1]/includes")).size());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                    .map(MojoExecution::getPlugin)
                    .filter(p -> p.getLocation("version") != null
                            && p.getLocation("version").getSource() != null
                            && defaulModelId.equals(
                                    p.getLocation("version").getSource().getModelId()))
                    .distinct()
                    .map(Plugin::getArtifactId) // managed by us, groupId is always o.a.m.plugins
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. maven-api-impl/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 May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    
                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

        }
    
        /**
         * DuplicateMerger
         */
        protected static class DuplicateMerger extends MavenModelMerger {
    
            public Plugin mergePlugin(Plugin target, Plugin source) {
                return super.mergePlugin(target, source, false, Collections.emptyMap());
            }
        }
    
        @Override
        public Model injectDefaultValues(Model model, ModelBuilderRequest request, ModelProblemCollector problems) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                }
    
                return null;
            }
        }
    
        /**
         * Wraps an arbitrary object with an {@link ObjectBasedValueSource} instance, then
         * wraps that source with a {@link PrefixedValueSourceWrapper} instance, to which
         * this class delegates all of its calls.
         */
        public static class PrefixedObjectValueSource extends AbstractDelegatingValueSource
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

        Object getConfiguration();
    
        /**
         * Sets the configuration to unmarshal into the bean. The configuration should be taken from
         * {@link org.apache.maven.model.ConfigurationContainer#getConfiguration()} or a similar source.
         * Fully equivalent to {@code setConfiguration(configuration, null)}.
         *
         * @param configuration The configuration to unmarshal, may be {@code null}.
         * @return This request for chaining, never {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top