[xwiki-devs] [ANN] New Maven 2.1 SNAPSHOT version available on dev.xwiki.org
Artem Melentyev
amelentev at gmail.com
Fri Apr 4 15:25:47 CEST 2008
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
More information about the devs
mailing list