Hi Torsten,
> Hi, 
>
> in our build environment, we build and release our modules at different 
> times.
> Lets say UI.war is released first,  than backend.ear (using the released 
> UI) is released three days later, 
> than last the WebServices.war were released.
>
> All are using a shared API (common-services.jar)
>
> In our delivery build we dependency-copy the UI.war, the Backend.ear and 
> the Webservices.war into a directory structure.
> We have to guarantee, that the UI.war and the Backend.ear and all other 
> components, too are all using the same version 
> of "commons-services.jar".
>
> How can I check, that an artifact (*.war, *.ear) has the same dependency 
> as another artifact?
>   
Why don't you create a separate "parent POM" project

<project>

   [...]
   <packaging>pom</packaging>
    [...]

  <dependencyManagement>
     [...]
    <dependency>
      <groupId>your-group-id</groupId>
      <artifactId>common-services<artifactId>
      <version>1.2.3</version>
    </dependency>
    [...]
  </dependencyManagement>
[...]
</project>

and let your UI / webservices / backend projects all inherit the version
number from the common parent ?

Regards,

Tobias
 

> Thanx, Torsten
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to