On Apr 4, 2008, at 2:38 PM, Artem Melentyev wrote: > Hi. > > I've got a linkage error (servlet api not found) while building XE > database with new version of maven. > log: http://nopaste.info/914c240345.html > > After removing "<scope>provided</scope>" from pom.xml, all working > fine. > (And I've successfully build XP & XE) > I think provided scope is not needed here, because nobody provided > servlet api to packager while importing. Am I wrong?
I agree with you although it's strange it was working before. That said, the best solution would to remove the 3 imports in the XWiki class: import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; They'll be removed in the new architecture though so +1 to remove the provided scope for now. Make sure you do the same for the other products too. Thanks -Vincent > Vincent Massol wrote: >> I haven't fully tested this version yet (need the max # of people to >> try it out) but if fixes the problem with the checkstyle plugin not >> working. >> >> Here it is: >> http://dev.xwiki.org/xwiki/bin/download/Community/Building/apache%2Dmaven%2D2.1%2DSNAPSHOT.zip >> >> Please try it out. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

