And again lots of thanks.
I'd resopond with regard to the numbering:

2. I think I'm a little bit confused here. As far as I can understand you, a
dependency of type [war] and scope [compile] will not offer project A's
classes to project B in compile time (as opposed to a type [jar] dependency
that will). In addition, project A's jsps are not packaged when using WTP's
deploy in Eclipse. What should happen with project A's classes when I deploy
project B with WTP? Right now, I go to tomcat's webapp directory and into
project B's directory, but I don't see project A's classes in the
WEB-INF/classes/ dir. I deduct that when I deployed project B with WTP, even
though I had a dependency on project A's WAR - it didn't package anything
(not the classes nor the jsps).
I think this sums up my main and biggest problem, and I still don't see what
I better double-check. I mention again that when I use mvn:package on
project B, the classes and jsps of project A do appear. So the problem seems
to be plainly with the deployment of project B with WTP, which completely
ignores the maven's dependency on project A's WAR.

5. How shall I develop my infrastructure project (project A) along with some
other project that depends on it (project B)?
if project B has all its dependencies in maven, including the dependency on
project A - I'd have to install a new WAR of project A every time I change
it as part of the development of project B!
It's absurd to me :)
Eclipse gives me the solution, enabling me to create a dependency of project
B on project A without having jars or wars. This way I can change project A
and instantly see the effect on project B, right? But if I'm not to touch
the dependencies of project B manually because of maven, I won't be able to
do it...

So, I hope I made myself clearer this time.
Sorry if it turns out too long and exhausting, but I really appreciate the
help.

-- 
View this message in context: 
http://www.nabble.com/Maven-%2B-Eclipse-%2B-Tomcat-%2B-war-dependencies-tp21240154p21244151.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to