Closed ottfro1 closed 1 month ago
Hi @ottfro1 Thank you for your feedback, we are looking into it and will get back to you.
in the pom.xml
We also tested using Eclipse Version: 2023-06 (4.28.0) Build id: 20230608-1333
But then we get error [ERROR] Failed to execute goal [32mcom.sap.cloud.adk:com.sap.cloud.adk.build.archive:2.3.0:generate-cmdERROR[m on project [36mCIApacheCXF[m: [1;31mExecution generate-metadata of goal com.sap.cloud.adk:com.sap.cloud.adk.build.archive:2.3.0:generate-cmd failed: A required class was missing while executing com.sap.cloud.adk:com.sap.cloud.adk.build.archive:2.3.0:generate-cmd: javax/xml/bind/JAXBException[m [ERROR] [1;31m-----------------------------------------------------[m [ERROR] [1;31mrealm = plugin>com.sap.cloud.adk:com.sap.cloud.adk.build.archive:2.3.0[m [ERROR] [1;31mstrategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy[m [ERROR] [1;31murls[0] = file:/C:/Users/O1706/.m2/repository/com/sap/cloud/adk/com.sap.cloud.adk.build.archive/2.3.0/com.sap.cloud.adk.build.archive-2.3.0.jar[m [ERROR] [1;31murls[1] = file:/C:/Users/O1706/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/4.0.1/jakarta.xml.bind-api-4.0.1.jar[m [ERROR] [1;31murls[2] = file:/C:/Users/O1706/.m2/repository/jakarta/activation/jakarta.activation-api/2.1.2/jakarta.activation-api-2.1.2.jar[m [ERROR] [1;31murls[3] = file:/C:/Users/O1706/.m2/repository/org/apache/aries/subsystem/org.apache.aries.subsystem.api/1.1.0/org.apache.aries.subsystem.api-1.1.0.jar[m [ERROR] [1;31murls[4] = file:/C:/Users/O1706/.m2/repository/org/apache/aries/org.apache.aries.util/1.1.0/org.apache.aries.util-1.1.0.jar[m [ERROR] [1;31murls[5] = file:/C:/Users/O1706/.m2/repository/org/ow2/asm/asm/6.2.1/asm-6.2.1.jar[m [ERROR] [1;31murls[6] = file:/C:/Users/O1706/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar[m [ERROR] [1;31murls[7] = file:/C:/Users/O1706/.m2/repository/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar[m [ERROR] [1;31mNumber of foreign imports: 1[m [ERROR] [1;31mimport: Entry[import from realm ClassRealm[maven.api, parent: null]][m [ERROR] [1;31m[m [ERROR] [1;31m-----------------------------------------------------[m [ERROR] [1;31m[m: javax.xml.bind.JAXBException [ERROR] -> [1m[Help 1][m
A possible solution is to add dependency but we could not make it work
<!-- https://mvnrepository.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api -->
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>4.0.1</version>
</dependency>
We think the archetype should have the necessary dependencies from start.
SAP Business Application Studio - is that a possible IDE?
https://tools.hana.ondemand.com/#cloudintegration
The adapter development process using Eclipse plugin has been deprecated
We tested eclipse oxygen - the same error : Build failed: Dependency libs/spring-aop-5.3.23.jar is not a valid OSGi bundle
creating a project - maven project or adapter project?
oxygene is from 2018 - obsolete and outdated?
oxygene is from 2018 - obsolete and outdated?
oxygene is from 2018 - obsolete and outdated?
Hi @ottfro1,
You can follow this blog: https://community.sap.com/t5/technology-blogs-by-sap/sap-cpi-adapter-development-consuming-an-external-jar-into-an-adapter/ba-p/13382631
to use an external service which is non-osgi.
We are in process of updating our Help portal documentation.
Hi @ottfro1, You can follow this blog: https://community.sap.com/t5/technology-blogs-by-sap/sap-cpi-adapter-development-consuming-an-external-jar-into-an-adapter/ba-p/13382631 to use an external service which is non-osgi.
We are in process of updating our Help portal documentation.
Hi Harshita, thanks for the link, unfortunately we have not been able make the linked solution work for the "reuse archetype" scenario. I think SAP should fix the "reuse archetype" so non-osgi ar packed/bundled automatically. At least there should be a clear path to the solution documented.
Issue description
We want to use the https://cxf.apache.org/docs/openapifeature.html
Hence we want ot use the https://camel.apache.org/components/4.0.x/cxfrs-component.html https://camel.apache.org/components/4.0.x/dataformats/jaxb-dataformat.html
When we use the archetype com.sap.cloud.adk.archetype-adapter-component-reuse for