jvanzyl     2002/06/26 14:17:53

  Added:       src/templates/build/plugins/activity plugin.jelly
                        plugin.properties
  Log:
  activity plugin
  
  Revision  Changes    Path
  1.1                  
jakarta-turbine-maven/src/templates/build/plugins/activity/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  <?xml version="1.0"?>
  
  <project xmlns:j="jelly:core">
  
    <!-- ================================================================== -->
    <!-- C V S  A C T I V I T Y  R E P O R T                                -->
    <!-- ================================================================== -->
  
    <goal name="activity-log">
  
      <change-log
        projectDescriptor="project.xml"
        baseDir="."
        output="${maven.build.dir}/activity-log.xml"
        range="${maven.activitylog.range}"
        factory="${maven.changelog.factory}"
      />
  
      <!-- Transform the activity log into developer activity first -->
      <dvsl
        basedir="${maven.build.dir}"
        destdir="${maven.gen.docs}/"
        extension=".xml"
        force="true"
        toolboxfile="${maven.home}/stylesheets/toolbox.props"
        style="${maven.home}/stylesheets/developer-activity.dvsl"
        includes="activity-log.xml"
        outputencoding="${maven.docs.outputencoding}">
        <!-- Need to add the maven jar to load the toolbox -->
        <classpath refid="maven-classpath"/>
        <tool name="toolbox.string.range" value="${maven.activitylog.range}"/>
        <tool name="toolbox.string.basedir" value="${basedir}"/>
      </dvsl>
  
      <!-- Transform the activity log into file activity-->
      <dvsl
        extension=".xml"
        force="true"
        toolboxfile="${maven.home}/stylesheets/toolbox.props"
        style="${maven.home}/stylesheets/file-activity.dvsl"
        in="${maven.build.dir}/activity-log.xml"
        out="${maven.gen.docs}/file-activity-report.xml">
        <!-- Need to add the maven jar to load the toolbox -->
        <classpath refid="maven-classpath"/>
        <tool name="toolbox.string.basedir" value="${basedir}"/>
        <tool name="toolbox.string.range" value="${maven.activitylog.range}"/>
      </dvsl>
  
    </goal>
    
  </project>
  
  
  
  1.1                  
jakarta-turbine-maven/src/templates/build/plugins/activity/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  # -------------------------------------------------------------------
  # P L U G I N  P R O P E R I E S
  # -------------------------------------------------------------------
  # Activity log plugin.
  # -------------------------------------------------------------------
  
  maven.src.dir = ${basedir}/src
  maven.build.dir = ${basedir}/target
  
  maven.docs.dest = ${maven.build.dir}/docs
  maven.docs.outputencoding = ISO-8859-1
  maven.gen.docs = ${maven.build.dir}/generated-xdocs
  
  maven.changelog.range = 5
  maven.activitylog.range = 30
  maven.changelog.factory = org.apache.maven.cvslib.CvsChangeLogFactory
  
  
  

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

Reply via email to