Richfaces page layouts + theme support
meetoblivion Jun 8, 2009 3:09 PMOk guys...
Can someone translate this page? http://livedemo.exadel.com/richfaces-demo/richfaces/layouts/page/template.jsf
The themes support tab preferrably.
Attempting to run the mvn archetype results in..
mvn archetype:create -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-theme -DarchetypeVersion=3.3.1-GA -DartifactId=mytheme -DgroupId=mytheme -Dversion=1.0-SNAPSHOT [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] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] [archetype:create] [WARNING] This goal is deprecated. Please use mvn archetype:generate instead [INFO] Defaulting package to group ID: mytheme Downloading: http://download.java.net/maven/1/org.richfaces.cdk/jars/maven-archetype-theme-3.3.1-GA.jar Downloading: http://repository.jboss.com/maven2//org/richfaces/cdk/maven-archetype-theme/3.3.1-GA/maven-archetype-theme-3.3.1-GA.jar Downloading: http://repo1.maven.org/maven2/org/richfaces/cdk/maven-archetype-theme/3.3.1-GA/maven-archetype-theme-3.3.1-GA.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. GroupId: org.richfaces.cdk ArtifactId: maven-archetype-theme Version: 3.3.1-GA Reason: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.richfaces.cdk -DartifactId=maven-archetype-theme -Dversion=3.3.1-GA -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.richfaces.cdk -DartifactId=maven-archetype-theme -Dversion=3.3.1-GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.richfaces.cdk:maven-archetype-theme:jar:3.3.1-GA from the specified remote repositories: central (http://repo1.maven.org/maven2), repository.jboss.com (http://repository.jboss.com/maven2/), maven2-repository.dev.java.net (http://download.java.net/maven/1)
Any ideas?