Berin Loritsch wrote:
$ maven jar [results in one jar]

hmm. In buildsystem/maven-common.xml, it says:


    <!-- build api and impl jars as well -->
    <preGoal name="java:jar">
        <attainGoal name="avalon:custom-jar"/>
    </preGoal>


where 'avalon:custom-jar' builds the -api and -impl jars. I just found in the CVS version of maven for the java:jar goal:


        java:jar is deprecated and will be removed. Please use
        jar:jar

and java:jar redirects to jar:jar (as does 'jar'). So the preGoal should probably change to be for jar:jar. Trial-and-error!

$ maven avalon:jars

obviously doesn't work as expected :D


    <goal name="avalon:jars"
            description="builds all jars">

        <attainGoal name="avalon:header"/>
        <maven:reactor
          basedir="${basedir}"
          includes="*/project.xml"
          goals="java:jar"
          banner="Excalibur is building jar:"
          ignoreFailures="false"/>
    </goal>

this came from the maven.xml in excalibur cvs. Unfortunately,

includes="*/project.xml"

doesn't match anything! It should read

basedir="${basedir}/.."

I guess.

- LSD



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to