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}"/>
      <echo>Processing ${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>
  <pomVersion>3</pomVersion>
  <name>GLCR-Projekt</name>
  <id>glcr</id>
  <currentVersion>0</currentVersion>
  <organization>
    <name>BDO</name>
    <url></url>
    <logo></logo>
  </organization>
  <inceptionYear></inceptionYear>
  <description>GLCR Description...  </description>    
  <shortDescription>short description blabla</shortDescription>

  <url>http://grip/</url>  
  <siteAddress>grip</siteAddress>
  <siteDirectory>/var/www/</siteDirectory>
  <distributionDirectory>/var/www/build/</distributionDirectory>  
  
  <repository>
    <connection>
     
<!--scm:cvs:ext:[EMAIL PROTECTED]:/home/cvsroot:kato-->
    </connection>    
  </repository>
  
  <!--<developers>

    <developer>
      <name>Steffen Fiedler</name>
      <id>s_fiedler</id>
      <email>[EMAIL PROTECTED]</email>
      <organization>SourcePark GmbH</organization>
      <roles>
        <role>aktiv</role>
      </roles>
    </developer>

    <developer>
      <name>Matthias Barmeier</name>
      <id>m_barmeier</id>
      <email>[EMAIL PROTECTED]</email>
      <organization>SourcePark GmbH</organization>
      <roles>
        <role>aktiv</role>
      </roles>
    </developer>
    
    <developer>
      <name>Knut Herhold</name>
      <id>k_herhold</id>
      <email></email>
      <organization>SourcePark GmbH</organization>
      <roles>
        <role>nicht aktiv</role>
      </roles>
    </developer>    

  </developers>-->
  

  <dependencies>
  
    <dependency>
      <groupId>commons-jelly</groupId>
      <artifactId>commons-jelly-tags-velocity</artifactId>
      <version>20030303.205659</version>       
    </dependency> 
    
    <dependency>
      <id>velocity</id>
      <version>1.3</version>       
    </dependency>
   
  </dependencies>
  
  <build>
  </build>      
  
</project>



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

Reply via email to