Reinier van den Born wrote:
Bartosz Oudekerk wrote:
Reinier van den Born wrote:
I didn't mention this explicitly, but
- I have no reference to maven.repo.* anywhere in the project, except in
the project.properties provided by Hippo.
- no build.properties outside my projects
- my maven is an unzip of the maven-1.0.2.zip, untouched.
- never tried to configure maven before, change files in the cache, etc.
etc.
No reference to ibiblio anywhere in the project. Almost nowhere on my
disk.
ibiblio seems to be configured as some sort of default for the
maven-artifact and maven-jar plugins of maven.
Unless you specifically overwrite it elsewhere, it should still use the
maven.repo.remote from editor/project.properties, so I'm a bit confused
about what's going on then. It works for me locally BTW.
Don't know what you mean here. Sounds like once maven thinks it knows a
dependency it never looks in another place, even if you modify the
maven.repo.remote setting? Can't be true.
Correct, it isn't.
Anyway, I found the problem. In the root of the project I found a
project.xml with an empty dependencies, so I put the dependencies in
that file. Seemed the most natural place, since that file is local.
Anyway, when I put the dependencies in editor/project.xml the jar is found.
Now you've got me confused. Didn't it even look for the jar before, or
did it throw an error because of the 301?
Question remains how I can localize this: do I need to overwrite the
project.xml after checking out the editor, similar to what I do with the
build properties? Or is there a better way to add/replace dependencies?
There's also a common-project.xml, which is the one that's extended by
editor/project.xml. You should use that one, that's where I put the
dependency and maven retrieved it without problem.
Similar question for the copy of servicemanager configuration. Although
since the howto tells me to manually copy the files suggests to me that
there is no simple config to do the copy automatically.
I'm not sure which HOWTO you're referring to, but there should be no
need to manually copy the servermanager configuration. You can configure
which servermanager configuration to use with the build.properties:
maven.cocoon.servermanager.configuration &
maven.cocoon.servermanager.configuration.dir
You already use this when building a war for one of your projects IIRC.
Regards,
--
Bartosz Oudekerk
.---------------------------------.-----------------------------------.
| Hippo B.V. | Hippo USA Inc. |
| Oosteinde 11 | 101 H Street, suite Q Petaluma CA |
| 1017 WT Amsterdam | 94952-3329 San Francisco |
| The Netherlands | United States |
| Tel +31 (0)20 5224466 | +1 (707) 773-4646 |
+---------------------------------+-----------------------------------+
| [EMAIL PROTECTED] | http://www.onehippo.com |
`---------------------------------^-----------------------------------'
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html