On Monday 15 Sep 2003 21:28, Howard M. Lewis Ship wrote:
> I'm trying to split up my existing Maven project into a master project
> containing sub-projects.  Is this even the right thing to do?

Yes if you have several deliverables.

> I'm getting the following error:
>
> bash-2.05b$ maven multiproject:site
>  __  __
>
> |  \/  |__ _Apache__ ___
> |
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
>
> Starting the reactor...
> Our processing order:
> HiveMind Services and Configuration Microkernel
> +----------------------------------------
>
> | Gathering project list HiveMind Services and Configuration Microkernel
> | Memory: 3M/11M
>
> +----------------------------------------
>
> BUILD FAILED
> File...... file:/C:/Documents and
> Settings/Howard/.maven/plugins/maven-multiproject-plugin-1.1-SNAPSHOT/
> Element... fail
> Line...... 105
> Column.... 101
> You must exclude commons-hivemind:commons-hivemind (the top level project)
> from the subproject set Total time: 3 seconds
> Finished at: Mon Sep 15 16:21:39 EDT 2003
>
>
> What does that mean?

:-)


> Should my top-level project build the HiveMind framework (in advance of
> child projects building add-ons and examples?)

You need to exclude your top-level project from the multiproject build (since 
the multiproject plugin doesnt support processing the top-level in the same 
way) ... in project.properties ...

maven.multiproject.excludes=project.xml


-- 
Andy


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

Reply via email to