OK I have worked out what was causing the repeat attachment and deployment of
the sources and javadoc jars
I was already specifying javadoc and source jar creation in my build profile
- I didn't release that release:perform also specified these artifacts -
hence the attempt to deploy the
Hi
Can anyone tell me if I can change the deploy configuration to prevent
this
In a multi-module project I am getting problems deploying multiple release
artifacts (each module builds 3 artifacts for deployment: .jar,
-sources.jar and -javadoc.jar )
running mvn release:prepare
we have many variable properties in our POMs to control
artifact and depedency artifact versions and need these
interpolated before deployment.
If you use the maven-release-plugin, you can use
-DgenerateReleasePoms=true as a command line option to generate a
release-pom.xml. Everything in
artifact and
depedency artifact versions and need these interpolated before deployment.
On a related issue we would also like to exclude any build directives from
the uploaded POM, but to edit a POM manually to achieve all this seems
unecessarily laborious!
Thanks for any help
Trevor Paterson