Hi Giordano, On 12 Dec 2015 at 11:26:11, Giordano Ninonà ([email protected](mailto:[email protected])) wrote:
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.
Yes, I agree that we need to create a new page that explains how to build an extension to XWiki. Right now we have http://dev.xwiki.org/xwiki/bin/view/Community/Building but it’s dedicated to build XWiki from sources. Then we have several tutorials related to building various types of XWiki extensions such as: * Components: http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents * Macro: http://rendering.xwiki.org/xwiki/bin/view/Main/ExtendingMacro * etc. Then we also have explanations on how to contribute a new extension in xwiki-contrib: * http://contrib.xwiki.org/xwiki/bin/view/Main/WebHome. So I think all those pages would benefit from having a link to an external doc page named something like “Building your Extension”. WDYT? If you think this is useful I’ll work on such a page. Let me know. Regarding requirements, there’s a place ATM for running XWiki: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequisi... Thanks -Vincent
Giordano.
2015-12-12 11:13 GMT+01:00 [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.