- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 819 for throws (0.04 seconds)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java
sb.append("</tr>"); sb.append(LS); } sb.append("</table>"); return sb.toString(); } @Test void testOptionsAsHtml() throws IOException { Path options = Paths.get("target/test-classes/options.html"); Files.writeString(options, getOptionsAsHtml(), StandardCharsets.UTF_8); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.1K bytes - Click Count (0) -
.teamcity/.mvn/wrapper/MavenWrapperDownloader.java
System.out.println("- Error downloading"); e.printStackTrace(); System.exit(1); } } private static void downloadFileFromURL(String urlString, File destination) throws Exception { if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) { String username = System.getenv("MVNW_USERNAME");
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 26 01:48:39 GMT 2020 - 4.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
} this.basedir = basedir; } @Override public Object evaluate(String expr) throws ExpressionEvaluationException { return evaluate(expr, null); } @Override @SuppressWarnings("checkstyle:methodlength") public Object evaluate(String expr, Class<?> type) throws ExpressionEvaluationException { Object value = null; if (expr == null) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 9.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java
*/ @Deprecated public class RegexBasedModelInterpolator extends AbstractStringBasedModelInterpolator { public RegexBasedModelInterpolator() throws IOException {} public RegexBasedModelInterpolator(PathTranslator pathTranslator) { super(pathTranslator); } public RegexBasedModelInterpolator(Properties envars) {} @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java
* @throws IllegalArgumentException when */ public void setRequestType(final int requestType) { switch (requestType) { case REQUEST_PUT: break; case REQUEST_GET: break; default: throw new IllegalArgumentException("Illegal request type: " + requestType); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java
protected File getLocalRepositoryPath() { return getTestFile("target/test-classes/inheritance-repo/" + getTestSeries()); } @Override @BeforeEach public void setUp() throws Exception { super.setUp(); EmptyLifecycleBindingsInjector.useEmpty(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Feb 08 16:25:25 GMT 2025 - 2.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java
} @Nested @DisplayName("Execution") class ExecutionTests { @Test @DisplayName("should log appropriate header message") void shouldLogAppropriateHeaderMessage() throws Exception { UpgradeContext context = createMockContext(); // Create a temporary directory with a POM file for the test Path tempDir = Files.createTempDirectory("check-test");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 4.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/CommonsCliShellOptions.java
/** * Implementation of {@link ShellOptions} (base + shell). */ public class CommonsCliShellOptions extends CommonsCliOptions implements ShellOptions { public static CommonsCliShellOptions parse(String[] args) throws ParseException { CLIManager cliManager = new CLIManager(); return new CommonsCliShellOptions(Options.SOURCE_CLI, cliManager, cliManager.parse(args)); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 2.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java
} @Nested @DisplayName("Execution") class ExecutionTests { @Test @DisplayName("should log appropriate header message") void shouldLogAppropriateHeaderMessage() throws Exception { UpgradeContext context = createMockContext(); // Create a temporary directory with a POM file for the test Path tempDir = Files.createTempDirectory("apply-test");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 10:39:17 GMT 2025 - 4.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java
synchronized void addEdge(String from, String to) throws CycleDetectedException { if (graph.computeIfAbsent(from, l -> new HashSet<>()).add(to)) { List<String> cycle = visitCycle(graph, Collections.singleton(to), new HashMap<>(), new LinkedList<>()); if (cycle != null) { // remove edge which introduced cycle throw new CycleDetectedException(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.4K bytes - Click Count (0)