Hi everyone,
I've been using Maven for about a month now, and there are a lot of
things I like about it. A big hurray for convention over
configuration! Also, I think the users-list is very helpful,
I'm now at the point where I want to do custom things. I'm having the
following structure:
project
- project-module1
- project-module2
- project-launcher (this is also a module)
"mvn package project-module1" builds a jar, which is fine. Now I want
to go a step further, and do the following:
I want a maven target that generates the following directory layout:
target/
target/lib
target/plugins
target/launcher.jar
Furthermore, project-module1 has quite some dependencies (3d-party
jars in the local repository). Exactly one of those dependencies (the
plugin-engine) should go into target/lib, most of the other
dependencies should go into target/plugins. I don't mind specifying
those by hand in the pom.xml.
I would be quite happy if I could accomplish this. I think it should
be trivial when not using Maven, just a shell-script with some file-
copying. But is this trivial too when I use Maven? Should I write my
own target? What's the best place to start?
Thanks again,
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]