avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Simons <leosim...@apache.org>
Subject Re: Maven Integration
Date Wed, 11 Jun 2003 15:25:48 GMT
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: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message