On Mon, Oct 20, 2008 at 10:20, Ernst Bunders <[EMAIL PROTECTED]> wrote:
> hello
>
> I am working an the maven build for the vpro-wizards, and i have a
> question regarding the mmbase-module plugin.
> What i am a bit unsure about is what to do with the jar dependencies
> to the module? I guess not include them in the module archive?
> How to handle this? Any ideas?

I don't know either. To include them in the mmbase-module archive
would at least be possible with some hackery. And I'm suppose it will
work then.

But indeed you 'd like to indicate somehow that a certain module has a
certain (runtime dependency) I suppose you are thinking of spring. I
myself just encounted a similar problem with xalan (the stupid jstl
xml tags have a dependency on xalan, so if your componentns usess
them, it has a runtime dependency on &#(*$&(@- xalan, and it should be
installed on install of the mmbase-module).

So, I just added some hackery in maven.xml of the richtext application:

    <copy todir="${maven.build.dir}/mmbase-richtext/lib/">
      <fileset dir="${maven.repo.local}/xalan/jars/">
        <include name="xalan-2.7.1.jar" />
      </fileset>
    </copy>


Yes. this is horrible. I'd also like to know if it could be done better.

Michiel

-- 
mihxil'  http://meeuw.org
nl_NL eo_XX en_US
_______________________________________________
Developers mailing list
Developers@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to