On Thu, Dec 4, 2008 at 4:53 PM, Juergen Lorenz Simon <simon(a)webtecc.com> wrote:
Hello,
On 04.12.2008, at 16:23, Thomas Mortagne wrote:
On Thu, Dec 4, 2008 at 4:17 PM, Juergen Lorenz
Simon <simon(a)webtecc.com
wrote:
Hi again,
On 04.12.2008, at 15:53, Thomas Mortagne wrote:
On Thu, Dec 4, 2008 at 3:12 PM, Juergen Lorenz
Simon <simon(a)webtecc.com
> wrote:
> Hi,
>
> when I use this dependency to xwiki-enterprise-web, I get a missing
> artifact:
>
> 12/4/08 3:10:16 PM CET: Missing indirectly referenced artifact
> com.xpn.xwiki.products:xwiki-enterprise-web:jar:1.7-
> SNAPSHOT:compile
http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-we…
Try forcing <packaging>war</packaging> for the xe dependency, it's
working without it for me but i'm using maven 2.1M1
Nope. Same result. (it was set to war before, btw.):
Not the pom packaging but the dependency packaging:
12/4/08 4:15:23 PM CET: Missing indirectly
referenced artifact
com.xpn.xwiki.products:xwiki-enterprise-web:jar:1.7-SNAPSHOT:compile
Here's my project's pom.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.kontrast.vodafone</groupId>
<artifactId>portal-wiki</artifactId>
<packaging>war</packaging>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>com.kontrast.vodafone.portal.xwiki</
groupId>
<artifactId>xwiki-plugin-portalindexer</
artifactId>
<version>0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.xpn.xwiki.products</groupId>
<artifactId>xwiki-enterprise-web</artifactId>
<version>1.7-SNAPSHOT</version>
add <packaging>war</packaging> here
Yes, I thought you might have meant that. I tried it before
only to receive the following xml error from the parser:
Unrecognised tag: 'packaging'
(position: START_TAG seen ...</version>\n \t\t<packaging>...
@25:18)
portal-wiki
line 25
pom.xml
Maven Problem
the only valid option for me is to use <type>war</type> instead
of packaging, but that only gets me the same error message,
only with war:
yes it's "type" in that context not "packaging" (I did not
checked).
Can you copy paste here the entire maven build log ?
<dependency>
<groupId>com.xpn.xwiki.products</groupId>
<artifactId>xwiki-enterprise-web</artifactId>
<version>1.7-SNAPSHOT</version>
<type>war</type>
</dependency>
yields:
12/4/08 4:49:10 PM CET: Missing indirectly referenced artifact
com.xpn.xwiki.products:xwiki-enterprise-web:war:1.7-SNAPSHOT:compile
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs