On Sep 23, 2009, at 1:45 PM, Dominic Mitchell wrote:
On Wed, Sep 23, 2009 at 5:03 PM, Steven D. Majewski <sd...@virginia.edu
> wrote:
myBlock1 & myBlock2 seem to have all the right dependencies (and
they work on their own),
but myCocoonWebapp has only the jars from those two blocks:
[INFO]
------------------------------------------------------------------------
[INFO] [dependency:tree {execution: default-cli}]
[INFO] edu.virginia.lib:myCocoonWebApp:war:1.0.0
[INFO] +- edu.virginia.lib:myBlock1:jar:1.0-SNAPSHOT:compile
[INFO] \- edu.virginia.lib:myBlock2:jar:1.0-SNAPSHOT:compile
[INFO]
------------------------------------------------------------------------
Obviously something is missing from the webapp, but I don't think I
missed
any steps in the tutorial. ( But as I noted in previous message, an
earlier
step or two seem to have been left out. )
I guess I'll go read the maven docs and see if I can find a clue.
I think this is happening because you used "mvn install:install-
file" instead of "mvn install". That would only install the jar
file, not the POM. Maven needs the POM accessible so it can work
out the dependencies. That's why they're not showing up when you
run "mvn dependency:tree".
-Dom
Thanks. Yes -- I saw that observation in the other message.
However: it wouldn't build doing just a 'mvn install' on the blocks.
I've just deleted my test code as well as ~/.m2 repository so I can
start over clean,
just in case one of my earlier failed attempts left someting in the
repository
that may be causing a problem.
-- Steve M.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org