- Sort Score
- Num 10 results
- Language All
Results 581 - 590 of 1,837 for New (0.01 seconds)
-
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java
@Test void testGetProblems() { DefaultProblemCollector collector = new DefaultProblemCollector(null); assertNotNull(collector.getProblems()); assertEquals(0, collector.getProblems().size()); collector.add(null, "MESSAGE1", -1, -1, null); Exception e2 = new Exception(); collector.add(Severity.WARNING, null, 42, 127, e2);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecyclePhase.java
return mojos; } public void setMojos(List<LifecycleMojo> mojos) { this.mojos = mojos; } public void set(String goals) { mojos = new ArrayList<>(); if (goals != null && !goals.isEmpty()) { String[] mojoGoals = goals.split(","); mojos = Arrays.stream(mojoGoals).map(fromGoalIntoLifecycleMojo).collect(Collectors.toList());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/graph/FilteredProjectDependencyGraphTest.java
@ParameterizedTest @ValueSource(booleans = {true, false}) void downstreamProjectsShouldBeCached(boolean transitive) { FilteredProjectDependencyGraph graph = new FilteredProjectDependencyGraph(projectDependencyGraph, List.of(aProject)); when(projectDependencyGraph.getDownstreamProjects(bProject, transitive)).thenReturn(List.of(cProject));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 04 20:56:29 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginJavaPrerequisiteChecker.java
} catch (InvalidVersionSpecificationException e) { throw new IllegalArgumentException("Invalid 'requiredJavaVersion' given in plugin descriptor", e); } Version current; try { current = versionScheme.parseVersion(currentVersion); } catch (InvalidVersionSpecificationException e) { throw new IllegalStateException("Could not parse current Java version", e); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.8K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
String throughput = ""; long duration = System.currentTimeMillis() - resource.getTransferStartTime(); if (duration > 0) { DecimalFormat format = new DecimalFormat("0.0", new DecimalFormatSymbols(Locale.ENGLISH)); double kbPerSec = (contentLength / 1024.0) / (duration / 1000.0); throughput = " at " + format.format(kbPerSec) + " KB/sec"; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
MavenProject project = session.getCurrentProject(); new ProjectBuilder(project) .addDependency( "com.mycompany", "system-dependency", "1.0", Artifact.SCOPE_SYSTEM, new File(getBasedir(), "pom.xml").getAbsolutePath()); Set<Artifact> artifactDependencies =
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 3.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java
*/ @Deprecated(since = "4.0.0") class ClassMap { private static final class CacheMiss {} private static final CacheMiss CACHE_MISS = new CacheMiss(); private static final Object OBJECT = new Object(); /** * Class passed into the constructor used to as * the basis for the Method map. */ private final Class<?> clazz; /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 13.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeParser.java
@Override protected Options parseCliOptions(LocalContext context) { try { return CommonsCliUpgradeOptions.parse(context.parserRequest.args().toArray(new String[0])); } catch (ParseException e) { throw new IllegalArgumentException("Failed to parse command line options: " + e.getMessage(), e); } }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 1.4K bytes - Click Count (0)