Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DuplicateArtifactAttachmentException (0.16 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/project/DuplicateArtifactAttachmentException.java

     */
    public class DuplicateArtifactAttachmentException extends RuntimeException {
    
        private static final String DEFAULT_MESSAGE = "Duplicate artifact attachment detected.";
    
        private Artifact artifact;
    
        private final MavenProject project;
    
        public DuplicateArtifactAttachmentException(MavenProject project, Artifact artifact) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginExecutionException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin;
    
    import org.apache.maven.project.DuplicateArtifactAttachmentException;
    import org.apache.maven.project.MavenProject;
    
    /**
     * Exception in the plugin manager.
     */
    public class PluginExecutionException extends PluginManagerException {
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                } else {
                    mojo = mavenPluginManager.getConfiguredMojo(Mojo.class, session, mojoExecution);
                }
    
                legacySupport.setSession(session);
    
                // NOTE: DuplicateArtifactAttachmentException is currently unchecked, so be careful removing this try/catch!
                // This is necessary to avoid creating compatibility problems for existing plugins that use
                // MavenProjectHelper.attachArtifact(..).
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 16:01:38 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         * @param artifact the artifact to add or replace.
         * @deprecated Please use {@link MavenProjectHelper}
         * @throws DuplicateArtifactAttachmentException will never happen but leave it for backward compatibility
         */
        public void addAttachedArtifact(Artifact artifact) throws DuplicateArtifactAttachmentException {
            // if already there we remove it and add again
            int index = attachedArtifacts.indexOf(artifact);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
Back to top