jira-importer commented on issue #205: URL: https://github.com/apache/maven-source-plugin/issues/205#issuecomment-2959556786
**[Emmanuel Lécharny](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=elecharny)** commented Ok, same issue with Apache MINA. We had a build that worked for more than a decade, and since I bumped up the dependency to 3.3.0 version, it fails with the exact same error: ```java [ERROR] Failed to execute goal org.apache.maven.plugins:maven-source-plugin:3.3.0:jar (attach-source) on project mina-legal: 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] ``` The plugin configuration, which is global for all the modules: ```java <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-source</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> ``` The global pom reference: https://github.com/apache/mina/blob/2.2.X/pom.xml This is just happening while I'm tryingh to cut a release with: ```java mvn -Pserial,apache-release -DdryRun=true release:prepare ``` Of course, the 'standard' build just works fine: ```java mvn -Pserial clean install ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
