Your goal is to be able to configure the SAP Connector in Anypoint Code Builder.
1. Collect the three needed files and place them in any folder on your local drive.
2. Open a command line tool on that path and install the three libraries on your local Maven repository with these commands (version should be set accordingly on the three commands, depending on your libraries version):
mvn install:install-file \
-Dfile=sapidoc3.jar \
-DgroupId=com.sap.conn.idoc \
-DartifactId=com.sap.conn.idoc.sapidoc3 \
-Dversion=3.1.8 \
-Dpackaging=jar
mvn install:install-file \
-Dfile=sapjco3.jar \
-DgroupId=com.sap.conn.jco \
-DartifactId=com.sap.conn.jco.sapjco3 \
-Dversion=3.1.8 \
-Dpackaging=jar
mvn install:install-file \
-Dfile=libsapjco3.[ext] \
-DgroupId=com.sap.conn.jco \
-DartifactId=libsapjco3 \
-Dversion=3.1.8 \
-Dpackaging=[ext]
In this third command please update the file and packaging with the correct file extension between dylib, jnlib, dll or so.
3. Add these dependencies to the project pom.xml file as below:
<dependency>
<groupId>com.sap.conn.jco</groupId>
<artifactId>com.sap.conn.jco.sapjco3</artifactId>
<version>3.1.8</version>
</dependency>
<dependency>
<groupId>com.sap.conn.idoc</groupId>
<artifactId>com.sap.conn.idoc.sapidoc3</artifactId>
<version>3.1.8</version>
</dependency>
<dependency>
<groupId>com.sap.conn.jco</groupId>
<artifactId>libsapjco3</artifactId>
<version>3.1.8</version>
<classifier>external-library</classifier>
<type>dylib</type>
</dependency>
<plugin>
<groupId>org.mule.tools.maven</groupId>
<artifactId>mule-maven-plugin</artifactId>
<version>${mule.maven.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<sharedLibraries>
<sharedLibrary>
<groupId>com.sap.conn.jco</groupId>
<artifactId>com.sap.conn.jco.sapjco3</artifactId>
</sharedLibrary>
<sharedLibrary>
<groupId>com.sap.conn.idoc</groupId>
<artifactId>com.sap.conn.idoc.sapidoc3</artifactId>
</sharedLibrary>
<sharedLibrary>
<groupId>com.sap.conn.jco</groupId>
<artifactId>libsapjco3</artifactId>
</sharedLibrary>
</sharedLibraries>
</configuration>
</plugin>
005239326

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.