how to import with addon : org.springframework.roo.addon.equals.RooEquals
I'm new in Spring Roo and I use Eclipse Helios, Spring Roo 1.2.9. I have started a new project : a Spring Simple Template and add Roo Nature, I use Maven 3.0.2 and I'm following the example in a book: Spring Roo Cookbook. The pom is OK, and the project compiles, but when I add roo annotations like the code is showed below the jar was missing : I just read about equals is proveded from Roo Core in the last version that I'm using, so I dont' know what's the compilation error is from about. The eclipse shows me the import is wrong,
Code:
package org.company.myapp.service;
import org.springframework.roo.addon.equals.RooEquals;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.serializable.RooSerializable;
import org.springframework.roo.addon.tostring.RooToString;
@RooJavaBean
@RooToString
@RooEquals
@RooSerializable
public class SimpleService {
private String origin;
}
I add the following lines in my pom.xml but it doesn't work. And I dont' find the jar for
import org.springframework.roo.addon.equals.RooEquals. Thanks for all! any tutorial for begginers with Eclipse?
Code:
<dependency>
<groupId>org.springframework.roo.addon.serializable</groupId>
<artifactId>org.springframework.roo.addon.serializable</artifactId>
<version>1.2.0.M1.jar</version>
</dependency>
<dependency>
<groupId>org.springframework.roo.addon.tostring</groupId>
<artifactId>org.springframework.roo.addon.tostring</artifactId>
<version>1.2.0.M1.jar</version>
</dependency>
<dependency>
<groupId>org.springframework.roo.addon.javabean</groupId>
<artifactId>org.springframework.roo.addon.javabean</artifactId>
<version>1.2.0.M1.jar</version>