- Sort Score
- Num 10 results
- Language All
Results 441 - 450 of 799 for thrown (0.04 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy
def pluginId = plugin.'@id' if (!pluginId) { throw new RuntimeException("No id specified for plugin: ${plugin.'@description' ?: 'unknown'}") } plugin.extends.each { Element e -> def targetClass = e.'@targetClass' if (!targetClass) { throw new RuntimeException("No targetClass specified for extension provided by plugin '$pluginId'.")Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 9.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java
private final AtomicReference<Class<?>> wsrClassRef = new AtomicReference<>(null); @Override public void afterProjectsRead(MavenSession session) throws MavenExecutionException { wsrClassRef.set(session.getRepositorySession().getWorkspaceReader().getClass()); } } @Inject private Maven maven; @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 4.3K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
@Override protected String getProjectsDirectory() { return "src/test/projects/project-dependencies-resolver"; } @Test void testSystemScopeDependencies() throws Exception { MavenSession session = createMavenSession(null); MavenProject project = session.getCurrentProject(); new ProjectBuilder(project) .addDependency(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) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvokerTest.java
@TempDir(cleanup = CleanupMode.ON_SUCCESS) Path userHome) throws Exception { invoke(cwd, userHome, List.of("verify"), List.of()); } @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)") @Test void jimFs() throws Exception { try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 10:47:37 GMT 2025 - 2.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/CompoundProjectExecutionListener.java
} @Override public void beforeProjectExecution(ProjectExecutionEvent event) throws LifecycleExecutionException { for (ProjectExecutionListener listener : listeners) { listener.beforeProjectExecution(event); } } @Override public void beforeProjectLifecycleExecution(ProjectExecutionEvent event) throws LifecycleExecutionException { for (ProjectExecutionListener listener : listeners) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
build-logic-settings/UpdateDevelocityPluginVersion.java
import java.io.*; import java.nio.file.*; import java.util.regex.*; public class UpdateDevelocityPluginVersion { public static void main(String[] args) throws IOException { if (args.length != 1) { System.out.println("Usage: java build-logic-settings/UpdateDevelocityPluginVersion.java <new-version>"); System.exit(1); } String newVersion = args[0]; String[] files = {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jan 23 17:40:08 GMT 2025 - 1.4K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java
* @param options possible parsing options, may be {@code null} * @return the parsed {@link Model}, never {@code null} * @throws ModelParserException if the model cannot be parsed */ @Nonnull Model parse(@Nonnull Source source, @Nullable Map<String, ?> options) throws ModelParserException; /** * Locate and parse the model in the specified directory.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Sep 10 17:18:47 GMT 2024 - 3.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/ProfileActivator.java
*/ @Deprecated public interface ProfileActivator { String ROLE = ProfileActivator.class.getName(); boolean canDetermineActivation(Profile profile); boolean isActive(Profile profile) throws ProfileActivationException;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java
}); if (!keptAccessors.isEmpty()) { String formattedLeft = CollectionUtils.join("\n", keptAccessors.keySet()); throw new RuntimeException("The following accessors were upgraded, but didn't match any removed/changed method:\n\n" + formattedLeft); } // Find accessors that were removed but shouldn't beCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 19 15:30:48 GMT 2024 - 3.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
@ParameterizedTest(name = "for {0}") @ValueSource(strings = {"4.0.0", "4.1.0", "4.2.0"}) @DisplayName("should detect model version") void shouldDetectModelVersionFromNamespace(String targetVersion) throws Exception { String pomXml = PomBuilder.create() .namespace("http://maven.apache.org/POM/" + targetVersion) .modelVersion(targetVersion) .groupId("test")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 19.6K bytes - Click Count (0)