[xwiki-devs] [ANN] New Maven 2.1 SNAPSHOT version available on dev.xwiki.org
Hi, 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%2D... Please try it out. Thanks -Vincent
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? 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%2D...
Please try it out.
-- Artem Melentyev
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%2D...
Please try it out.
Vincent Massol wrote:
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. done. I found this issue in XE, XEM and Watch.
-- Artem Melentyev
participants (2)
-
Artem Melentyev -
Vincent Massol