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 vincent@massol.net(mailto:vincent@massol.net) :
  Hi Giordano,
 On 12 Dec 2015 at 10:16:20, Giordano Ninonà
(giordano.ninona@gmail.com(mailto:giordano.ninona@gmail.com)(mailto:giordano.ninona@gmail.com))
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.