http://www.mail-archive.com/turbine-maven-dev@;jakarta.apache.org/msg04646.html
I didn't get a response from anyone so don't know when this will be adressed.
Michal Maczka wrote:
I have simple question
My application is depending on artifacts which are wars/ejb-jars.
Once I install them
ejb-jars are stored in
REPO/${pom.id}/ejbs
wars in
REPO/${pom.id}/wars
How can I specify this kind of dependencies in other project which depends
on ?
Ideally I would like to see maven in action for application which has
layout similar as Java Pet Store e.g.
$ROOT
\src
\applications
\app1 <-- e.g. uses comp1, comp2 the target artifact is ear,
contains war
\src
\application
\webapp
\uitest
\app2 <-- e.g. uses comp2, comp4
\src
\application
\java
\components
\comp1 <-- results in ejb-jar artifact
\src
\java
\ejb
\test
\uitest
\comp2 ...
\comp3 <-- e.g. uses comp4 ....
\comp4
....
And to see how to integrate it with cactus :)
Basically what I am doing now - I am building all components first and
install them in Local Repo. Nextly I want to build all applications - so I need to choose artifacts
which will be bundled with app1.ear app2.ear etc
How to do this correctly? I know how to do this writing my own scripts.. but
this situation seems to be so standard that
I guess Maven should be able to make it easy, maybe even to work with such
layout/build order out of the box after preparing build.propertex and
project.xml files per appliaction and component.
Any hints?
Michal
--
To unsubscribe, e-mail: <mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-user-help@;jakarta.apache.org>
-- To unsubscribe, e-mail: <mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:turbine-maven-user-help@;jakarta.apache.org>
