1 Reply Latest reply on Oct 23, 2013 7:29 PM by Steven Hawkins

    Embedded 8.6:  maven dependencies issue with mongodb connector

    Ivan Chan Apprentice

      I wrote a piece code to connect mongodb using Teiid and tried to compile through maven.  And I got the following error.  Am I missing some dependency?  Thanks a lot.

       

      Failed to read artifact descriptor for org.jboss.teiid.connectors:connector-mongodb:jar:8.6.0.Alpha2-SNAPSHOT: Could not find artifact org.jboss.teiid:resource-adapters:pom:8.6.0.Alpha2-SNAPSHOT in repo.

       

      Here's my dependency list:

       

              <dependency>
                  <groupId>org.jboss.teiid</groupId>
                  <artifactId>teiid-admin</artifactId>
                  <version>8.6.0.Alpha2-SNAPSHOT</version>
              </dependency>
              <dependency>
                  <groupId>org.jboss.teiid</groupId>
                  <artifactId>teiid-api</artifactId>
                  <version>8.6.0.Alpha2-SNAPSHOT</version>
              </dependency>
              <dependency>
                  <groupId>org.jboss.teiid</groupId>
                  <artifactId>teiid-client</artifactId>
                  <version>8.6.0.Alpha2-SNAPSHOT</version>
              </dependency>
              <dependency>
                  <groupId>org.jboss.teiid</groupId>
                  <artifactId>teiid-common-core</artifactId>
                  <version>8.6.0.Alpha2-SNAPSHOT</version>
              </dependency>
              <dependency>
                  <groupId>org.jboss.teiid</groupId>
                  <artifactId>teiid-engine</artifactId>
                  <version>8.6.0.Alpha2-SNAPSHOT</version>
              </dependency>
              <dependency>
                  <groupId>org.jboss.teiid</groupId>
                  <artifactId>teiid-hibernate-dialect</artifactId>
                  <version>8.6.0.Alpha2-SNAPSHOT</version>
              </dependency>
              <dependency>
                  <groupId>org.jboss.teiid</groupId>
                  <artifactId>teiid-jboss-integration</artifactId>
                  <version>8.6.0.Alpha2-SNAPSHOT</version>
              </dependency>
              <dependency>
                  <groupId>org.jboss.teiid</groupId>
                  <artifactId>teiid-metadata</artifactId>
                  <version>8.6.0.Alpha2-SNAPSHOT</version>
              </dependency>
              <dependency>
                  <groupId>org.jboss.teiid</groupId>
                  <artifactId>teiid-runtime</artifactId>
                  <version>8.6.0.Alpha2-SNAPSHOT</version>
                  <exclusions>
                    <exclusion>
                      <groupId>org.rhq.helpers</groupId>
                      <artifactId>rhq-pluginAnnotations</artifactId>
                    </exclusion>
                  </exclusions>
              </dependency>
              <dependency>
                  <groupId>org.jboss.teiid.connectors</groupId>
                  <artifactId>translator-jdbc</artifactId>
                  <version>8.6.0.Alpha2-SNAPSHOT</version>
              </dependency>
              <dependency>
                  <groupId>org.jboss.modules</groupId>
                  <artifactId>jboss-modules</artifactId>
                  <version>1.3.0.Final</version>
                  <scope>provided</scope>
              </dependency>
              <dependency>
                <groupId>org.mongodb</groupId>
                <artifactId>mongo-java-driver</artifactId>
                <version>2.11.1</version>
              </dependency>
              <dependency>
                  <groupId>org.jboss.teiid.connectors</groupId>
                  <artifactId>mongodb-api</artifactId>
                  <version>8.6.0.Alpha2-SNAPSHOT</version>
              </dependency>
              <dependency>
                  <groupId>org.jboss.teiid.connectors</groupId>
                  <artifactId>connector-mongodb</artifactId>
                  <version>8.6.0.Alpha2-SNAPSHOT</version>
              </dependency>
              <dependency>
                  <groupId>javax.resource</groupId>
                  <artifactId>connector-api</artifactId>
                  <version>1.5</version>
              </dependency>
              <dependency>
                  <groupId>org.jboss.as</groupId>
                  <artifactId>jboss-as-cli</artifactId>
                  <version>7.2.0.Alpha1-redhat-4</version>
                  <scope>system</scope>
                  <systemPath>C:/Teiid/Teiid 8.6/lib/jboss-as-cli-7.2.0.Alpha1-redhat-4.jar</systemPath>
              </dependency>
              <dependency>
                  <groupId>org.jboss.as</groupId>
                  <artifactId>jboss-as-controller</artifactId>
                  <version>7.2.0.Alpha1-redhat-4</version>
                  <scope>system</scope>
                  <systemPath>C:/Teiid/Teiid 8.6/lib/jboss-as-controller-7.2.0.Alpha1-redhat-4.jar</systemPath>
              </dependency>
              <dependency>
                  <groupId>org.jboss.logging</groupId>
                  <artifactId>jboss-logging</artifactId>
                  <version>3.1.2.GA</version>
              </dependency>