Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 75 for setSource (0.09 seconds)

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

                        String projectId = extractProjectId(r);
                        File sourcePomFile = r.getSource() != null && r.getSource().getPath() != null
                                ? r.getSource().getPath().toFile()
                                : null;
                        results.add(new DefaultProjectBuildingResult(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

                }
            }
            assertNotNull(dependencyLocation, "missing dependency");
            assertEquals(
                    "org.apache.maven.its:bom:0.1", dependencyLocation.getSource().getModelId());
    
            InputLocation pluginLocation = null;
            for (Plugin plugin : project.getBuildPlugins()) {
                if (plugin.getKey().equals("org.apache.maven.plugins:maven-clean-plugin")) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  3. impl/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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PrecedenceCoreExtensionSelector.java

            }
            return List.copyOf(selectedExtensions.values());
        }
    
        protected String formatLocation(InputLocation location) {
            return location.getSource().getLocation() + ":" + location.getLineNumber();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 15:32:43 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java

         */
        public MojoException(Throwable cause) {
            super(cause);
        }
    
        public String getLongMessage() {
            return longMessage;
        }
    
        public Object getSource() {
            return source;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon May 13 09:53:45 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

        /**
         * Gets the source from which the model was read.
         *
         * @return The source from which the model was read, never {@code null}.
         */
        @Nonnull
        ModelSource getSource();
    
        /**
         * Gets the file model.
         *
         * @return the file model, never {@code null}.
         */
        @Nonnull
        Model getFileModel();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            fillMojoDescriptor(session, project, mojoExecution);
    
            mojoExecutionConfigurator(mojoExecution)
                    .configure(project, mojoExecution, MojoExecution.Source.CLI.equals(mojoExecution.getSource()));
    
            finalizeMojoConfiguration(mojoExecution);
    
            calculateForkedExecutions(mojoExecution, session, project, alreadyPlannedExecutions);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

            this.columnNumber = columnNumber;
            this.modelId = (modelId != null) ? modelId : "";
            this.exception = exception;
            this.version = version;
        }
    
        @Override
        public String getSource() {
            return source;
        }
    
        @Override
        public int getLineNumber() {
            return lineNumber;
        }
    
        @Override
        public int getColumnNumber() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                        MetadataGraphVertex targetNode = e.getTarget();
                        targetNode.getMd().setArtifactScope(e.getScope());
                        targetNode.getMd().setWhy(e.getSource().getMd().toString());
                        visit(targetNode);
                    }
                }
            }
            // -----------------------------------------------------------------------
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

            cache[key] ?: return null
          } catch (_: IOException) {
            return null // Give up because the cache cannot be read.
          }
    
        val entry: Entry =
          try {
            Entry(snapshot.getSource(ENTRY_METADATA))
          } catch (_: IOException) {
            snapshot.closeQuietly()
            return null
          }
    
        val response = entry.response(snapshot)
        if (!entry.matches(request, response)) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 26.8K bytes
    - Click Count (0)
Back to Top