First I downloaded the gatein source,unzip it,follow the readme file," mvn clean install",I got maven build error, lots of deprecated api,so I add <maven.compile.deprecation>off</maven.compile.deprecation> in the pom.xml and that works.
My problem is , when I import into eclipse(with jboss tools plugsin's & m2eclipse),I got lots of build errors,maven dependencies only recognized 3 jars, slf4j-jdk1.4-1.5.6.jar,slf4j-api.jar and hsqldb-184.108.40.206.jar.
How can I config maven in eclipse? Thanks
Sorry, I'm new to maven . Now I solved the problem,Just right click the project-->maven -->Enable nested modules ,that works...