Vincent Massol wrote:
> 
> On Sep 5, 2007, at 10:42 AM, Thomas Drevon wrote:
> 
>> Hi!
>>
>> While building an xwiki plugin I started getting some errors after
>> switcing to the maven.xwiki.org repository. Earlier I just downloaded
>> the jar file from xwiki.org. The dependency errors I get look like this
> 
> I think this means your plugin maven build isn't correct because you 
> haven't told maven where to get the jars your plugin needs... :)

Thanks for your time!

When you say "your plugin maven build isn't correct" do you mean my 
settings.xml and pom.xml?

> In short Maven cannot find gnujaxp and jsr170 in any remote repo you 
> have configured.

Yes, this is so. But I think it's strange that maven asks for gnujaxp 
and jsr170? In my settings.xml I've specified the download repo of xwiki:

<repository>
   <id>xwiki</id>
   <name>XWiki Maven2 Remote Repository</name>
   <url>http://maven.xwiki.org/releases/</url>
</repository>

...and in my pom.xml for the plugin I've specified which version it is I 
want to use:

<dependency>
   <groupId>com.xpn.xwiki.platform</groupId>
   <artifactId>xwiki-core</artifactId>
   <version>1.1-rc-1</version>
</dependency>

When using this setup, the xwiki jar seems to require gnujaxp and 
jsr170, but when I manually download and install the xwiki.jar maven is 
happy and doesn't ask for the aforementioned jars.

I thought this might be a problem with the xwiki repo somehow, but if 
nobody else is seeing this, then I guess it's all an artifact of my own 
setup. Strange...


cheers :-)
Thomas




_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to