help with richfaces4 showcase and eclipse setup problems
robertwalker Jun 8, 2011 4:21 PMhi all, i have been struggling for a few days on and off trying to get eclipse helios and richfaces4 working together
I just want to create the richfaces 4 showcase app running local in eclipse so
I can use the code samples there for learning rf4 and as a testbed project
for a production app we are coding.
I read over here (http://community.jboss.org/wiki/HowToWorkWithRichFaces4xExamplesSources) and did this step
1) checkout examples sources from svn (http://anonsvn.jboss.org/repos/richfaces/trunk/examples/):
then I read in (http://community.jboss.org/wiki/MavenGettingStarted-Users)
regarding changing settings.xml
in
1) $HOME/.m2/settings.xml
and
2) apache-maven/conf/settings.xml
i added these 2 additional tags in settings.xml in both places (trying every combination because nothing is working for me)
<profile>
<id>jboss-public-repository</id>
<repositories>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
and
<pluginGroups>
<!-- pluginGroup
| Specifies a further group identifier to use for plugin lookup.
| -->
<pluginGroup>org.jboss.maven.plugins</pluginGroup>
</pluginGroups>
in the "SETTING UP ECLIPSE TO WORK WITH THE SHOWCASE" section of
examples\richfaces-showcase\readme.txt file it states
Open Eclipse and go to File > Import
* Expand the project type named Maven and select Import Maven Project
i point to the root examples directoy and it finds all the projects, imports them but every pom.xml file
has an error. I have tried to just point to examples\richfaces-showcase, or go the way of the aggregate import, but
i still get this sam error.
"Project build error: Non-resolvable parent POM for org.richfaces.examples:richfaces-example-parent:4.1.0-SNAPSHOT: Failure to transfer org.richfaces:richfaces-parent:pom:10 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.richfaces:richfaces-parent:pom:10 from/to central (http://repo1.maven.org/maven2): connection timed out and 'parent.relativePath' points at wrong local POM"
can anyone please help, i am spent trying o get this to work
thanks