2 Replies Latest reply on Aug 31, 2007 3:35 PM by Sergey Smirnov

    Compiling/building richfaces snapshot

    Nicolas Parfait Newbie

      I have installed maven, and subversion.
      Following these instructions
      http://labs.jboss.com/wiki/HowToBuildRichFacesSnapshotManually

      I checked out out ajax4jsf (svn checkout http://anonsvn.jboss.org/repos/ajax4jsf/tags/1.1.2-SNAPSHOT)

      I compilied using mvn install.....completed succesfully.

      I checked out the source for 3.1.0-rc3 as follows (svn checkout http://anonsvn.jboss.org/repos/richfaces/tags/3.1.0-rc3/)

      Attempted to compile by doing mvn install (also tried mvn clean install). However I got the following error

      Downloading: http://repository.jboss.com/maven2//org/richfaces/samples/skins/3.1.0-rc3/skins-3.1.0-rc3.jar
      Downloading: https://maven-repository.dev.java.net/nonav/repository/org.richfaces.samples/jars/skins-3.1.0-rc3.jar
      Downloading: http://repo1.maven.org/maven2/org/richfaces/samples/skins/3.1.0-rc3/skins-3.1.0-rc3.jar
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Failed to resolve artifact.

      Missing:
      ----------
      1) org.richfaces.samples:skins:jar:3.1.0-rc3

      Try downloading the file manually from:
      http://labs.jboss.com/portal/jbossrichfaces/downloads

      Then, install it using the command:
      mvn install:install-file -DgroupId=org.richfaces.samples -DartifactId=skins \
      -Dversion=3.1.0-rc3 -Dpackaging=jar -Dfile=/path/to/file

      Path to dependency:
      1) org.richfaces.samples:separator-sample:war:3.1.0-rc3
      2) org.richfaces.samples:skins:jar:3.1.0-rc3

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

      for artifact:
      org.richfaces.samples:separator-sample:war:3.1.0-rc3

      from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      repository.jboss.com (http://repository.jboss.com/maven2/),
      maven-repository.dev.java.net (https://maven-repository.dev.java.net/nonav/repository),
      maven.exadel.com (http://maven.exadel.com/)


      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 16 minutes 28 seconds
      [INFO] Finished at: Fri Aug 31 13:49:29 EST 2007
      [INFO] Final Memory: 53M/254M
      [INFO] ------------------------------------------------------------------------


      Any help/tips/more detailed instructions on how to build/compile this?

      Cheers,
      Nick