Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for Resource (0.16 sec)

  1. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                for (Resource resource : build.getResources()) {
                    resource.setDirectory(alignToBaseDirectory(resource.getDirectory(), basedir));
                }
    
                for (Resource resource : build.getTestResources()) {
                    resource.setDirectory(alignToBaseDirectory(resource.getDirectory(), basedir));
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

        private ArtifactTransferResource wrap(Repository repository, Resource resource) {
            if (resource == null) {
                return null;
            } else {
                synchronized (artifacts) {
                    ArtifactTransferResource artifact = artifacts.get(resource);
    
                    if (artifact == null) {
                        artifact = new MavenArtifact(repository.getUrl(), resource);
                        artifacts.put(resource, artifact);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            URL myResource = ExpressionDocumenter.class.getClassLoader().getResource(myResourcePath);
    
            assert myResource != null : "The resource is this class itself loaded by its own classloader and must exist";
    
            String myClasspathEntry = myResource.getPath();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        }
    
        public List<Resource> getResources() {
            return getBuild().getResources();
        }
    
        public List<Resource> getTestResources() {
            return getBuild().getTestResources();
        }
    
        public void addResource(Resource resource) {
            getBuild().addResource(resource);
        }
    
        public void addTestResource(Resource testResource) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSuperPomProvider.java

        }
    
        private Model readModel(String version, String v) {
            String resource = "/org/apache/maven/model/pom-" + v + ".xml";
            URL url = getClass().getResource(resource);
            if (url == null) {
                throw new IllegalStateException("The super POM " + resource + " was not found"
                        + ", please verify the integrity of your Maven installation");
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformation.java

            Properties props = new Properties();
    
            String resource = "META-INF/maven/org.apache.maven/maven-core/pom.properties";
    
            try (InputStream is = DefaultRuntimeInformation.class.getResourceAsStream("/" + resource)) {
                if (is != null) {
                    props.load(is);
                } else {
                    logger.warn("Could not locate " + resource + " on classpath, Maven runtime information not available");
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 18 11:03:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/MavenProjectHelper.java

        /**
         * Add a resource directory to the project.
         * @param project project reference.
         * @param resourceDirectory directory.
         * @param includes include patterns.
         * @param excludes exclude patterns.
         */
        void addResource(MavenProject project, String resourceDirectory, List<String> includes, List<String> excludes);
    
        /**
         * Add a test resource directory to the project.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        }
    
        protected static File getFileForClasspathResource(String resource)
                throws FileNotFoundException, URISyntaxException {
            ClassLoader cloader = Thread.currentThread().getContextClassLoader();
    
            URL resourceUrl = cloader.getResource(resource);
    
            if (resourceUrl == null) {
                throw new FileNotFoundException("Unable to find: " + resource);
            }
    
            return new File(resourceUrl.toURI());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository;
    
    /**
     * Describes a resource being uploaded or downloaded by the repository system.
     *
     */
    @Deprecated
    public interface ArtifactTransferResource {
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

    package org.apache.maven.api;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * An artifact points to a resource such as a jar file or war application.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Artifact {
    
        /**
         * Returns a unique identifier for this artifact.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 15 15:48:33 GMT 2023
    - 3K bytes
    - Viewed (0)
Back to top