9 Replies Latest reply on Jun 1, 2010 12:12 AM by kdhr83

    Cannot deploy examples...

    newbi.newbis.hotmail.com

      I just tried to use tomcat.deploy and it says missing artifacts...

           [java] [INFO] -------------------------------------------------------------
      -----------
           [java] [ERROR] BUILD ERROR
           [java] [INFO] -------------------------------------------------------------
      -----------
           [java] [INFO] Failed to resolve artifact.
           [java]
           [java] Missing:
           [java] ----------
           [java] 1) javax.faces:jsf-api:jar:2.0.2-FCS
           [java]
           [java]   Try downloading the file manually from the project website.
           [java]
           [java]   Then, install it using the command:
           [java]       mvn install:install-file -DgroupId=javax.faces -DartifactId=js
      f-api -Dversion=2.0.2-FCS -Dpackaging=jar -Dfile=/path/to/file
           [java]
           [java]   Alternatively, if you host your own repository you can deploy the
      file there:
           [java]       mvn deploy:deploy-file -DgroupId=javax.faces -DartifactId=jsf-
      api -Dversion=2.0.2-FCS -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepos
      itoryId=[id]
           [java]
           [java]   Path to dependency:
           [java]     1) org.jboss.weld.examples.jsf:weld-jsf-numberguess:war:1.0.1-Fi
      nal
           [java]     2) javax.faces:jsf-api:jar:2.0.2-FCS
           [java]
           [java] 2) javax.faces:jsf-impl:jar:2.0.2-FCS
           [java]
           [java]   Try downloading the file manually from the project website.
           [java]
           [java]   Then, install it using the command:
           [java]       mvn install:install-file -DgroupId=javax.faces -DartifactId=js
      f-impl -Dversion=2.0.2-FCS -Dpackaging=jar -Dfile=/path/to/file
           [java]
           [java]   Alternatively, if you host your own repository you can deploy the
      file there:
           [java]       mvn deploy:deploy-file -DgroupId=javax.faces -DartifactId=jsf-
      impl -Dversion=2.0.2-FCS -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepo
      sitoryId=[id]
           [java]
           [java]   Path to dependency:
           [java]     1) org.jboss.weld.examples.jsf:weld-jsf-numberguess:war:1.0.1-Fi
      nal
           [java]     2) javax.faces:jsf-impl:jar:2.0.2-FCS
           [java]
           [java] 3) org.glassfish.web:el-impl:jar:2.1.2-b04
           [java]
           [java]   Try downloading the file manually from the project website.
           [java]
           [java]   Then, install it using the command:
           [java]       mvn install:install-file -DgroupId=org.glassfish.web -Dartifac
      tId=el-impl -Dversion=2.1.2-b04 -Dpackaging=jar -Dfile=/path/to/file
           [java]
           [java]   Alternatively, if you host your own repository you can deploy the
      file there:
           [java]       mvn deploy:deploy-file -DgroupId=org.glassfish.web -DartifactI
      d=el-impl -Dversion=2.1.2-b04 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -
      DrepositoryId=[id]
           [java]
           [java]   Path to dependency:
           [java]     1) org.jboss.weld.examples.jsf:weld-jsf-numberguess:war:1.0.1-Fi
      nal
           [java]     2) org.glassfish.web:el-impl:jar:2.1.2-b04
           [java]
           [java] ----------
           [java] 3 required artifacts are missing.
           [java]
           [java] for artifact:
           [java]   org.jboss.weld.examples.jsf:weld-jsf-numberguess:war:1.0.1-Final
           [java]
           [java] from the specified remote repositories:
           [java]   oss.sonatype.org/jboss-snapshots (http://oss.sonatype.org/content/
      repositories/jboss-snapshots),
           [java]   central (http://repo1.maven.org/maven2)
           [java]
           [java]
           [java]
           [java] [INFO] -------------------------------------------------------------
      -----------
           [java] [INFO] For more information, run Maven with the -e switch
           [java] [INFO] -------------------------------------------------------------
      -----------
           [java] [INFO] Total time: 4 seconds
           [java] [INFO] Finished at: Fri May 14 16:30:31 EDT 2010
           [java] [INFO] Final Memory: 10M/18M
           [java] [INFO] -------------------------------------------------------------
      -----------