ProjectConfigurationForShotoku

Version 6

    Configuring your project to use Shotoku

     

     

    Jars with shotoku classes

    There are, as for now, 2 jars with shotoku classes:

    • shotoku-base.jar - interface definitions

    • shotoku-svn.jar - svn implementation of the base interfaces.

     

    To build a project that uses shotoku, you only need shotoku-base.jar in your classpath.

     

    For a web application/ portlet/ etc which will be integrated with labs (i.e. will be located in jboss-forge.ear)

    In your project.xml, add the following dependency:

            <dependency>
                    <groupId>shotoku</groupId>
                    <artifactId>shotoku-base</artifactId>
                    <version>1.0</version>
                    <jar>shotoku-base.jar</jar>
            </dependency>
    

    OR simply extend the common.xml project descriptor.

     

    For an application/ anything else that will not be in jboss-forge.ear

            <dependency>
                    <groupId>shotoku</groupId>
                    <artifactId>shotoku-base</artifactId>
                    <jar>shotoku-base.jar</jar>
            </dependency>
    
            <dependency>
                    <groupId>shotoku</groupId>
                    <artifactId>shotoku-svn</artifactId>
                    <jar>shotoku-svn.jar</jar>
            </dependency>