You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Muser007 <sa...@wiziotec.com> on 2005/05/20 19:31:16 UTC
need help with defining multiproject...
Hi,
I am able to successfully build and create the main and sub project jars
seperately. But now I have a list of requirements I need to fulfil.
How do I customize maven build so I can get the latest sources from CVS
and build nightly or weekly, creating a directory with the timestamp.
I also need to be able to use multiproject so I can build all subprojects.
Here is what my project.properties look like:
maven.multiproject.type=jar
maven.multiproject.basedir=c:/workspace/root
maven.multiproject.includes=*/project.xml,src/*/project.xml
maven.multiproject.site.goals=site
multiproject:install snapshot
And my maven.xml looks like:
<project default="WizioTec:build"
xmlns:j="jelly:core"
xmlns:maven="jelly:maven"
xmlns:deploy="deploy">
<goal name="wiziotec:build" description="Build WizioTec">
<maven:reactor basedir="${basedir}"
includes="**/project.xml"
excludes="build/**,project.xml"
goals="jar:install"
banner="Installing WizioTec:"
ignoreFailures="false" />
</goal>
<goal name="Wiziotec:clean" description="Build WizioTec"
prereqs="clean">
<maven:reactor basedir="${basedir}"
includes="**/project.xml"
excludes="target/**,project.xml"
goals="clean:clean"
banner="Installing:"
ignoreFailures="false" />
</goal>
</project>
When I issue the command c:> maven multiproject:jar , I get the
following error:
Fatal Error: The prefix "maven" for element "maven:reactor" is not bound.
followed by a bunch of parsing errors.
Any ideas of what I am doing wrong? Please help!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org