Error running teiid quickstarts example - datafederation
ktiren Jun 20, 2014 3:21 AMHi,
I'm a newbie to Teiid. I've set up Teiid runtime as per the current doc with no issues. However, when I try to run the first quickstart example on datafederation, I get the following errors:
Running with simple client as per teiid-quickstarts/dynamicvdb-datafederation at master · teiid/teiid-quickstarts · GitHub
--------------
mvn install -Dvdb="portfolio" -Dsql="select * from product"
[INFO] Scanning for projects...
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/jboss/integration-platform/jboss-integration-platform-bom/6.0.0-SNAPSHOT/maven-metadata.xml (639 B at 0.4 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/jboss/integration-platform/jboss-integration-platform-parent/6.0.0-SNAPSHOT/maven-metadata.xml (642 B at 1.3 KB/sec)
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.jboss.teiid.quickstart:simpleclient:2.0.0 (/root/teiid-quickstarts-master/simpleclient/pom.xml) has 1 error
[ERROR] Non-resolvable import POM: Failure to find org.jboss.as:jboss-as-parent:pom:7.2.0.Alpha1-redhat-4 in http://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced @ org.jboss.teiid:teiid-parent:8.7.0.Final, /root/.m2/repository/org/jboss/teiid/teiid-parent/8.7.0.Final/teiid-parent-8.7.0.Final.pom, line 316, column 23 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
-----------------
Also running the setup with Maven generates the same error i.e. mvn -Psetup-datasource jboss-as:add-resource
I've also tried mvn clean install -s settings.xml but it still doesn't work.
Any ideas? Will really appreciate the help.