Menu

#8 [javaapp] File concat, project exclusion, & jdk compat jars

open
nobody
javaapp (1)
5
2006-08-01
2005-06-14
No

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.

Discussion

  • Mark Proctor

    Mark Proctor - 2005-06-14

    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.

     
  • Jeff Jensen

    Jeff Jensen - 2006-08-01
    • labels: --> javaapp
    • summary: File concatenation, project exclusion and jdk compat jars --> [javaapp] File concat, project exclusion, & jdk compat jars
     
  • Jeff Jensen

    Jeff Jensen - 2006-08-01

    Logged In: YES
    user_id=498804

    HI Mark, are you still in need of this, or have you moved on??

     
  • Mark Proctor

    Mark Proctor - 2006-08-02

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.