Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 799 for thrown (0.06 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java

    /**
     * Implementation of {@link UpgradeOptions} (base + mvnup).
     */
    public class CommonsCliUpgradeOptions extends CommonsCliOptions implements UpgradeOptions {
        public static CommonsCliUpgradeOptions parse(String[] args) throws ParseException {
            CLIManager cliManager = new CLIManager();
            return new CommonsCliUpgradeOptions(Options.SOURCE_CLI, cliManager, cliManager.parse(args));
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:48:39 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

            selector.addProfileActivator(new ProfileActivator() {
                @Override
                public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
                    throw new RuntimeException("BOOM");
                }
    
                @Override
                public boolean presentInConfig(
                        Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin;
    
    /**
     * An exception occurring during the execution of a plugin.<br>
     * Throwing this exception causes a "BUILD ERROR" message to be displayed.
     *
     */
    public class MojoExecutionException extends AbstractMojoExecutionException {
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

            val packageNamePath = packageName.replace(".", File.separator)
            val packageDirectory = sourceRootDirectory.file(packageNamePath).asFile
            if (!packageDirectory.exists() && !packageDirectory.mkdirs()) {
                throw IOException("Failed to create directory `$packageDirectory`")
            }
    
            writeAnnotationFile(packageDirectory, packageName, "GroovyBuildScriptLanguage") {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Jul 07 16:02:18 GMT 2024
    - 8.1K bytes
    - Click Count (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                @Override
                public <T> T lookup(Class<T> type) {
                    throw new LookupException("empty lookup");
                }
    
                @Override
                public <T> T lookup(Class<T> type, String name) {
                    throw new LookupException("empty lookup");
                }
    
                @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

            final Lifecycle lifecycle = getLifeCycleById("site");
            assertEquals("site", lifecycle.getId());
            assertEquals(6, lifecycle.getPhases().size());
        }
    
        @Test
        void testCustomLifecycle() throws ComponentLookupException {
            List<Lifecycle> myLifecycles = new ArrayList<>();
            Lifecycle myLifecycle =
                    new Lifecycle("etl", Arrays.asList("extract", "transform", "load"), Collections.emptyMap());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/model/ModelBuilderTest.java

        @Inject
        RepositorySystemSessionFactory repositorySessionFactory;
    
        @Inject
        RepositorySystem repositorySystem;
    
        @Test
        void testModelBuilder() throws Exception {
            MavenExecutionRequest mavenRequest = new DefaultMavenExecutionRequest();
            mavenRequest.setLocalRepository(mavenRepositorySystem.createLocalRepository(new File("target/test-repo/")));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        id("gradlebuild.module-jar")
        id("gradlebuild.dependency-modules")
        id("gradlebuild.jvm-compile")
    }
    
    tasks.withType<JavaCompile>().configureEach {
        options.release = provider {
            throw GradleException("This task '${name}' is not associated with a compilation. Associate it with a compilation on the '${JvmCompileExtension.NAME}' extension.")
        }
    }
    
    val gradleModule = the<GradleModuleExtension>()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:44:41 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

        @Nonnull
        default Path findMandatoryRoot(Path basedir) {
            Path rootDirectory = findRoot(basedir);
            if (rootDirectory == null) {
                throw new IllegalStateException(getNoRootMessage());
            }
            return rootDirectory;
        }
    
        @Nullable
        default Path findRoot(Path basedir) {
            Path rootDirectory = basedir;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/model/CIBuildModel.kt

            stage: Stage,
            testCoverage: TestCoverage,
            bucketIndex: Int,
        ): FunctionalTest
    
        fun getName(testCoverage: TestCoverage): String = throw UnsupportedOperationException()
    
        fun getDescription(testCoverage: TestCoverage): String = throw UnsupportedOperationException()
    }
    
    data class GradleSubproject(
        val name: String,
        val path: String,
        val unitTests: Boolean = true,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 13:00:26 GMT 2025
    - 27.5K bytes
    - Click Count (0)
Back to Top