[xwiki-dev] Maven/build help

Marc Lijour marc at lijour.net
Sat Jan 6 01:09:53 CET 2007


On Friday 05 January 2007 11:30, Vincent Massol wrote:
> Try checking out trunks-users and run "mvn install" in there. It should
> work fine now.

Hi Vincent, are you sure you committed everything. It still the same here.

Here is what I got (I updated pom as well just in case):
------------
update -r HEAD /home/marc/devel/xwikiandco/trunks-users
    Updating external location 
at: /home/marc/devel/xwikiandco/trunks-users/pom
    At revision 1888.
    Updating external location 
at: /home/marc/devel/xwikiandco/trunks-users/xwiki
    
U  /home/marc/devel/xwikiandco/trunks-users/xwiki/web/standard/src/main/webapp/skins/xwiki10b1/macrowysiwyg.vm
    
U  /home/marc/devel/xwikiandco/trunks-users/xwiki/web/standard/src/main/webapp/skins/default/macrowysiwyg.vm
    
U  /home/marc/devel/xwikiandco/trunks-users/xwiki/web/standard/src/main/webapp/skins/xwiki10/macrowysiwyg.vm
    
U  /home/marc/devel/xwikiandco/trunks-users/xwiki/web/standard/src/main/webapp/templates/macrowysiwyg.vm
    
U  /home/marc/devel/xwikiandco/trunks-users/xwiki/web/standard/src/main/webapp/tiny_mce/langs/en.js
    
U  /home/marc/devel/xwikiandco/trunks-users/xwiki/web/standard/src/main/webapp/tiny_mce/themes/wikieditor/langs/en.js
    
U  /home/marc/devel/xwikiandco/trunks-users/xwiki/web/standard/src/main/webapp/tiny_mce/themes/wikieditor/images/macro.gif
    
U  /home/marc/devel/xwikiandco/trunks-users/xwiki/web/standard/src/main/webapp/tiny_mce/themes/wikieditor/macro.htm
    
U  /home/marc/devel/xwikiandco/trunks-users/xwiki/web/standard/src/main/webapp/tiny_mce/themes/wikieditor/css/editor_popup.css
    Updated to revision 1888.
    Updating external location 
at: /home/marc/devel/xwikiandco/trunks-users/xwiki-clients
    Updated to revision 1888.
    Updating external location 
at: /home/marc/devel/xwikiandco/trunks-users/xwiki-plugins
    Updated to revision 1888.
    Updating external location 
at: /home/marc/devel/xwikiandco/trunks-users/xwiki-sandbox
    Updated to revision 1888.
    Updating external location 
at: /home/marc/devel/xwikiandco/trunks-users/xwiki-tools
    Updated to revision 1888.
    Updated to revision 1888.
    ===== File Statistics: =====
    Updated: 9
update -r HEAD /home/marc/devel/xwikiandco/pom
    At revision 1888.
-------------

mvn install gives me the same error as before:

--------------
$ mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   XWiki Tools
[INFO]   XWiki Tools - Build
[INFO]   XWiki Tools - Build - Shared Verification Resources
[INFO]   XWiki Tools - Build - XAR Handlers
[INFO]   XWiki Root
[INFO]   XWiki Core
[INFO]   XWiki Tool - Packager
[INFO]   XWiki Web
[INFO]   XWiki Web - Standard
[INFO]   XWiki Web - Exo
[INFO]   XWiki Wikis
[INFO]   XWiki Wikis - Default
[INFO]   XWiki Plugins
[INFO]   XWiki Plugins - Adwords
[INFO]   XWiki Plugins - Alexa
[INFO]   XWiki Modules
Downloading: 
http://maven.xwiki.org/com/xpn/xwiki/xwiki-build-xar-handlers/1.0-SNAPSHOT/xwiki-build-xar-handlers-1.0-SNAPSHOT.jar
[WARNING] Unable to get resource from repository xwiki 
(http://maven.xwiki.org)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.xpn.xwiki:xwiki-build-xar-handlers:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn 
install:install-file -DgroupId=com.xpn.xwiki -DartifactId=xwiki-build-xar-handlers 
\
          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) com.xpn.xwiki:xwiki-wiki-default:xar:1.0-SNAPSHOT
        2) com.xpn.xwiki:xwiki-build-xar-handlers:jar:1.0-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
  com.xpn.xwiki:xwiki-wiki-default:xar:1.0-SNAPSHOT                    





More information about the devs mailing list