You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Mark R. Diggory" <md...@latte.harvard.edu> on 2004/02/16 18:45:30 UTC
Muliproject or reactor to build commons?
I'm working on getting the Jakarta Commons to build from the
jakarta-commons/commons-build project directory.
Currently I'm encounter issues with the reactor not seeming to work, I
try to run a goal with the reactor in it and get a "success with no
other info back from maven (even with the -X debug option).
On Windoz:
> C:\Eclipse3.0\workspace\jakarta-commons>maven -X build-all
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
>
> [DEBUG] Adding reference: maven.dependency.classpath ->
> [DEBUG] Adding reference: maven-classpath ->
> BUILD SUCCESSFUL
> Total time: 8 seconds
> Finished at: Mon Feb 16 12:42:14 EST 2004
On *nix:
> [mdiggory@osprey commons-build]$ maven -X build-all
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
>
> [DEBUG] Adding reference: maven.dependency.classpath ->
> [DEBUG] Adding reference: maven-classpath ->
> BUILD SUCCESSFUL
> Total time: 9 seconds
> Finished at: Mon Feb 16 12:35:13 EST 2004
the build-all goal looks like:
<goal name="build-all">
<maven:reactor
basedir="${basedir}"
includes="../*/project.xml"
excludes="../commons-build/project.xml"
goals="clean,jar"
banner="Building"
ignoreFailures="false"
/>
</goal>
is there something obvious I'm missing? Or would it be better if I was
trying to build the commons site using the multiproject plugin instead?
-Mark
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Muliproject or reactor to build commons?
Posted by "Mark R. Diggory" <md...@latte.harvard.edu>.
I determined that this was an issue with the way someone had written the
maven.xml
the project tag needed to be
<project default="build-all"
xmlns:maven="jelly:maven">
not
<project default="build-all"
xmlns:reactor="reactor"
xmlns:m="maven">
not sure why it was that way.
-Mark
Mark R. Diggory wrote:
> I'm working on getting the Jakarta Commons to build from the
> jakarta-commons/commons-build project directory.
>
> Currently I'm encounter issues with the reactor not seeming to work, I
> try to run a goal with the reactor in it and get a "success with no
> other info back from maven (even with the -X debug option).
>
> On Windoz:
>
>> C:\Eclipse3.0\workspace\jakarta-commons>maven -X build-all
>> __ __
>> | \/ |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>> |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
>>
>> [DEBUG] Adding reference: maven.dependency.classpath ->
>> [DEBUG] Adding reference: maven-classpath ->
>> BUILD SUCCESSFUL
>> Total time: 8 seconds
>> Finished at: Mon Feb 16 12:42:14 EST 2004
>
>
>
>
> On *nix:
>
>> [mdiggory@osprey commons-build]$ maven -X build-all
>> __ __
>> | \/ |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>> |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
>>
>> [DEBUG] Adding reference: maven.dependency.classpath -> [DEBUG] Adding
>> reference: maven-classpath -> BUILD SUCCESSFUL
>> Total time: 9 seconds
>> Finished at: Mon Feb 16 12:35:13 EST 2004
>
>
>
>
>
>
> the build-all goal looks like:
>
> <goal name="build-all">
> <maven:reactor
> basedir="${basedir}"
> includes="../*/project.xml"
> excludes="../commons-build/project.xml"
> goals="clean,jar"
> banner="Building"
> ignoreFailures="false"
> />
> </goal>
>
> is there something obvious I'm missing? Or would it be better if I was
> trying to build the commons site using the multiproject plugin instead?
>
> -Mark
>
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org