resthub / resthub-spring-stack

RESThub Spring stack
http://resthub.org/spring-stack.html
Other
121 stars 66 forks source link

Make dependencies to junit, spring-test and test-jetty-servlet optional #54

Closed sdeleuze closed 12 years ago

sdeleuze commented 12 years ago

It is the right way to do and avoid to get test related JAR into your classpath

sdeleuze commented 12 years ago

If your are upgrading from RESThub <= 1.1.2.x, you should have to add the following lines to your pom.xml :

       <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>test-jetty-servlet</artifactId>
            <scope>test</scope>
        </dependency>