Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 686 for exceptions (0.08 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            @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)
  2. src/cmd/api/api_test.go

    			features: []string{"C", "A"},
    			required: []string{"A", "B", "C"},
    			ok:       false,
    			out:      "-B\n",
    		},
    		{
    			name:      "exception removal",
    			features:  []string{"A", "C"},
    			required:  []string{"A", "B", "C"},
    			exception: []string{"B"},
    			ok:        true,
    			out:       "",
    		},
    
    		// Test that a feature required on a subset of ports is implicitly satisfied
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri May 02 17:06:27 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/projects/plugin-manager/project-with-build-extensions-plugin/pom.xml

        <plugins>
          <plugin>
            <groupId>org.apache.maven.its.plugins</groupId>
            <artifactId>maven-it-plugin</artifactId>
            <version>0.1</version>
            <extensions>true</extensions>
            <executions>
              <execution>
                <id>load</id>
                <phase>validate</phase>
                <configuration>
                  <resourcePaths>maven-core-it.properties</resourcePaths>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 884 bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

            /*
             * Grab plugin executions that are bound to the selected lifecycle phases from project. The effective model of
             * the project already contains the plugin executions induced by the project's packaging type. Remember, all
             * phases of interest and only those are in the lifecycle mapping, if a phase has no value in the map, we are
             * not interested in any of the executions bound to it.
             */
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java

            final MavenExecutionException exception = assertThrows(
                    MavenExecutionException.class,
                    () -> sut.getRequiredProjectsBySelectors(mavenExecutionRequest, listOfProjects, selectors));
            assertTrue(exception.getMessage().contains("Could not find"));
            assertTrue(exception.getMessage().contains(":required"));
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

        class MvnDirectoryCreationTests {
    
            @Test
            @DisplayName("should create .mvn directory when model version is not 4.1.0")
            void shouldCreateMvnDirectoryWhenModelVersionNot410() throws Exception {
                Path projectDir = tempDir.resolve("project");
                Files.createDirectories(projectDir);
    
                // Create a simple POM file
                String pomXml = PomBuilder.create()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        public int execute(EncryptContext context) throws Exception {
            if (!validateConfiguration(context)) {
                context.logger.error(messageBuilderFactory
                        .builder()
                        .error("Maven Encryption is not configured, run `mvnenc init` first.")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

         *
         * @throws MojoExecutionException if an unexpected problem occurs.
         * Throwing this exception causes a "BUILD ERROR" message to be displayed.
         * @throws MojoFailureException if an expected problem (such as a compilation failure) occurs.
         * Throwing this exception causes a "BUILD FAILURE" message to be displayed.
         */
        void execute() throws MojoExecutionException, MojoFailureException;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

    /**
     */
    class DefaultBeanConfiguratorPathTest {
    
        private BeanConfigurator configurator;
    
        @BeforeEach
        void setUp() throws Exception {
            configurator = new DefaultBeanConfigurator();
        }
    
        @AfterEach
        void tearDown() throws Exception {
            configurator = null;
        }
    
        private Xpp3Dom toConfig(String xml) {
            try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

    import org.apache.maven.impl.di.OutOfScopeException;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.eclipse.sisu.Typed;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top