Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 799 for thrown (0.2 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/project/collector/PomlessCollectionStrategy.java

        public PomlessCollectionStrategy(ProjectBuilder projectBuilder) {
            this.projectBuilder = projectBuilder;
        }
    
        @Override
        public List<MavenProject> collectProjects(final MavenExecutionRequest request) throws ProjectBuildingException {
            ProjectBuildingRequest buildingRequest = request.getProjectBuildingRequest();
            ModelSource modelSource = new UrlModelSource(DefaultMaven.class.getResource("project/standalone.xml"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorSubModulesTest.java

        @Inject
        private ExceptionHandler exceptionHandler;
    
        protected String getProjectsDirectory() {
            return "src/test/projects/lifecycle-executor";
        }
    
        @Test
        void testCreation() throws Exception {
            assertNotNull(defaultLifeCycles);
            assertNotNull(mojoExecutor);
            assertNotNull(lifeCycleBuilder);
            assertNotNull(lifeCycleDependencyResolver);
    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)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupTask.kt

                args = listOf("build", "--no-daemon", "--quiet", "-x", "lint", "-x", "lintDebug", "-x", "lintRelease")
                isIgnoreExitValue = false
            }
    
            if (result.exitValue != 0) {
                throw RuntimeException("Failed to build project in $projectDir (exit code: ${result.exitValue})")
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 09 09:24:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class MavenModelVersionTest {
    
        private static Model model;
    
        @BeforeAll
        static void setup() throws Exception {
            try (InputStream is = MavenModelVersionTest.class.getResourceAsStream("/xml/pom.xml")) {
                model = new MavenStaxReader().read(is);
            }
        }
    
        @Test
        void testV4Model() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/canonical/CanonicalProjectBuilderTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     */
    class CanonicalProjectBuilderTest extends AbstractMavenProjectTestCase {
        @Test
        void testProjectBuilder() throws Exception {
            File f = getFileForClasspathResource("canonical-pom.xml");
    
            MavenProject project = getProject(f);
    
            // ----------------------------------------------------------------------
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

        private RepositorySystem repositorySystem;
    
        @BeforeEach
        void setUp() {
            repositorySystem = new TestRepositorySystem();
        }
    
        @Test
        void testCacheKey() throws Exception {
            Artifact a1 = repositorySystem.createArtifact("testGroup", "testArtifact", "1.2.3", "jar");
            @SuppressWarnings("deprecation")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t11/ProjectInheritanceTest.java

        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testDependencyManagementDoesNotOverrideScopeOfCurrentArtifact() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

         */
        @Override
        public Parameter clone() {
            try {
                return (Parameter) super.clone();
            } catch (CloneNotSupportedException e) {
                throw new UnsupportedOperationException(e);
            }
        }
    
        public org.apache.maven.api.plugin.descriptor.Parameter getParameterV4() {
            return org.apache.maven.api.plugin.descriptor.Parameter.newBuilder()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java

                        filteredIndex++;
                        break;
                    }
                }
            }
            this.test = test;
            if (reverse) {
                throw new UnsupportedOperationException();
            }
        }
    
        @Override
        public NodePointer getNodePointer() {
            if (position == 0) {
                setPosition(1);
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

            val matches: List<ResolvedComponentResult> = resolutionResult.allComponents.filter { it != resolutionResult.root }
            if (matches.isEmpty()) {
                throw GradleException("Could not locate any matches for $notation")
            }
            matches.forEach { dep -> dest[name] = (dep.id as ModuleComponentIdentifier).version }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Nov 24 20:45:41 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top