]
Steven Hawkins resolved TEIID-5073.
-----------------------------------
Resolution: Done
Added a new connectivity pair using the force 41 jars, but left the default as accessing
the 40 api. The docs referring to building your own have been updated to removed that
language. It seems that there are changes in nearly every revision that need to be
accounted for. In this case additional dependencies were needed in the force 41 module.
Building Salesforce adapter/translator pair issues
--------------------------------------------------
Key: TEIID-5073
URL:
https://issues.jboss.org/browse/TEIID-5073
Project: Teiid
Issue Type: Component Upgrade
Components: Salesforce Connector
Affects Versions: 9.2.3
Environment: wildfly 10.0.0.Final and teiid-9.2.3
Reporter: Thomas Esche
Assignee: Steven Hawkins
Labels: API, Salesforce
Fix For: 10.0
Original Estimate: 2 days
Remaining Estimate: 2 days
I tried to follow the instructions on
https://github.com/teiid/salesforce to build a
newer adapter/translator pair but I was not even able to build the provided v34 pair.
The "mvn clean install" produce the following error:
[INFO] ------------------------------------------------------------------------
[INFO] Building Salesforce Resource Adapter API 34 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading:
https://repository.jboss.org/nexus/content/repositories/thirdparty-upload...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Salesforce API 34 .................................. SUCCESS [ 1.091 s]
[INFO] Salesforce Translator 34 ........................... SUCCESS [ 2.105 s]
[INFO] Salesforce Resource Adapter API 34 ................. FAILURE [ 1.596 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.490 s
[INFO] Finished at: 2017-09-20T11:13:59+02:00
[INFO] Final Memory: 35M/425M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project connector-salesforce-34: Could not resolve
dependencies for project
org.jboss.teiid.connectors.salesforce-34:connector-salesforce-34:jar:1.0-SNAPSHOT: Could
not find artifact org.jboss.teiid.connectors:connector-salesforce:rar:9.0.0.Final in
thirdparty-uploads
(
https://repository.jboss.org/nexus/content/repositories/thirdparty-uploads/) -> [Help
1]
After removing the dependencies block in the ...\connector-salesforce-34\pom.xml maven
works, but it seems to create an invalid adapter.