You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2002/02/25 23:08:43 UTC

cvs commit: jakarta-turbine-maven/src/templates/project project.xml

jvanzyl     02/02/25 14:08:43

  Added:       src/templates/project project.xml
  Log:
  velocity template used for creating a new project descriptor
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-maven/src/templates/project/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0"?>
  <project>
    
    <name>$project.name</name>
    <id>$project.id</id>
    <currentVersion>$project.currentVersion</currentVersion>
    <organization>$project.organization</organization>
    <inceptionYear>$project.inceptionYear</inceptionYear>
    <package>$project.package</package>
  
    <shortDescription>$project.shortDescription</shortDescription>
  
    <description>
    <![CDATA[
      $project.description
    ]]>
    </description
    
    <url>$project.url</url>
    <cvsWebUrl>$project.cvsWebUrl</cvsWebUrl>
    
    <repository id="$project.repository"/>
    
    <mailingLists>
      #foreach ($mailingList in $mailingLists)
      <mailingList>
        <name>$mailingList.name</name>
        <subscribe>$mailingList.subscribe</subscribe>
        <unsubscribe>$mailingList.unsubscribe</unsubscribe>
        <archive>$mailingList.archive</archive>
      </mailingList>
      #end
    </mailingLists>
  
    <developers>
  
      <!-- Eventually this might be a reference to a developer
           id, but the question is where the individual entries
           should reside. For the Turbine projects maybe an overall
           repository of developer entries, but for other projects
           what do we do. A global repository of Java developer ids?
           
           I am adding the login for each developer, so maybe this
           is really a per-project things like password and login
           may be different for each project but possibly the
           identity of the developer could be store in some
           repository. Anyway, suggests tweaks to the model.
      -->
      
      #foreach ($developer in $developers)
      <developer>
        <name>$developer.name</name>
        <id>$developer.id</id>
        <email>$developer.email</email>
        <organization>$developer.organization</organization>
      </developer>
      #end    
    </developers>
    
  
    <!-- Need to mark these as compile-time/run-time -->
  
    <dependencies>
  
      #foreach ($dependency in $dependencies)
      <dependency>
        <name>$dependency.name</name>
        <type>$dependency.type</type>
        <version>$dependency.version</version>
        <jar>$dependency.jar</jar>
      </dependency>
      #end
      
    </dependencies>
    
    <build>
          
      <sourceDirectories>
        #foreach ($sourceDirectory in $sourceDirectories)
        <sourceDirectory>$sourceDirectory</sourceDirectory>
        #end
      </sourceDirectories>  
  
      <testSourceDirectories>
        #foreach ($testSourceDirectory in $testSourceDirectories)
        <testSourceDirector>$testSourceDirectory</testSourceDirectory>
        #end
      </testSourceDirectories>  
  
      <aspectSourceDirectories>
        #foreach ($aspectSourceDirectory in $aspectSourceDirectories)
          <aspectSourceDirectory>$aspectSourceDirectory</aspectSourceDirectory>
        #end
      </aspectSourceDirectories>  
  
      <!-- Unit test classes -->
      <unitTestClassEntries>
        #foreach ($unitTestClassEntry in $unitTestClassEntries)
        <unitTestClassEntry>$unitTestClassEntry</unitTestClassEntry>
        #end
      </unitTestClassEntries>  
  
      <!-- Runtime unit test classes -->
      <runtimeTestClassEntries>
        #foreach ($runtimeTestClassEntry in $runtimeTestClassEntries)
        <runtimeTestClassEntry>$runtimeTestClassEntry</runtimeTestClassEntry>
        #end
      </runtimeTestClassEntries>  
  
      <!-- J A R  R E S O U R C E S -->
      <!-- Resources that are packaged up inside the JAR file -->
      
      <jarResources>
        #foreach ($jarResource in $jarResources)
        <jarResource>$jarResource</jarResource>
        #end
      </jarResources>
  
      <jars>
      </jars>  
    </build>
  </project>
  
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>