Thanks, replacing org.xwiki.platform with com.xpn.xwiki.platform did the trick for me. I
simply cloned the example from the component archetype and it didn't occur to me it
would change from org to com.xpn.
When adding code that references other classes in eclipse, is there an easy way to figure
out what dependency to add other than looking for the source to see what the pom.xml for
it has?
--
Glenn
-----Original Message-----
From: devs-bounces(a)xwiki.org [mailto:devs-bounces@xwiki.org] On Behalf
Of Sergiu Dumitriu
Sent: Monday, May 11, 2009 6:20 PM
To: XWiki Developers
Subject: Re: [xwiki-devs] xwiki-core missing from maven?
glenn_engel(a)agilent.com wrote:
Hi,
I'm trying to build a plugin and am unable to resolve
XwikiDefaultPlugin. In
looking at the source I was expecting it to be
in artifactId xwiki-core but I don't see this in the maven repository.
I put the following in my pom.xml but maven still is unable to find
xwiki-core but
is quite happy to find and download xwiki-component.
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-core-component</artifactId>
<version>${platform.core.version}</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
Replace with:
<groupId>com.xpn.xwiki.platform</groupId>
<artifactId>xwiki-core</artifactId>
<version>${platform.core.version}</version>
</dependency>
Anyone know how to resolve this?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs