Hi Bartosz,
Bartosz Oudekerk wrote:
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.
See below.
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?
I am no maven expert, but I think the following happens:
Without the explicit dependency in (the right) project.xml, it finds a dependency through another jar, which directs
maven to ibiblio. Putting the dependency in project.xml preempts this and makes maven use maven.repo.remote to find the
repository to download from.
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.
OK. Thanks.
Any idea what this local project.xml could be for?
(I should ask Martijn Vos, who put it there)
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
See another mail I just sent to the forum. The "howto" reference is there, like
it was in my first mail in this thread.
But this is a good suggestion. As you can read in the other mail I didn't think
of using it in that way.
You already use this when building a war for one of your projects IIRC.
Not that I am aware. Previous project uses MySQL which is the default.
Regards,
Mvg :-),
--
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
begin:vcard
fn:Reinier van den Born
n:van den Born;Reinier
org:HintTech B.V.
adr:;;Rotterdamseweg 183c;Delft;;2629HD;Netherlands
email;internet:[EMAIL PROTECTED]
tel;work:+31-15-268 2573
tel;fax:+31-15-268 2567
tel;cell:+31-6 494 171 36
note;quoted-printable:KvK Den Haag nr. 27242282 | BTW nr. NL8062.16.396.B01=0D=0A=
=0D=0A=
HintTech levert specialisten op het gebied van softwareontwikkeling (.NET=
en Java), projectmanagement, informatiebeveiliging en business consulting=
.=0D=0A=
=0D=0A=
url:www.hinttech.com
version:2.1
end:vcard
********************************************
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