[ 
https://issues.apache.org/jira/browse/HBASE-29821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18051113#comment-18051113
 ] 

Aman Poonia commented on HBASE-29821:
-------------------------------------

Exception when updating the maven-source plugin to 3.3.0
{code:java}
// code placeholder
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-source-plugin:3.3.0:jar (default) on project 
hbase-http: Presumably you have configured maven-source-plugn to execute twice 
times in your build. You have to configure a classifier for at least on of 
them. -> [Help 1 {code}

> Fix maven-source-plugin duplicate jar failure
> ---------------------------------------------
>
>                 Key: HBASE-29821
>                 URL: https://issues.apache.org/jira/browse/HBASE-29821
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 3.0.0-beta-1, 4.0.0-alpha-1
>            Reporter: Aman Poonia
>            Assignee: Aman Poonia
>            Priority: Minor
>
> The maven-source-plugin has a conflict in the build process where Maven is  
> trying to generate multiple source JAR files with the same name for the 
> hbase-http and hbase-diagnostics modules for tests and source. This happens 
> because both a parent configuration and the module's own pom.xml are 
> configured to create a source JAR without a unique identifier, leading to a 
> "duplicated artifacts attached" error.
>  
> this causes build to fail when we update the maven-source-plugin to 3.3.0. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to