Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 150 for error (0.13 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/PluginContainerException.java

     * artifactId, and version for the plugin; at times, the goal name for which
     * execution failed; a message detailing the problem; the ClassRealm used to
     * look up the plugin; and the Plexus exception that caused this error.
     *
     *
     */
    public class PluginContainerException extends PluginManagerException {
    
        private ClassRealm pluginRealm;
    
        public PluginContainerException(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

                reverseName = true;
                name = name.substring(1);
            }
    
            if (name == null || name.isEmpty()) {
                problems.add(
                        BuilderProblem.Severity.ERROR,
                        ModelProblem.Version.BASE,
                        "The property name is required to activate the profile " + profile.getId(),
                        property.getLocation(""));
                return false;
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

                        new ProjectExecutionEvent(session, currentProject, t));
    
                // rethrow original errors and runtime exceptions
                if (t instanceof RuntimeException) {
                    throw (RuntimeException) t;
                }
                if (t instanceof Error) {
                    throw (Error) t;
                }
            } finally {
                session.setCurrentProject(null);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        /* MNG-4193 */
        @Test
        void testValidationErrorUponNonUniquePluginRepositoryId() throws Exception {
            assertThrows(
                    ProjectBuildingException.class,
                    () -> buildPom("unique-repo-id/plugin-repo"),
                    "Non-unique repository ids did not cause validation error");
        }
    
        /* MNG-4193 */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/InternalErrorException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven;
    
    /**
     * Signals an internal error in Maven itself, e.g. a programming bug.
     *
     */
    public class InternalErrorException extends MavenExecutionException {
    
        public InternalErrorException(String message, Throwable cause) {
            super(message, cause);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

    @Experimental
    public interface ArtifactResolver extends Service {
    
        /**
         * @param request {@link ArtifactResolverRequest}
         * @return {@link ArtifactResolverResult}
         * @throws ArtifactResolverException in case of an error
         * @throws IllegalArgumentException in case of parameter {@code buildingRequest} is {@code null} or
         *             parameter {@code mavenArtifact} is {@code null} or invalid
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/deployer/ArtifactDeployer.java

         * @param artifact the artifact definition
         * @param deploymentRepository the repository to deploy to
         * @param localRepository the local repository to install into
         * @throws ArtifactDeploymentException if an error occurred deploying the artifact
         * @deprecated to be removed before 2.0 after the install/deploy plugins use the alternate
         *             method
         */
        @Deprecated
        void deploy(
                String basedir,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

        /**
         * The different severity levels for a problem, in decreasing order.
         *
         * @since 4.0.0
         */
        @Experimental
        enum Severity {
            FATAL, //
            ERROR, //
            WARNING //
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                throw new SettingsBuilderException("Error building settings", problems);
            }
    
            return new DefaultSettingsBuilderResult(effective, problems);
        }
    
        private boolean hasErrors(List<BuilderProblem> problems) {
            if (problems != null) {
                for (BuilderProblem problem : problems) {
                    if (BuilderProblem.Severity.ERROR.compareTo(problem.getSeverity()) >= 0) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            List<Toolchain> toolchains = toolchainManager.getToolchains(session, "unknown", null);
    
            assertEquals(0, toolchains.size());
            verify(logger).error("Missing toolchain factory for type: unknown. Possibly caused by misconfigured project.");
        }
    
        @Test
        void testModelAndFactory() {
            MavenSession session = mock(MavenSession.class);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Apr 16 12:54:16 GMT 2023
    - 5.9K bytes
    - Viewed (0)
Back to top