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... :)
In short Maven cannot find gnujaxp and jsr170 in any remote repo you
have configured.
BTW you're free to use whatever build system you want for your own
builds.
Thanks
-Vincent
  [ERROR] BUILD ERROR
 [INFO]
 ----------------------------------------------------------------------
 --
 [INFO] Failed to resolve artifact.
 Missing:
 ----------
 1) gnujaxp:gnujaxp:jar:1.0.0
    Try downloading the file manually from the project website.
    Then, install it using the command:
        mvn install:install-file -DgroupId=gnujaxp -
 DartifactId=gnujaxp \
            -Dversion=1.0.0 -Dpackaging=jar -Dfile=/path/to/file
 Alternatively, if you host your own repository you can deploy the file
 there:       mvn deploy:deploy-file -DgroupId=gnujaxp -
 DartifactId=gnujaxp \
            -Dversion=1.0.0 -Dpackaging=jar -Dfile=/path/to/file \
             -Durl=[url] -DrepositoryId=[id]
    Path to dependency:
          1)
 no.uio.intermedia.xwiki.plugins.metawiki:MetaWiki:jar:1.0-SNAPSHOT
          2) com.xpn.xwiki.platform:xwiki-core:jar:1.1-milestone-2
          3) jfree:jfreechart:jar:1.0.0-rc1
          4) gnujaxp:gnujaxp:jar:1.0.0
 2) jsr170:jcr:jar:1.0
    Try downloading the file manually from the project website.
    Then, install it using the command:
        mvn install:install-file -DgroupId=jsr170 -DartifactId=jcr \
            -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
 Alternatively, if you host your own repository you can deploy the file
 there:       mvn deploy:deploy-file -DgroupId=jsr170 -
 DartifactId=jcr \
            -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file \
             -Durl=[url] -DrepositoryId=[id]
    Path to dependency:
          1)
 no.uio.intermedia.xwiki.plugins.metawiki:MetaWiki:jar:1.0-SNAPSHOT
          2) com.xpn.xwiki.platform:xwiki-core:jar:1.1-milestone-2
          3) org.apache.jackrabbit:jackrabbit-core:jar:1.1
          4) jsr170:jcr:jar:1.0
 ----------
 2 required artifacts are missing.
 Some googling leads me to believe that the jsr170 dependency is an
 error, and shouldn't be there.
 Anybody else experiencing this? Maybe somebody knows how to solve this
 problem?
 best regards :-)
 Thomas