Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 654 for new (0.21 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCollector.java

                managedDependencies = request.getManagedDependencies();
                remoteRepositories = session.getRemoteRepositories();
            }
            CollectRequest collectRequest = new CollectRequest()
                    .setRootArtifact(rootArtifact != null ? session.toArtifact(rootArtifact) : null)
                    .setRoot(root != null ? session.toDependency(root, false) : null)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                    try {
                        return Collections.unmodifiableList(new ArrayList<>(delegate.getMojoDescriptor()
                                .getPluginDescriptor()
                                .getLifecycleMappings()
                                .values()));
                    } catch (Exception e) {
                        throw new RuntimeException("Unable to load plugin lifecycles", e);
                    }
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

                try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) {
                    toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in));
                } catch (Exception e) {
                    throw new MisconfiguredToolchainException(
                            "Cannot read toolchains file at " + userToolchainsFile.getAbsolutePath(), e);
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

    /**
     * Handles normalization of a model.
     *
     */
    @Named
    @Singleton
    public class DefaultModelNormalizer implements ModelNormalizer {
    
        private DuplicateMerger merger = new DuplicateMerger();
    
        @Override
        public Model mergeDuplicates(Model model, ModelBuilderRequest request, ModelProblemCollector problems) {
            Model.Builder builder = Model.newBuilder(model);
    
    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)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifeCyclePluginAnalyzerStub.java

            return plugins;
        }
    
        private Plugin newPlugin(String artifactId, String... goals) {
            Plugin plugin = new Plugin();
    
            plugin.setGroupId("org.apache.maven.plugins");
            plugin.setArtifactId(artifactId);
    
            for (String goal : goals) {
                PluginExecution pluginExecution = new PluginExecution();
                pluginExecution.setId("default-" + goal);
                pluginExecution.addGoal(goal);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  6. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

                locations = sourceLocations;
            } else {
                locations = new LinkedHashMap<>();
                locations.putAll(sourceDominant ? targetLocations : sourceLocations);
                locations.putAll(sourceDominant ? sourceLocations : targetLocations);
            }
    
            return new InputLocation(-1, -1, InputSource.merge(source.getSource(), target.getSource()), locations);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Sep 05 16:06:44 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(
                    new File(pom.getBasedir(), "target/classes/dir0"), new File((String) pom.getValue("properties/dir0")));
            assertEquals(new File(pom.getBasedir(), "src/test/dir1"), new File((String) pom.getValue("properties/dir1")));
            assertEquals(
                    new File(pom.getBasedir(), "target/site/dir2"), new File((String) pom.getValue("properties/dir2")));
        }
    
        @Test
    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)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

                 * This is the layout of output directories in projects using the new (Java 9 and later) way to organize
                 * source files.
                 */
                if (Files.isDirectory(file)) {
                    Map<Path, String> names = new HashMap<>();
                    try (Stream<Path> subdirs = Files.list(file)) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                    file = file.getAbsoluteFile();
                } else {
                    // an ordinary relative path, align with project directory
                    file = new File(new File(basedir, file.getPath()).toURI().normalize()).getAbsoluteFile();
                }
            }
            return file;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadata.java

            }
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new PluginsMetadata(pluginInfo, file.toPath(), timestamp);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
            return new PluginsMetadata(pluginInfo, path, timestamp);
        }
    
        @Override
        public String getGroupId() {
            return pluginInfo.groupId;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top