We use Hudson and the maven-release-plugin to do the release builds. Now I have a project which contains an assembly that puts together all needed components and then packag
Meanwhile, I found 2 ways of doing what I wanted.
The maven-build-helper-plugin allows to add additional entries to the list of artifacts that should be deployed:
org.codehaus.mojo
build-helper-maven-plugin
1.3
attach-distribution
package
attach-artifact
target/${pom.artifactId}-${pom.version}.tar.gz
tar.gz
The other is as simple as it gets and someone on the maven-user mailinglist pointed this out. Simple use the assembly:single goal instead of asssembly:assembly. This way the generated artifact is uploaded to the repository during the deploy phase.
dist-assembly
package
single