maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Tran <dant...@gmail.com>
Subject Re: Sharing of values across dependant projects?
Date Thu, 15 May 2014 14:27:40 GMT
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.green@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message