2 Replies Latest reply on Jul 7, 2010 7:01 AM by Manu Osten

    Themes project creation: Maven is not working

    Manu Osten Apprentice

      Hi,

       

      I want to create a new theme from freecsstemplate into Richfaces-project. But Maven is not working, because the jar-files does not exists. Maybe I take a wrong version?

       

       

      mvn archetype:create -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-theme -DarchetypeVersion=3.3.3-SNAPSHOT -DartifactId=brewedcoffee -DgroupId=org.richfaces.docs -Dversion=1.0
      [INFO] Scanning for projects...
      [INFO] Searching repository for plugin with prefix: 'archetype'.
      [INFO] org.apache.maven.plugins: checking for updates from repository.jboss.com
      [INFO] org.codehaus.mojo: checking for updates from repository.jboss.com
      [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking for updates from repository.jboss.com
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Maven Default Project
      [INFO]    task-segment: [archetype:create] (aggregator-style)
      [INFO] ------------------------------------------------------------------------
      [INFO] [archetype:create {execution: default-cli}]
      [WARNING] This goal is deprecated. Please use mvn archetype:generate instead
      [INFO] Defaulting package to group ID: org.richfaces.docs
      [INFO] snapshot org.richfaces.cdk:maven-archetype-theme:3.3.3-SNAPSHOT: checking for updates from snapshots.jboss.org
      [INFO] snapshot org.richfaces.cdk:maven-archetype-theme:3.3.3-SNAPSHOT: checking for updates from repository.jboss.com
      Downloading: http://snapshots.jboss.org/maven2//org/richfaces/cdk/maven-archetype-theme/3.3.3-SNAPSHOT/maven-archetype-theme-3.3.3-SNAPSHOT.jar
      [INFO] Unable to find resource 'org.richfaces.cdk:maven-archetype-theme:jar:3.3.3-SNAPSHOT' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2/)
      Downloading: http://repository.jboss.com/maven2//org/richfaces/cdk/maven-archetype-theme/3.3.3-SNAPSHOT/maven-archetype-theme-3.3.3-SNAPSHOT.jar
      [INFO] Unable to find resource 'org.richfaces.cdk:maven-archetype-theme:jar:3.3.3-SNAPSHOT' in repository repository.jboss.com (http://repository.jboss.com/maven2/)
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error creating from archetype
      
      Embedded error: org.apache.maven.archetype.downloader.DownloadNotFoundException: Requested org.richfaces.cdk:maven-archetype-theme:jar:3.3.3-SNAPSHOT download does not exist.
      Unable to download the artifact from any repository
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 5 seconds
      [INFO] Finished at: Wed Jul 07 10:29:50 CEST 2010
      [INFO] Final Memory: 18M/172M
      [INFO] ------------------------------------------------------------------------
      

       

       

      Manu