Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getRelatedSource (0.19 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource3.java

         */
        ModelSource3 getRelatedSource(ModelLocator locator, String relPath);
    
        /**
         * When using a ModelSource3, the method with a {@code ModelLocator} argument should
         * be used instead.
         *
         * @deprecated use {@link #getRelatedSource(ModelLocator, String)} instead
         */
        @Deprecated
        default ModelSource3 getRelatedSource(String relPath) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

         *
         * @deprecated instead use {@link #getFile()}
         */
        @Deprecated
        public File getPomFile() {
            return getFile();
        }
    
        @Override
        public ModelSource3 getRelatedSource(ModelLocator locator, String relPath) {
            relPath = relPath.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
            Path path = getPath().getParent().resolve(relPath);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java

         *
         * @param relPath is the path of the requested model source relative to this model source POM.
         * @return related model source or <code>null</code> if no such model source.
         */
        ModelSource2 getRelatedSource(String relPath);
    
        /**
         * Returns location of the POM, never <code>null</code>.
         */
        URI getLocationURI();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

            }
    
            @Override
            public String getLocation() {
                return source.getLocation();
            }
    
            @Override
            public ModelSource2 getRelatedSource(String relPath) {
                Source rel = source.resolve(relPath);
                return rel != null ? new SourceWrapper(rel) : null;
            }
    
            @Override
            public URI getLocationURI() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                return null;
            }
    
            if (source instanceof ModelSource3) {
                return ((ModelSource3) source).getRelatedSource(modelProcessor, parentPath);
            } else {
                return ((ModelSource2) source).getRelatedSource(parentPath);
            }
        }
    
        private ModelData readParentExternally(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top