Hi guys,
I run into problems when using this configuration:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
When doing mvn jgitflow:release-finish I get a 400 error from my nexus instance.
This happens because maven tries to upload the attached sources several times.
Might be related to multi module projects - don't know exactly.
Setting the goal to "jar" solves the issue.
Does anybody have an idea what might cause this problem?
Thanks,
Johannes