possible ideas:

1. use templating-maven-plugin to copy resource across

2. place the resource into a file and deploy/install as a classifier to be
consumed by B using maven-dependency-plugin

-D


On Fri, May 9, 2014 at 7:02 AM, James Green <james.mk.gr...@gmail.com>wrote:

> I have two projects - A and B. B depends on A.
>
> A is built with a number (call it a build number). B needs to which number
> is in A at the time B builds.
>
> Any ideas how to achieve this without any human intervention?
>
> FWIW the use case here is that A is software distributed by B (a WAR
> archive). A queries B for an updated build number, thus implementing
> "automatic updates". I'm trying to automate the setting of this number
> across the two projects but I've drawn a blank inside Jenkins for the
> moment.
>
> James
>

Reply via email to