I need to build war that includes jars required by dependencies.

** Restrictions:
o Maven 1.0 Beta 9
o Dependencies are stored in a remote repository that
  is accessible to all developers.  "maven jar:deploy" is used to
  add jars to the repository.
o Do not want to copy a projects dependencies into the
  current project, i.e. WarProjectB's project.xml should not
  contain references to myJar1 or myJar2 since the jars are
  requied by the dependent jar myBusinessLogic.jar

** Maven projects:
o WarProjectA project
     Dependent on myUtil.jar
o WarProjectB project
     Dependent on myBusinessLogic.jar
     Dependent on myUtil.jar
o myUtil project
     no dependencies
     Produces myUtil.jar

o myBusinessLogic project
     Dependent on myJar1.jar and myJar2.jar
     Produces myBusinessLogic.jar

** Expectations:
WarProjectA
     WEB-INF/lib will include
       myUtil.jar
WarProjectB
     WEB-INF/lib will include myUtil.jar
       myUtil.jar
       myBusinessLogic.jar
       myJar1.jar (From dependency defined in myBusinessLogic project)
       myJar2.jar (From dependency defined in myBusinessLogic project)

How to I configure maven?


Paul Spencer




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to