Sorry if I used a wrong mailing list, Anyway this thing about the jdk should be written somewhere, like in the "how to develop a component" page. Giordano. 2015-12-12 11:13 GMT+01:00 [email protected] <[email protected]>:
XWiki 6.x requires java 6 XWiki 7.x requires java 7
Thanks -Vincent
PS 1: Don’t reply to me please. Instead reply to the list. Thanks PS 2: Next time please use the users lists, the devs list is for people developing the xwiki project. See http://dev.xwiki.org/xwiki/bin/view/Community/MailingLists which says clearly: “For XWiki development itself (to be used by Committers and Contributors to the XWiki development)."
On 12 Dec 2015 at 11:07:01, Giordano Ninonà ([email protected] (mailto:[email protected])) wrote:
It ended in a compilation error because in my component I used jdk 8 then stuff like lambda expression and multi-catch that "are not supported in -source 1.6" ... sorry but I don't have a clue of what is happened.
Giordano.
2015-12-12 10:58 GMT+01:00 Giordano Ninonà :
Thanks, i have created a setting.xml file as suggested in the link, now it seems to work but now it is downloading a very lot of packages, it is normal?
Giordano.
2015-12-12 10:36 GMT+01:00 [email protected](mailto: [email protected]) :
Hi Giordano, On 12 Dec 2015 at 10:16:20, Giordano Ninonà ( [email protected](mailto:[email protected])(mailto: [email protected])) wrote:
When I compile, Maven says to me that the "org.xwiki.platform:xwiki-platform-oldcore:jar is missing.”
This probably means that you have not told Maven where to find artifacts, i.e. you have not configured the Maven Remote repository locations.
See http://dev.xwiki.org/xwiki/bin/view/Community/Building
Thanks -Vincent
2015-12-12 9:15 GMT+01:00 Giordano Ninonà :
Hi devs,
I am developing a Java component that provides methods accessed through a script service. I need to modify XWiki pages, thus i need the context and, if i remember well, to add the "xwiki-platform-oldcore" dependency in the pom.xml file. Unfortunately maven cannot resolve the dependency, saying that "the artifact is missing".
Someone can help me?
Giordano.