this is a known bug.
You can workaround this by these steps:
1. download attached project-examples-shared-3.3.Beta1.xml
2. in eclipse go Window ----> Preferences ----> JBoss Tools ----> Project Examples
3. Add to the User sites the customized xml
Or you can start with archetype by this:
File ---> New ---> other ---> type to filter maven ----> maven project ----> next ----> type to the input richfaces-archetype
You should see three archetypes, choose either simpleapp or kitchensink for starting.
Was that helpful ?
I did the first fix, put the attached project under user sites, but when i tried to start a richfaces project it didnt work again.
The second fix, when i got to the filtering i found out that there where no richfaces-archetype archetypes.
I have the files in my computer, is there any way i can import them to eclipse as archetypes, from my computer? or does anyone have a link to the repository URL so that i can ad it?
But thank you anyway,
You have probably something wrong with your maven installation then.
If you have Maven installed correctly, you should be able to do following:
1. from command line execute:
mvn archetype:generate -DarchetypeGroupId=org.richfaces.archetypes -DarchetypeArtifactId=richfaces-archetype-simpleapp -DarchetypeVersion=4.2.2.Final -DgroupId=org.docs.richfaces -DartifactId=new_project
2. import created project to Eclipse
File ----> Import ----> Existing Maven project ---> directory where new project was created
Are you able to do that ? Did you install maven by yoursefl ? or used the embedded one in eclipse ?
I was using the one enbeded in eclipse. But now in instaled the 3.0.4 version.
I ran your comand but he gave me this error constantly: "Failed to retrieve plugin desctriptor from org.apache... Or one of its dependencies could not be resolved: Failed to read atifact descriptor form org.apache.... "In the end it gives out a "Buid Failure" and a "No pluggin found for prefiz "archetype"....
1 of 1 people found this helpful
Sounds like you have some connectivity issues then (firewall, proxy ?), because you can not retrieve artifacts from Maven Central.
Are you able to build other maven based projects ?
Why don't you try it without maven ! Maybe that will work. Just create a JSF2 project in eclipse and create a lib folder inside WEB-INF and include the files as in
The blue ones are compulsory.
Then Richfaces is installed if you want I can mail you an example.
Did you fix the issue? I have the same problem.
What is the issue that you have please elaborate a bit so that we may help. Is it that you are trying to do in maven and some problem is occuring. If so, do share your problem with us.
I'm using Eclipse Indigo with JBoss Central. I tried to create a new Richfaces Project (see img1.png) but it always comes up with the following error (see imp2.png)
Could not resolve archetype
org.richfaces.archetypes:richfaces-archetypes-kitchensink:4.2.2Final-2 from any of the configurated repositories.
Root cause : Could not resolve artifact
I think it is because you are trying to make a kitchensink(sample richfaces project). That is why your project is not running.