Last updated August 02, 2009 11:14, by Peter Mount
Feedicon  

Downloading retepTools

retepTools requires Maven 2.0.9 or later and Java JDK1.6 or later to build and run. Although you could use another build tool like ant you would have to handle all the dependency resolution and assembly yourself.

Maven Repositories

The releases are all available in the main release repository which you will need to add to your pom for maven to use. You will also need to reference the java.net repositories (for JAXB support).

Release Repository

Inside your pom, you need to add the following to the repositories and pluginRepositories sections:

        <repository>
            <id>retep.releases</id>
            <name>retep.org Maven 2 Repository</name>
            <url>http://reteptools.kenai.com/maven/releases/</url>
        </repository>

        <!-- required for JAXB -->
        <repository>
            <id>maven2-repository.dev.java.net</id>
            <name>Java.net Repository for Maven</name>
            <url>http://download.java.net/maven/2/</url>
            <layout>default</layout>
        </repository>
        <repository>
            <id>java.net</id>
            <url>http://download.java.net/maven/1</url>
            <layout>legacy</layout>
        </repository>
    
        <!-- required for maven plugins provided by retepTools -->
        <pluginRepository>
            <id>retep.releases</id>
            <name>retep.org Maven 2 Repository</name>
            <url>http://reteptools.kenai.com/maven/releases/</url>
        </pluginRepository>

Snapshots

Occasionally I may publish snapshot's of a future release. This will be used for 9.9 and later versions but you must be aware that these versions are developmental. To use the snapshot repository add the following to the repositories and pluginRepositories sections:

        <repository>
            <id>retep.snapshots</id>
            <name>retep.org Maven 2 Repository</name>
            <url>http://reteptools.kenai.com/maven/snapshots/</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    
        <pluginRepository>
            <id>retep.snapshots</id>
            <name>retep.org Maven 2 Repository</name>
            <url>http://reteptools.kenai.com/maven/snapshots/</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </pluginRepository>

Maven Dependencies

At a minimum you need to include the following within your component's pom to include the core library. Obviously if you use the other modules then you need to include additional dependencies - those will be listed against the relevent modules documentation:

        <dependency>
            <groupId>uk.org.retep</groupId>
            <artifactId>retepTools</artifactId>
            <version>[9.8,)</version>
        </dependency>

JDK Configuration

As all retep projects have a base minimum of Java 6 (JDK1.6) you should set the source and target to 1.6:

            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.0.2</version>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                </configuration>
            </plugin>

  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2014, Oracle Corporation and/or its affiliates
(revision 20160708.bf2ac18)
 
 
Close
loading
Please Confirm
Close