My multiproject has the following structure:

-ear
---src
------conf
------etc...
---target
---project.properties
---project.xml
---maven.xml
-ejb
---src
------conf
------etc...
---target
---project.properties
---project.xml
---maven.xml
-ejb-client
---src
------conf
------etc...
---target
---project.properties
---project.xml
---maven.xml
-hibernate
---src
------conf
------etc...
---target
---project.properties
---project.xml
---maven.xml
-root
---src
------conf
---target
---project.properties
---project.xml
---cruisecontrol.xml

The root is just the base of the multiproject. The project.properties file in the root file is:

   maven.multiproject.basedir=${basedir}/../
   maven.multiproject.includes=*/project.xml
   maven.multiproject.excludes=root/project.xml
   maven.multiproject.site.goals=site

   maven.xdoc.date=left
   #Checkstyle
   maven.checkstyle.properties=src/conf/checkstyle.xml
   #junit props
   maven.junit.fork=yes
   #username
   maven.username=devel
   #cruise control
   maven.cruisecontrol.home=/home/devel/programs/cruisecontrol
   
maven.cruisecontrol.buildresults.site=http://hummer/QS/projects/meatandpotatoes/cruisecontrol
   #scm
   maven.scm.cvs.module=meatandpotatoes
   #maven repo
   maven.repo.list=R2
   #settings for repository 'R2'
   maven.repo.R2=file:///var/www/html/
   maven.repo.R2.directory=repository


I am having an issue running multiproject:site on a linux box. I get the following error:



build:end:

[echo] Now building reactor projects: [QS Hibernate module, QS EJB Module, EJB Client Module, QS]
[copy] Copying 209 files to /home/devel/build/checkout/meatandpotatoes/root/target/docs/multiproject/qsHibernate
[copy] Copying 155 files to /home/devel/build/checkout/meatandpotatoes/root/target/docs/multiproject/meatandpotatoes-ejb
[copy] Copying 109 files to /home/devel/build/checkout/meatandpotatoes/root/target/docs/multiproject/meatandpotatoes-client
[copy] Copying 109 files to /home/devel/build/checkout/meatandpotatoes/root/target/docs/multiproject/meatandpotatoes


BUILD FAILED
File...... /home/devel/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
Element... fail
Line...... 139
Column.... 101
You must exclude meatandpotatoes:meatandpotatoes (the top level project) from the subproject set


Total time: 26 seconds
Finished at: Thu Jan 13 14:25:44 MST 2005

Am i incorrect in assuming that root is the top level project (see hierarchy above) since I do not have any project.xml or project.properties in the parent directory to root?

This configuration works on windows.  That's the really strange things.

thanks,

c


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



Reply via email to