Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to - Change the maven-dependency-plugin configuration in pom.xml file

Hi All,

 

I'm facing below error related to the configuration of sapidoc3.jar file. The error is -

"Illegal IDoc library archive "sapidoc3-6.0.0.jar". It is not allowed to rename or repackage the original archive "sapidoc3.jar".at com.sap.conn.idoc.jco.JCoIDoc."

 

The suggested solution is to make changes in the maven-dependency-plugin configuration in pom.xml file with adding the option <stripVersion>true</stripVersion> for coyping the JCo artifacts.

 

In Talend how do I access this pom.xml and in which section should I make the code changes. Please suggest.

 

Regards,

SG

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

The issue got resolved with the Patch upgrade

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hello,

You can open the Project Settings dialog box, expand the Build > Maven > Default nodes, and then click the Project node to open the Project POM settings.

For more information, please refer to this online user guide about:TalendHelpCenter:Customizing Maven build script templates

Let us know if it is what you are looking for.

Best regards

Sabrina

 

Anonymous
Not applicable
Author

The issue got resolved with the Patch upgrade

TRF
Champion II
Champion II

Hi @talen612,

 

I use Talend Data Management Platform 7.1.1 and have the same issue as you with the following message when trying to send an XML file to SAP using tSAPIDocOutput component: 

Exception in thread "main" java.lang.ExceptionInInitializerError: Illegal IDoc library archive "sapidoc3-6.0.0.jar". It is not allowed to rename or repackage the original archive "sapidoc3.jar".
at com.sap.conn.idoc.jco.JCoIDoc.<clinit>(JCoIDoc.java:150)

 

I have added the following lines to the project POM:

<plugin>
    <artifactId>maven-dependency-plugin</artifactId>
    <stripVersion>true</stripVersion>
</plugin>

But I still have the same message (Studio has been restarted).

 

Is that the way you solved the problem? With the same Studio version? 

 

Thank's in advance.