Trac Maven

A Trac plugin for displaying maven2 site output

Status

early stages - working on a base set of features. You can see it in action here http://trac.rectang.com/projects/javautil/maven/

Requirements

  • Trac >= 0.10
  • Maven2 generated site output

Installation (source)

  1. Check out https://svn-dev.rectang.com/maventrac
  2. Run: python setup.py bdist_egg
  3. Copy the created egg from the dist folder into the plugins directory of your Trac environment.
  4. Add the following section to your trac.ini (note that the site-path must be where your generated output is deployed
    [components]
    maventrac.* = enabled
    
    [maven]
    site-path = /var/www/maven.rectang/javautil/
    
  5. Check if your trac installation is configured for python egg plugins (see Setting up the Plugin Cache)
  6. Restart trac / webserver.
  7. Either install the skin from the skin directory like this:
    cd skin
    mvn install
    
    or set up your system to use the rectang.com repositories at http://dev.rectang.com/repository/release and http://dev.rectang.com/repository/snapshot/
  8. Set your project to use the trac-maven skin to generate a compatible output by adding the following lines to your site.xml
      <skin>
        <groupId>com.rectang.maventrac</groupId>
        <artifactId>maventrac-skin</artifactId>
        <version>1.0-SNAPSHOT</version>
      </skin>
    
  9. Rebuild your site :)

Planned Feaures

Author

Andy "HandyAndE" Williams

License

The MavenTrac Plugin is licensed under the Apache Software License, version 2

Bugs & Ideas

Create a new Ticket.