mainproject is not deployed
hi, in my project I'm using the reactor to automatically build the 2 subprojects. project |-subproject1 |-subproject2 |-maven.xml |-project.xml The reactor properly finds and builds the subprojects and deploys them but the project itself is not deployed. All necessary files (e.g. index.html) are generated in target/docs but they are not deployed. Can anybody tell me the reason why? Please give me a hint! I attached the maven.xml and project.xml file I am using in the projects directory maybe you find something wrong. Thanks. --maven.xml--- ?xml version=1.0 encoding=ISO-8859-1? project default=site xmlns:j=jelly:core xmlns:maven=jelly:maven xmlns:velocity=jelly:org.apache.commons.jelly.tags.velocity.VelocityTagLibrary preGoal name=site attainGoal name=all-build/ /preGoal goal name=all-build maven:reactor basedir=${basedir} includes=framework/src/project.xml,glcr/webapp/src/project.xml banner=Building site goals=clean,jar:install,site:deploy postProcessing=true ignoreFailures=true / fileScanner var=templates fileset dir=${basedir}/templates include name=*.xml/ /fileset /fileScanner j:forEach var=template items=${templates.iterator()} j:set var=templateName value=${template.name}/ echoProcessing ${templateName} template .../echo velocity:merge name=${basedir}/xdocs/${templateName} basedir=${basedir}/templates template=${templateName}/ /j:forEach /goal /project --project.xml--- ?xml version=1.0? project pomVersion3/pomVersion nameGLCR-Projekt/name idglcr/id currentVersion0/currentVersion organization nameBDO/name url/url logo/logo /organization inceptionYear/inceptionYear descriptionGLCR Description... /description shortDescriptionshort description blabla/shortDescription urlhttp://grip//url siteAddressgrip/siteAddress siteDirectory/var/www//siteDirectory distributionDirectory/var/www/build//distributionDirectory repository connection !--scm:cvs:ext:[EMAIL PROTECTED]:/home/cvsroot:kato-- /connection /repository !--developers developer nameSteffen Fiedler/name ids_fiedler/id email[EMAIL PROTECTED]/email organizationSourcePark GmbH/organization roles roleaktiv/role /roles /developer developer nameMatthias Barmeier/name idm_barmeier/id email[EMAIL PROTECTED]/email organizationSourcePark GmbH/organization roles roleaktiv/role /roles /developer developer nameKnut Herhold/name idk_herhold/id email/email organizationSourcePark GmbH/organization roles rolenicht aktiv/role /roles /developer /developers-- dependencies dependency groupIdcommons-jelly/groupId artifactIdcommons-jelly-tags-velocity/artifactId version20030303.205659/version /dependency dependency idvelocity/id version1.3/version /dependency /dependencies build /build /project - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mainproject is not deployed
On Mon, 2003-07-07 at 13:20, Kristine Weissbarth wrote: hi, in my project I'm using the reactor to automatically build the 2 subprojects. project |-subproject1 |-subproject2 |-maven.xml |-project.xml The reactor properly finds and builds the subprojects and deploys them but the project itself is not deployed. That would be because you're using the reactor to run site:deploy in the subprojects: maven:reactor basedir=${basedir} includes=framework/src/project.xml,glcr/webapp/src/project.xml banner=Building site goals=clean,jar:install,site:deploy postProcessing=true ignoreFailures=true / but you're (defaulting, at least) to running just 'site' in the top-level project: ?xml version=1.0 encoding=ISO-8859-1? project default=site xmlns:j=jelly:core xmlns:maven=jelly:maven Try 'maven site:deploy' from the top level. -Mark. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]