You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Jewabreh, Ehab" <Eh...@directline.de> on 2005/08/24 12:50:45 UTC

Merging dependencies from an external file

Hallo *,

I am using maven for builing a web application. This application depends
on an api that is devoloped in an other country.

Onces a week i get a new release of this api as a zip file. 

The zip file includes:
1- file: dependencies.xml
     <dependencies>
        <dependency>
	    <groupId>isorelax</groupId>
	    <artifactId>isorelax</artifactId>
	    <version>20020707</version>
	   </dependency>
         ...........other dependencies
     </dependencies>

2- directory that contains all new artifacts              


When i integerate the new api into my web aplication i:
1- copy the content of the directory into my internal repository
2- add  "<properties><war.bundle>true</war.bundle></properties>" to each
dependency in dependencies.xml.
3- copy all dependencies from dependencies.xml into project.xml.
4- maven war

This steps have to be done for other projects that depend on the new
api.


Do you have any idea how to automate this process?


Regards,

Ehab





Die Direct Line Versicherung AG gehoert zur internationalen The Royal Bank of Scotland Group. 
Sitz der Direct Line Versicherung AG ist Rheinstrasse 7a, 14513 Teltow; eingetragen beim 
Amtsgericht Potsdam unter der Registernummer HRB 9828. Die zustaendige Aufsichtsbehoerde 
ist die Bundesanstalt fuer Finanzdienstleistungsaufsicht, Bonn. 

Diese E-Mail ist nur fuer den Empfaenger bestimmt und kann vertrauliche, urheberrechtlich 
und gesetzlich geschuetzte Informationen enthalten. Falls diese E-Mail nicht fuer Sie bestimmt 
ist, sollten Sie uns unverzueglich informieren und diese E-Mail loeschen. Das Kopieren, 
Ausdrucken, Verteilen, ganz oder teilweise Veroeffentlichen dieser E-Mail ist untersagt. 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org