Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 168 for Errorf (0.52 sec)

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

        public InvalidPluginDescriptorException(String message, List<String> errors) {
            super(toMessage(message, errors));
        }
    
        private static String toMessage(String message, List<String> errors) {
            StringBuilder buffer = new StringBuilder(256);
            buffer.append(message);
            for (String error : errors) {
                buffer.append(", ").append(error);
            }
            return buffer.toString();
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java

            descriptor.setArtifactId("maven-it-plugin");
            descriptor.setVersion("0.1");
            List<String> errors = new ArrayList<>();
            mavenPluginValidator.validate(plugin, descriptor, errors);
            assertTrue(errors.isEmpty());
        }
    
        @Test
        void testInvalidGroupId() {
            Artifact plugin = new DefaultArtifact(
                    "org.apache.maven.its.plugins",
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginValidator.java

            if (!pluginArtifact.getGroupId().equals(pluginDescriptor.getGroupId())) {
                errors.add("Plugin's descriptor contains the wrong group ID: " + pluginDescriptor.getGroupId());
            }
    
            if (!pluginArtifact.getArtifactId().equals(pluginDescriptor.getArtifactId())) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

     * <ul>
     *   <li>missing metadata</li>
     *   <li>version range violations</li>
     *   <li>version circular dependencies</li>
     *   <li>missing artifacts</li>
     *   <li>network/transfer errors</li>
     *   <li>file system errors: permissions</li>
     * </ul>
     *
     * TODO carlos: all these possible has*Exceptions and get*Exceptions methods make the clients too
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
                    throw new ArtifactMetadataRetrievalException("Error retrieving metadata", e, a);
                }
            }
    
            if ("i".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

        }
    
        /**
         * Append message content in error style.
         * By default, bold red
         *
         * @param message the message to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder error(Object message) {
            return style(".error:-bold,f:red", message);
        }
    
        /**
         * Append message content in success style.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                        e.getModelId(), e.getMessage(), pomFile != null ? pomFile.toFile() : null, e);
                            }
                            // validation error, continue project building and delay failing to help IDEs
                            error = e;
                        }
    
                        modelProblems = result.getProblems();
    
                        initProject(project, Collections.emptyMap(), result);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  8. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  9. maven-core/src/test/resources-project-builder/unique-repo-id/artifact-repo/pom.xml

      <version>0.1</version>
      <packaging>jar</packaging>
    
      <name>Maven Integration Test :: MNG-4193</name>
      <description>
        Test that multiple artifact repository declarations with the same id cause a validation error.
      </description>
    
      <repositories>
        <repository>
          <id>one</id>
          <url>https://repo1.maven.org/maven2</url>
        </repository>
        <repository>
          <id>one</id>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadataRetrievalException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy.metadata;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Error while retrieving repository metadata from the repository.
     *
     */
    @Deprecated
    public class ArtifactMetadataRetrievalException extends Exception {
        private Artifact artifact;
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top