Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 172 for thrown (0.04 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            File f1 = getTestFile(
                    "src/test/resources/projects/parent-version-range-local-child-without-version/child/pom.xml");
    
            ProjectBuildingException e = assertThrows(
                    ProjectBuildingException.class,
                    () -> getProject(f1),
                    "Expected 'ProjectBuildingException' not thrown.");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                            throw new ArtifactDescriptorException(result);
                        }
                    }
                    invalidDescriptor(session, trace, a, e);
                    if ((getPolicy(session, a, request) & ArtifactDescriptorPolicy.IGNORE_INVALID) != 0) {
                        return null;
                    }
                    result.addException(e);
                    throw new ArtifactDescriptorException(result);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * then the behavior depends on the {@code ProjectManager} implementation.
         * It may do nothing or thrown {@linkplain IllegalArgumentException}.
         *
         * @param project the project to update
         * @param source the source to add
         * @throws IllegalArgumentException if this project manager rejects the given source because of conflict
         *
         * @see #getSourceRoots(Project)
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

         * directory or a {@code pom.xml} file with the {@code root="true"} attribute.
         * If there's no such directory, an {@code IllegalStateException} will be thrown.
         *
         * @throws IllegalStateException if the root directory could not be found
         * @see #getTopDirectory()
         * @since 4.0.0
         */
        Path getRootDirectory();
    
        /**
         * @since 3.3.0
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 18.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                throws ModelBuilderException {
            ModelBuilderResult result = buildModel(session, src);
            Model model = result.getRawModel();
            return transformPom(model, project);
        }
    
        protected Model buildBomWithoutFlatten(RepositorySystemSession session, MavenProject project, ModelSource src)
                throws ModelBuilderException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 27 07:40:26 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    ## A dependency with `yield` and `try` { #a-dependency-with-yield-and-try }
    
    If you use a `try` block in a dependency with `yield`, you'll receive any exception that was thrown when using the dependency.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

         * @param repositories
         * @param session
         * @return PluginDescriptor The component descriptor for the Maven plugin.
         * @throws PluginNotFoundException The plugin could not be found in any repositories.
         * @throws PluginResolutionException The plugin could be found but could not be resolved.
         * @throws InvalidPluginDescriptorException
         */
        @Override
        public PluginDescriptor loadPlugin(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                PluginDescriptorBuilder.StreamSupplier is, Plugin plugin, String descriptorLocation)
                throws PluginDescriptorParsingException {
            try {
                return builder.build(is, descriptorLocation);
            } catch (PlexusConfigurationException e) {
                throw new PluginDescriptorParsingException(plugin, descriptorLocation, e);
            }
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

         * @param attribute a attribute object.
         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @throws IOException IOException if any.
         */
        private void checkUnknownAttribute(XmlPullParser parser, String attribute, String tagName, boolean strict)
                throws XmlPullParserException, IOException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

        public void executeMojo(MavenProject project, MojoExecution execution, MavenSession session)
                throws MojoExecutionException, ArtifactResolutionException, MojoFailureException, ArtifactNotFoundException,
                        InvalidDependencyVersionException, PluginManagerException, PluginConfigurationException {
            throw new UnsupportedOperationException();
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top