Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 686 for exceptions (0.22 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/VersionNotFoundException.java

    import org.apache.maven.model.Dependency;
    
    /**
     * Thrown if a dependency has an invalid version.
     *
     */
    @Deprecated
    public class VersionNotFoundException extends Exception {
        private Dependency dependency;
    
        private String projectId;
        private File pomFile;
        private InvalidVersionSpecificationException cause;
    
        public VersionNotFoundException(
    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)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java

        @Inject
        private SessionScope sessionScope;
    
        protected String component() {
            return "installer";
        }
    
        @Test
        void testArtifactInstallation() throws Exception {
            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
    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)
  3. compat/maven-compat/src/test/resources/inheritance-repo/t02/p0/p1/pom.xml

      <build>
        <plugins>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <executions>
              <execution>
                <id>test</id>
                <phase>package</phase>
                <goals>
                  <goal>compile</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenContext.java

        }
    
        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)
  5. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

                try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) {
                    toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in));
                } catch (Exception e) {
                    throw new MisconfiguredToolchainException(
                            "Cannot read toolchains file at " + userToolchainsFile.getAbsolutePath(), e);
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

        }
    
        public void registerBuildFailure(MavenProject project, Exception error, String task, long time) {
            buildFailuresByProject.put(getProjectKey(project), new BuildFailure(project, time, error));
        }
    
        public void registerBuildFailure(MavenProject project, Exception error, String task, Duration time) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 6K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

            }
            Collections.shuffle(data);
    
            Graph g = new Graph();
            data.parallelStream().forEach(s -> {
                try {
                    g.addEdge(s[0], s[1]);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            });
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoNotFoundException.java

    import java.util.List;
    
    import org.apache.maven.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.plugin.descriptor.PluginDescriptor;
    
    /**
     * MojoNotFoundException
     */
    public class MojoNotFoundException extends Exception {
        private String goal;
    
        private PluginDescriptor pluginDescriptor;
    
        public MojoNotFoundException(String goal, PluginDescriptor pluginDescriptor) {
            super(toMessage(goal, pluginDescriptor));
    
    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)
  9. 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");
    
            Profile p = new Profile();
    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)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTaskWithKotlin.java

                ConfigurableFileCollection additionalJapicmpClasspath = (ConfigurableFileCollection) additionalJapicmpClasspathField.get(this);
                additionalJapicmpClasspath.from(resolveKotlinCompilerEmbeddable());
            } catch (Exception e) {
                throw new RuntimeException("Got an error while patching JapicmpTask task", e);
            }
        }
    
        private Configuration resolveKotlinCompilerEmbeddable() {
            Project project = getProject();
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top