Hi. I've automated my deployment to Nexus OSS repo with
maven-release-plugin.  My project has open source dependencies that do not
source from Central.  So, since Nexus requires projects to be
self-contained, I'm also using maven-shade-plugin to include those
dependencies in the jar and strip their <dependency/> tags from the
release's pom.xml.  However, the <repositories/> block still exists in it,
this makes the package not self-contained, and therefore it fails to release
on Nexus.  To solve the problem, I need a way to strip the <repositories/>
branch of xml from the release pom.xml.

Is there a plug-in out there that would help me do this?
Do I need to write something custom?

Thanks.


Steven

Reply via email to