Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 67 for setLocation (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            public InputStream openStream() throws IOException {
                return modelSource.getInputStream();
            }
    
            @Override
            @Nonnull
            public String getLocation() {
                return modelSource.getLocation();
            }
    
            @Override
            @Nullable
            public Source resolve(@Nonnull String relative) {
                if (modelSource instanceof ModelSource2 ms) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        .map(MojoExecution::getPlugin)
                        .filter(p -> p.getLocation("version") != null
                                && p.getLocation("version").getSource() != null
                                && defaulModelId.equals(
                                        p.getLocation("version").getSource().getModelId()))
                        .distinct()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  3. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         * value is undefined.
         *
         * @return The location of the problem, never {@code null}.
         */
        String getLocation();
    
        /**
         * Gets the exception that caused this problem (if any).
         *
         * @return The exception that caused this problem or {@code null} if not applicable.
         */
        Exception getException();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

         * value is undefined.
         *
         * @return the location of the problem, never {@code null}
         */
        @Nonnull
        String getLocation();
    
        /**
         * Gets the exception that caused this problem (if any).
         *
         * @return the exception that caused this problem or {@code null} if not applicable
         */
        @Nullable
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         *   <li>Description: {@code <memory>} or {@code <database>}</li>
         * </ul>
         *
         * @return a non-null string describing the source location
         */
        @Nonnull
        String getLocation();
    
        /**
         * Resolves a new source relative to this one.
         * <p>
         * The resolution strategy depends on the source type:
         * <ul>
         *   <li>File sources resolve against their parent directory</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 09:46:53 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

                @Override
                public InputStream openStream() throws IOException {
                    return Files.newInputStream(actual);
                }
    
                @Override
                public String getLocation() {
                    return actual.toString();
                }
    
                @Override
                public Source resolve(String relative) {
                    return Sources.buildSource(actual.resolve(relative));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

                    @Override
                    public Path getPath() {
                        return Paths.get("test-pom.xml");
                    }
    
                    @Override
                    public String getLocation() {
                        return "test-pom.xml";
                    }
    
                    @Override
                    public InputStream openStream() throws IOException {
                        return null;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            Source src = mock(Source.class);
            IOException ioException = new IOException("MESSAGE");
            doThrow(ioException).when(src).getInputStream();
            doReturn("LOCATION").when(src).getLocation();
    
            ToolchainsBuildingRequest request = new DefaultToolchainsBuildingRequest();
            request.setGlobalToolchainsSource(src);
    
            try {
                toolchainBuilder.build(request);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                }
                trackingData.add(indent + plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion());
                indent.append("  ");
    
                InputLocation location = plugin.getLocation("");
                if (location != null && location.getSource() != null) {
                    trackingData.add(indent + location.getSource().getModelId() + " (implicit)");
                    indent.append("  ");
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

            </field>
          </fields>
          <codeSegments>
            <codeSegment>
              <version>1.2.0+</version>
              <code>
        @Override
        public String toString() {
            return getLocation();
        }
              </code>
            </codeSegment>
          </codeSegments>
        </class>
      </classes>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top