2 Replies Latest reply on Jun 11, 2014 7:46 AM by shawkins

    teiid build errors

    724150880
      •  

        hello , i download the source code of teiid-8.2.0.Final-src.zip . and i try to build that for several times ,but it failed .

         

        unzip teiid-8.2.0.Final-src.zip

        cd teiid

        mvn clean install -P release

         

        [INFO] Building Engine 8.2.0.Final

        [INFO] ------------------------------------------------------------------------

        [WARNING] The POM for net.sourceforge.saxon:saxonhe:jar:9.2.1.5 is missing, no dependency information available

        [WARNING] The POM for nux:nux:jar:1.6 is missing, no dependency information available

        [WARNING] The POM for xom:xom:jar:1.2 is missing, no dependency information available

        [INFO] ------------------------------------------------------------------------

        [INFO] Reactor Summary:

        [INFO]

        [INFO] Teiid ............................................. SUCCESS [  1.257 s]

        [INFO] Common Core ....................................... SUCCESS [  9.545 s]

        [INFO] Client ............................................ SUCCESS [ 11.642 s]

        [INFO] admin ............................................. SUCCESS [  4.127 s]

        [INFO] Teiid API ......................................... SUCCESS [  5.551 s]

        [INFO] Engine ............................................ FAILURE [  0.069 s]

        [INFO] Metadata .......................................... SKIPPED

        [INFO] Connectors ........................................ SKIPPED

        [INFO] JDBC Translator ................................... SKIPPED

        [INFO] Gogole API ........................................ SKIPPED

        [INFO] Google APIs Translator ............................ SKIPPED

        [INFO] LDAP Translator ................................... SKIPPED

        [INFO] Loopback Translator ............................... SKIPPED

        [INFO] File Translator ................................... SKIPPED

        [INFO] Salesforce API .................................... SKIPPED

        [INFO] Salesforce Translator ............................. SKIPPED

        [INFO] File Connector .................................... SKIPPED

        [INFO] Google API Connector .............................. SKIPPED

        [INFO] Salesforce Connector .............................. SKIPPED

        [INFO] LDAP Connector .................................... SKIPPED

        [INFO] Web Service Connector ............................. SKIPPED

        [INFO] Sandbox ........................................... SKIPPED

        [INFO] Yahoo Translator .................................. SKIPPED

        [INFO] Web service Translator ............................ SKIPPED

        [INFO] OLAP Translator ................................... SKIPPED

        [INFO] Hive Translator ................................... SKIPPED

        [INFO] JPA2 Translator ................................... SKIPPED

        [INFO] Object Translator ................................. SKIPPED

        [INFO] Infinispan Connector .............................. SKIPPED

        [INFO] Runtime Engine .................................... SKIPPED

        [INFO] Adminshell ........................................ SKIPPED

        [INFO] Hibernate Dialect ................................. SKIPPED

        [INFO] teiid-jboss-integration ........................... SKIPPED

        [INFO] Integration Tests ................................. SKIPPED

        [INFO] Common Integration Tests .......................... SKIPPED

        [INFO] DB Dependent Integration Tests .................... SKIPPED

        [INFO] Performance Integration Tests ..................... SKIPPED

        [INFO] Client JDK15 ...................................... SKIPPED

        [INFO] Build ............................................. SKIPPED

        [INFO] ------------------------------------------------------------------------

        [INFO] BUILD FAILURE

        [INFO] ------------------------------------------------------------------------

        [INFO] Total time: 33.591 s

        [INFO] Finished at: 2014-06-09T16:15:30+08:00

        [INFO] Final Memory: 63M/679M

        [INFO] ------------------------------------------------------------------------

        [ERROR] Failed to execute goal on project teiid-engine: Could not resolve dependencies for project org.jboss.teiid:teiid-engine:jar:8.2.0.Final: The following artifacts could not be resolved: net.sourceforge.saxon:saxonhe:jar:9.2.1.5, nux:nux:jar:1.6, xom:xom:jar:1.2: Failure to find net.sourceforge.saxon:saxonhe:jar:9.2.1.5 in http://repo.maven.apache.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 -> [Help 1]

        [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/DependencyResolutionException

        [ERROR]

        [ERROR] After correcting the problems, you can resume the build with the command

        [ERROR]  mvn <goals> -rf :teiid-engine

         

        i seems that it can't download some relevant dependency . but in the same server i can bulid teiid-alpha1 and teiid-alpha2 successfully . i don't know what's wrong with that? i wonder that if i can download that alone and put it in maven directory.


        and i tried to excute the following command:

        mvn clean install -P release -s settings.xml

         

        it also have problems:

         

        [INFO] Building Gogole API 8.2.0.Final

        [INFO] ------------------------------------------------------------------------

        [WARNING] The POM for org.jboss.teiid.connectors.google:gdata-spreadsheet:jar:3.0 is missing, no dependency information available

        [WARNING] The POM for org.jboss.teiid.connectors.google:gdata-core:jar:1.0 is missing, no dependency information available

        [INFO] ------------------------------------------------------------------------

        [INFO] Reactor Summary:

        [INFO]

        [INFO] Teiid ............................................. SUCCESS [  1.256 s]

        [INFO] Common Core ....................................... SUCCESS [  7.739 s]

        [INFO] Client ............................................ SUCCESS [  6.622 s]

        [INFO] admin ............................................. SUCCESS [  3.385 s]

        [INFO] Teiid API ......................................... SUCCESS [  4.435 s]

        [INFO] Engine ............................................ SUCCESS [ 25.011 s]

        [INFO] Metadata .......................................... SUCCESS [  3.537 s]

        [INFO] Connectors ........................................ SUCCESS [  0.097 s]

        [INFO] JDBC Translator ................................... SUCCESS [  6.256 s]

        [INFO] Gogole API ........................................ FAILURE [  0.066 s]

        [INFO] Google APIs Translator ............................ SKIPPED

        [INFO] LDAP Translator ................................... SKIPPED

        [INFO] Loopback Translator ............................... SKIPPED

        [INFO] File Translator ................................... SKIPPED

        [INFO] Salesforce API .................................... SKIPPED

        [INFO] Salesforce Translator ............................. SKIPPED

        [INFO] File Connector .................................... SKIPPED

        [INFO] Google API Connector .............................. SKIPPED

        [INFO] Salesforce Connector .............................. SKIPPED

        [INFO] LDAP Connector .................................... SKIPPED

        [INFO] Web Service Connector ............................. SKIPPED

        [INFO] Sandbox ........................................... SKIPPED

        [INFO] Yahoo Translator .................................. SKIPPED

        [INFO] Web service Translator ............................ SKIPPED

        [INFO] OLAP Translator ................................... SKIPPED

        [INFO] Hive Translator ................................... SKIPPED

        [INFO] JPA2 Translator ................................... SKIPPED

        [INFO] Object Translator ................................. SKIPPED

        [INFO] Infinispan Connector .............................. SKIPPED

        [INFO] Runtime Engine .................................... SKIPPED

        [INFO] Adminshell ........................................ SKIPPED

        [INFO] Hibernate Dialect ................................. SKIPPED

        [INFO] teiid-jboss-integration ........................... SKIPPED

        [INFO] Integration Tests ................................. SKIPPED

        [INFO] Common Integration Tests .......................... SKIPPED

        [INFO] DB Dependent Integration Tests .................... SKIPPED

        [INFO] Performance Integration Tests ..................... SKIPPED

        [INFO] Client JDK15 ...................................... SKIPPED

        [INFO] Build ............................................. SKIPPED

        [INFO] ------------------------------------------------------------------------

        [INFO] BUILD FAILURE

        [INFO] ------------------------------------------------------------------------

        [INFO] Total time: 59.804 s

        [INFO] Finished at: 2014-06-09T17:31:49+08:00

        [INFO] Final Memory: 100M/1467M

        [INFO] ------------------------------------------------------------------------

        [ERROR] Failed to execute goal on project google-api: Could not resolve dependencies for project org.jboss.teiid.connectors:google-api:jar:8.2.0.Final: The following artifacts could not be resolved: org.jboss.teiid.connectors.google:gdata-spreadsheet:jar:3.0, org.jboss.teiid.connectors.google:gdata-core:jar:1.0: Failure to find org.jboss.teiid.connectors.google:gdata-spreadsheet:jar:3.0 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 -> [Help 1]

        [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/DependencyResolutionException

        [ERROR]

        [ERROR] After correcting the problems, you can resume the build with the command

        [ERROR]   mvn <goals> -rf :google-api

         

        so how can i resolve these dependency problems? thanks .