Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 56.6K bytes
    - Viewed (0)
Back to top