You can try running maven with the "-X" option. It will produce loads of debug output in which you should be able to find out exactly what maven is trying to do.

Bart


Reinier van den Born wrote:

Bartosz Oudekerk wrote:
 > Reinier van den Born wrote:
 >> Which project.properties or *.properties?
 >
 > It's supposed to be build.properties, sorry for the mixup.
 >
 > They can most likely be found in the root of your users home directory.

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.
 >>
 >> Meaning maybe that jtds is not present on repo1? I don't see it.
 >>
 >> That would be consistent with the fact that the ibiblio problem
 >> apparently exists since Dec 2006, while I have been able to build
 >> happily until I entered the jtds dependency.
 >
 > Probably because the dependencies were found on other repositories, or
 > ibiblio hasn't moved those. Plus, the dependencies you download are
 > saved locally, so there will be no attempt to retrieve them the next
 > time you try to build a project that requires them.

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.

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.

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?

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.


Reinier

--

Reinier van den Born

HintTech B.V.
Rotterdamseweg 183c, 2629 HD Delft
T: +31(0)15 268 2573
F: +31(0)15 268 2567
M: +31(0)6 494 171 36
--
HintTech levert specialisten op het gebied van softwareontwikkeling
(.NET en Java),
projectmanagement, informatiebeveiliging en business consulting.
KvK Den Haag nr. 27242282 | BTW nr. NL8062.16.396.B01



--
Hippo B.V.  -  Amsterdam
Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466

Hippo USA Inc.  -  San Francisco
101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646
-----------------------------------------------------------------
http://www.onehippo.com   -  [EMAIL PROTECTED]
-----------------------------------------------------------------
********************************************
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

Reply via email to