take a look at 267. This is our Drools jar-all goal
that builds a single jar for our multiproject.
http://cvs.drools.codehaus.org/viewrep/drools/drools/maven.xml?r=1.53.2.11
The key difference is that we need to concatonate
drools.conf files. We also exclude a build time
dependency project as well as jdk1.5 projects. This is
done using the property "drools.jdk5.projects", we hope
to eventually have that controlled by the project
properties maven.compile.source and maven.compile.target.
We also plan to deploy two jar-all jars, one for jdk1.4
and one for jdk1.5.
Would be great if we could dump the custom code and
just use a single plugin for all of this.
Mark
Drools Project Lead.
Logged In: YES
user_id=40124
some ideas on how to do this.
maven.javaapp.exclusion = <list of project names> (applies
to all resulting jars)
-This property could potentially be jdk specific too
maven.javaapp.exclusion-jdk1.5 = <list of project names>
(applies to the jdk1.5 compatible jar)
maven.javaapp.exclusion-jdk1.4 = <list of project names>
(applies to the jdk1.4 compatible jar)
maven.javaapp.jdk-specific = <list of target jars> (1.4 1.5
- leave blank and it will just include all)
maven.javaap.concat-text-files = <list of text files to be
concatenated>
Will also need a naming convention for jdk specific jars.
Logged In: YES
user_id=498804
HI Mark, are you still in need of this, or have you moved on??
Logged In: YES
user_id=40124
It's probably still a good idea. But we are no longer in
need of this feature at the moment.