[xwiki-devs] Regarding Source Codes
Asiri Rathnayake
asiri.rathnayake at gmail.com
Fri Sep 7 05:52:42 CEST 2007
Hi Colin,
Read this very carefully,
http://www.xwiki.org/xwiki/bin/view/Community/Building
basically, you cannot use the -o flag unless you have all the required
artifacts in your local repo.
So please read the build instructions given in above page thoroughly :)
- Asiri
On 9/7/07, Colin Tay <lee_hyeok at yahoo.com.sg> wrote:
>
> Hi,
>
> I have check out all the files at *
> svn://developername@svn.forge.objectweb.org/svnroot/xwiki and attempt to
> install one of the package by issuing "mvn install -o" at the *
> .m2\repository\xwiki\xwiki-platform\web\trunk folder. However, i keep
> getting the
> uable to obtain com.xpn.xwiki.platform:xwiki:pom:5-SNAPSHOT resource.
> How do i resolve this? I have also attached the log file below for
> reference.
>
> Maven version: 2.1-SNAPSHOT
> Java version: 1.5.0_11
> OS name: "windows xp" version: "5.1" arch: "x86"
> [DEBUG] Registering at plexus.core:
> org.apache.maven.wagon.providers.ssh.jsch.interactive.PrompterUIKeyboardInteractive(object realm:
> sun.misc.Launcher$AppClassLoader at a39137), lookuprealm=plexus.core
> [DEBUG] Profile with id: 'xwiki' has been explicitly activated.
> [INFO] Scanning for projects...
> [DEBUG] Profile with id: 'xwiki' has been explicitly activated.
> [DEBUG] Registering at plexus.core:
> org.apache.maven.profiles.activation.OperatingSystemProfileActivator(object realm:
> sun.misc.Launcher$AppClassLoader at a39137), lookuprealm=plexus.core
> [DEBUG] Registering at plexus.core:
> org.apache.maven.profiles.activation.JdkPrefixProfileActivator (object
> realm: sun.misc.Launcher$AppClassLoader at a39137), lookuprealm=plexus.core
> [DEBUG] Registering at plexus.core:
> org.apache.maven.profiles.activation.FileProfileActivator (object realm:
> sun.misc.Launcher$AppClassLoader at a39137), lookuprealm=plexus.core
> [DEBUG] Registering at plexus.core:
> org.apache.maven.profiles.activation.SystemPropertyProfileActivator(object realm:
> sun.misc.Launcher$AppClassLoader at a39137), lookuprealm=plexus.core
> [DEBUG] Registering at plexus.core:
> org.apache.maven.profiles.activation.CustomActivator (object realm:
> sun.misc.Launcher$AppClassLoader at a39137), lookuprealm=plexus.core
> [DEBUG] Registering at plexus.core:
> org.apache.maven.profiles.activation.AlwaysOnProfileActivator (object
> realm: sun.misc.Launcher$AppClassLoader at a39137), lookuprealm=plexus.core
> [DEBUG] Pre-scanning POM lineage of: C:\Documents and
> Settings\123\.m2\repository\xwiki\xwiki-platform\web\trunk\pom.xml for build
> extensions.
> [DEBUG] Building model-lineage for: C:\Documents and
> Settings\123\.m2\repository\xwiki\xwiki-platform\web\trunk\pom.xml to
> pre-scan for extensions.
> [DEBUG] Profile with id: 'xwiki' has been explicitly activated.
> [DEBUG] Skipping disabled repository xwiki-releases
> [DEBUG] Skipping disabled repository central
> [DEBUG] xwiki: using locally installed snapshot
> [DEBUG] Trying repository xwiki-externals
> Downloading:
> http://maven.xwiki.org/externals/com/xpn/xwiki/platform/xwiki/5-SNAPSHOT/xwiki-5-SNAPSHOT.pom
> [DEBUG] Unable to get resource '
> com.xpn.xwiki.platform:xwiki:pom:5-SNAPSHOT' from repository
> xwiki-externals (http://maven.xwiki.org/externals)
> [DEBUG] Skipping disabled repository xwiki-releases
> [DEBUG] Trying repository xwiki-snapshots
> Downloading:
> http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki/5-SNAPSHOT/xwiki-5-SNAPSHOT.pom
> [DEBUG] Unable to get resource '
> com.xpn.xwiki.platform:xwiki:pom:5-SNAPSHOT' from repository
> xwiki-snapshots (http://maven.xwiki.org/snapshots)
> [DEBUG] Skipping disabled repository central
>
> Regards,
>
> *Vincent Massol <vincent at massol.net>* wrote:
>
>
> On Sep 6, 2007, at 6:05 AM, Asiri Rathnayake wrote:
>
> Hi Colin,
>
> By "check-out" i meant svn check out.
>
> i.e you have to get the source code using some subversion client.
>
> Ex. On most linux platforms,
>
> svn co * svn://svn.forge.objectweb.org/svnroot/xwiki/trunks-users*
>
> will download the source into a directory called trunks-users.
>
> Otherwise goto http://fisheye2.cenqua.com/browse/xwiki/
>
> and in the lower left corner you can see options for downloading source in
> zipped format (but these do not work i think).
>
>
> Sources are also available in our remote maven repository, but artifact by
> artifact only and these are only java sources (not all sources, like build
> files, etc). And they're only available for releases...
>
> For example for the 1.1-rc-1 core:
> http://maven.xwiki.org/releases/com/xpn/xwiki/platform/xwiki-core/1.1-rc-1/xwiki-core-1.1-rc-1-sources.jar
>
> I don't know why fisheye doesn't work downloading zips. It used to work.
> In any case make sure to grab only a small portion and not the full sources,
> including tags and branches for the whole wiki ecosystem! :)
>
> -Vincent
>
> On 9/6/07, Colin Tay <lee_hyeok at yahoo.com.sg> wrote:
> >
> > Hi,
> >
> > I have check out the
> > http://www.xwiki.org/xwiki/bin/view/Community/SourceRepository
> > but it seem that there isn't zip files which i can download the entire
> > source codes without clicking on each individual ones.
> >
> > Regards
> >
> > * Asiri Rathnayake <asiri.rathnayake at gmail.com>* wrote:
> >
> > Hi,
> >
> > http://www.xwiki.org/xwiki/bin/view/Community/SourceRepository
> >
> > Didn't you try to check-out svn sources ?
> >
> > - Asiri
> >
> > On 9/5/07, Colin Tay < lee_hyeok at yahoo.com.sg> wrote:
> > >
> > > Hi,
> > >
> > > I have been trying to build XWiki from source code and follow the
> > > instructions from
> > > http://www.xwiki.org/xwiki/bin/view/Community/Building#HCheckingoutthesources
> > >
> > > but i have difficulties in getting all the souce codes. Though it is
> > > possible to obtain the source codes from
> > > http://svnmirror.xwiki.org/svn/mirror/xwiki/ , and it is very tedious
> > > to donwload the individual files. Furthermore, i can't download the zip file
> > > from http://fisheye2.cenqua.com/browse/xwiki/.. Therefore, is there
> > > any place where i can download different version of XWiki source codes in a
> > > zip file?
> > >
> > > Regards
> > > ------------------------------
> > > <http://answers.yahoo.com.sg>
> > > *Real people. Real questions. Real answers. Share what you know<http://answers.yahoo.com.sg>
> > > * .
> > >
> > > _______________________________________________
> > > devs mailing list
> > > devs at xwiki.org
> > > http://lists.xwiki.org/mailman/listinfo/devs
> > >
> > >
> > _______________________________________________
> > devs mailing list
> > devs at xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
> >
> >
> > ------------------------------
> > <http://answers.yahoo.com.sg>
> > *Real people. Real questions. Real answers. Share what you know<http://answers.yahoo.com.sg>
> > * .
> >
> > _______________________________________________
> > devs mailing list
> > devs at xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
> >
> _______________________________________________
> devs mailing list
> devs at xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
>
> _______________________________________________
> devs mailing list
> devs at xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
>
> ------------------------------
> Yahoo! Movies<http://sg.rd.yahoo.com/mail/sg/footer/def/*http://sg.movies.yahoo.com>- Search movie info and celeb profiles and photos.
>
>
> _______________________________________________
> devs mailing list
> devs at xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/devs/attachments/20070907/1fad3c03/attachment.htm
More information about the devs
mailing list