Hi Vincent,
I deleted /com/xpn , /org/xwiki , /org/wikimodel directories from my local
repository and now it seems to be going fine.
Thanks.
- Asiri
On Thu, Jun 5, 2008 at 3:10 PM, Vincent Massol <vincent(a)massol.net> wrote:
On Jun 5, 2008, at 11:36 AM, Asiri Rathnayake wrote:
Hi Vincent,
I get the following error while building xwiki ...
<dump>
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.xwiki.platform:xwiki-core-rendering-api:jar:tests:1.5-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.xwiki.platform
-DartifactId=xwiki-core-rendering-api -Dversion=1.5-SNAPSHOT
-Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file
there:
mvn deploy:deploy-file -DgroupId=org.xwiki.platform
-DartifactId=xwiki-core-rendering-api -Dversion=1.5-SNAPSHOT
-Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1)
org.xwiki.platform:xwiki-core-rendering-wikimodel:jar:1.5-SNAPSHOT
2)
org.xwiki.platform:xwiki-core-rendering-api:jar:tests:1.5-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.xwiki.platform:xwiki-core-rendering-wikimodel:jar:1.5-SNAPSHOT
from the specified remote repositories:
xwiki-externals (
http://maven.xwiki.org/externals),
xwiki-snapshots (
http://maven.xwiki.org/snapshots),
central (
http://repo1.maven.org/maven2),
xwiki-releases (
http://maven.xwiki.org/releases)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
</dump>
What can i do ?
Works fine here and on Continuum too.
You need to svn up of course (the whole trunks) and do a mvn install
at the top.
If that doesn't work ensure you're using Maven 2.0.9.
Thanks
-Vincent
On Wed, Jun 4, 2008 at 9:51 PM, Vincent Massol
<vincent(a)massol.net>
wrote:
> It took me a while sorry but I think I've fixed it (building now).
> The
> pb is that the new context module was not added in Continuum.
>
> I had a problem with my user account there (I was locked out), that's
> why it took me some time. Sorry.
>
> Thanks
> -Vincent
>
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs