Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 799 for thrown (0.04 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java

        // or we can show it graphically as:
        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testDependencyManagement() throws Exception {
            File localRepo = getLocalRepositoryPath();
            File pom0 = new File(localRepo, "p0/pom.xml");
    
            File pom0Basedir = pom0.getParentFile();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java

    /**
     * The "help" goal implementation.
     */
    @Named("help")
    @Singleton
    public class Help implements Goal {
    
        @Override
        public int execute(UpgradeContext context) throws Exception {
            context.info("Maven Upgrade Tool - Help");
            context.println();
            context.info("Upgrades Maven projects to be compatible with Maven 4.");
            context.println();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    class DefaultArtifactDescriptorReaderTest extends AbstractRepositoryTestCase {
    
        @Test
        void testMng5459() throws Exception {
            // prepare
            DefaultArtifactDescriptorReader reader =
                    (DefaultArtifactDescriptorReader) getContainer().lookup(ArtifactDescriptorReader.class);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleTaskSegmentCalculatorStub.java

        public LifecycleTaskSegmentCalculatorStub() {
            super(null, null);
        }
    
        @Override
        public List<TaskSegment> calculateTaskSegments(MavenSession session, List<String> tasks)
                throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
                        MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulatorTest.java

    @PlexusTest
    class DefaultMavenExecutionRequestPopulatorTest {
        @Inject
        MavenExecutionRequestPopulator testee;
    
        @Test
        void testPluginRepositoryInjection() throws Exception {
            MavenExecutionRequest request = new DefaultMavenExecutionRequest();
    
            Repository r = new Repository();
            r.setId("test");
            r.setUrl("file:///test");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

                    Files.write(docInfo.toPath(), Collections.singleton(String.format("<meta name=\"adoc-src-path\" content=\"%s\">", relativePath)), StandardOpenOption.CREATE);
                } catch (IOException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            });
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenContext.java

            super(invokerRequest, containerCapsuleManaged, mavenOptions);
        }
    
        public SimplexTransferListener simplexTransferListener;
        public Maven maven;
    
        @Override
        public void doCloseContainer() throws Exception {
            try {
                super.doCloseContainer();
            } finally {
                maven = null;
            }
        }
    
        @Override
        public MavenOptions options() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Requirement.java

         */
        @Override
        public Requirement clone() {
            try {
                return (Requirement) super.clone();
            } catch (CloneNotSupportedException e) {
                throw new UnsupportedOperationException(e);
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                String resource = "/org/apache/maven/model/pom-" + version + ".xml";
    
                InputStream is = getClass().getResourceAsStream(resource);
    
                if (is == null) {
                    throw new IllegalStateException("The super POM " + resource + " was not found"
                            + ", please verify the integrity of your Maven installation");
                }
    
                try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    
            try (InputStream is = source.getInputStream();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
Back to Top