Hi Colin,
let me re-ask you the question vincent raised,
were you online for your first build ?
can you describe your build procedure step-by-step ? so that we can track anything wrong, start from the beginning.
Thanks.
- Asiri
Hi,
I had just try to run "mvn install" in one of the download folder
".m2\repository\xwiki\xwiki-platform\core\trunk\xwiki-core" and as you mentioned that Maven will handle the dependencies. However, i still faced the following error
[INFO] Scanning for projects...
Downloading: http://maven.xwiki.org/externals/com/xpn/xwiki/platform/xwiki-core-parent/1.2-SNAPSHOT/xwiki-core-parent-1.2-SNAPSHOT.pom
Downloading: http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-core-parent/1.2-SNAPSHOT/xwiki-core-parent-1.2-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: com.xpn.xwiki.platform
ArtifactId: xwiki-core-parent
Version: 1.2-SNAPSHOT
Reason: Unable to download the artifact from any repository
com.xpn.xwiki.platform:xwiki-core-parent:pom:1.2-SNAPSHOT
from the specified remote repositories:
xwiki-releases ( http://maven.xwiki.org/releases),
central (http://repo1.maven.org/maven2),
xwiki-snapshots ( http://maven.xwiki.org/snapshots),
xwiki-externals ( http://maven.xwiki.org/externals)
Why is it so?
Regards,
Need your help
Vincent Massol < vincent@massol.net> wrote:Hi Colin,_______________________________________________On Sep 7, 2007, at 9:23 AM, Colin Tay wrote:
Hi,
It is getting me confused, i understand that you need all the files for offline compilation.No that's not quite correct. You only need the sources for the module you wish to build. Maven handle binary dependencies.Therefore i have download all of them from svn:// developername@svn.forge.objectweb.org/svnroot/xwiki. Is there anything more i need to download in order to build offline?No it doesn't like this with Maven. You need to be online for your first build and especially for XWiki's trunk build since it looks online to get fresh binary dependencies.(to know more about Maven check out http://maven.apache.org for more details).Thanks-VincentAsiri Rathnayake < asiri.rathnayake@gmail.com> wrote: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 :)
- AsiriOn 9/7/07, Colin Tay < lee_hyeok@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@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@a39137), lookuprealm=plexus.core
[DEBUG] Registering at plexus.core : org.apache.maven.profiles.activation.JdkPrefixProfileActivator (object realm: sun.misc.Launcher$AppClassLoader@a39137), lookuprealm=plexus.core
[DEBUG] Registering at plexus.core: org.apache.maven.profiles.activation.FileProfileActivator (object realm: sun.misc.Launcher$AppClassLoader@a39137 ), lookuprealm=plexus.core
[DEBUG] Registering at plexus.core: org.apache.maven.profiles.activation.SystemPropertyProfileActivator (object realm: sun.misc.Launcher$AppClassLoader@a39137 ), lookuprealm=plexus.core
[DEBUG] Registering at plexus.core: org.apache.maven.profiles.activation.CustomActivator (object realm: sun.misc.Launcher$AppClassLoader@a39137), lookuprealm=plexus.core
[DEBUG] Registering at plexus.core: org.apache.maven.profiles.activation.AlwaysOnProfileActivator (object realm: sun.misc.Launcher$AppClassLoader@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@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.jarI 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! :)-VincentOn 9/6/07, Colin Tay < lee_hyeok@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@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@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
Real people. Real questions. Real answers. Share what you know .
_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
Real people. Real questions. Real answers. Share what you know .
_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs_______________________________________________devs mailing list
_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
Yahoo! Movies - Search movie info and celeb profiles and photos.
_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
Real people. Real questions. Real answers. Share what you know ._______________________________________________devs mailing list
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
Real people. Real questions. Real answers. Share what you know .
_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs