[ https://issues.apache.org/jira/browse/ARIES-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raymond Augé resolved ARIES-1997. --------------------------------- Resolution: Invalid This is a usage question so please use the mailing list :) > How to properly include Apache Aries JAX RS Whiteboard into Apache Felix > ------------------------------------------------------------------------ > > Key: ARIES-1997 > URL: https://issues.apache.org/jira/browse/ARIES-1997 > Project: Aries > Issue Type: Question > Components: jax-rs-whiteboard > Affects Versions: jax-rs-whiteboard-1.0.7 > Environment: AEM 6.5, Apache Felix > Reporter: Matija Kovacek > Priority: Major > Attachments: aem-jaxrs.zip > > > I'm struggling with integration of Apache Aries JAX RS Whiteboard into Apache > Felix (in Adobe Experience Manager) > I managed somehow to get it work, but I would like to clarify is it this > proper way. Because I have a lot of problem with integrations (Jackson, > hibernate validator, OpenApi...). > Also whenever I want to use something from org.apache.cxf.* package my bundle > is not active anymore since can't resolve it (I thought this is resolved by > repackaging on your side and embedding as part of your bundle)? > If I understood correctly those hard part of integration is already solved by > you guys. > > Let me share current dependencies setup and let me know is this good way to > go. > > {code:java} > OSGI related: > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.annotation.versioning</artifactId> > <version>1.1.0</version> > <scope>provided</scope> > <type>jar</type> > </dependency> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.annotation.bundle</artifactId> > <version>1.0.0</version> > <scope>provided</scope> > <type>jar</type> > </dependency> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.service.metatype.annotations</artifactId> > <version>1.4.0</version> > <scope>provided</scope> > <type>jar</type> > </dependency> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.service.component.annotations</artifactId> > <version>1.4.0</version> > <scope>provided</scope> > <type>jar</type> > </dependency> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.service.component</artifactId> > <version>1.4.0</version> > <scope>provided</scope> > <type>jar</type> > </dependency> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.service.cm</artifactId> > <version>1.6.0</version> > <scope>provided</scope> > <type>jar</type> > </dependency> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.service.event</artifactId> > <version>1.3.1</version> > <scope>provided</scope> > <type>jar</type> > </dependency> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.service.log</artifactId> > <version>1.4.0</version> > <scope>provided</scope> > <type>jar</type> > </dependency> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.resource</artifactId> > <version>1.0.0</version> > <scope>provided</scope> > <type>jar</type> > </dependency> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.framework</artifactId> > <version>1.9.0</version> > <scope>provided</scope> > <type>jar</type> > </dependency> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.util.tracker</artifactId> > <version>1.5.2</version> > <scope>provided</scope> > <type>jar</type> > </dependency> > <!--OSGI R7 JAX-RS Related--> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>osgi.core</artifactId> > <version>7.0.0</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>osgi.cmpn</artifactId> > <version>7.0.0</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>osgi.annotation</artifactId> > <version>7.0.0</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.service.jaxrs</artifactId> > <version>1.0.0</version> > <scope>provided</scope> > </dependency> > <!--ARIES JAX RS implementation of OSGI R7 spec--> > <dependency> > <groupId>org.apache.aries.jax.rs</groupId> > <artifactId>org.apache.aries.jax.rs.whiteboard</artifactId> > <version>1.0.7</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.apache.aries.spec</groupId> > <artifactId>org.apache.aries.javax.jax.rs-api</artifactId> > <version>1.0.4</version> > <scope>provided</scope> > </dependency> > <!--Additional for ARIES JAX RS--> > <dependency> > <groupId>org.apache.geronimo.specs</groupId> > <artifactId>geronimo-annotation_1.3_spec</artifactId> > <version>1.1</version> > </dependency> > <!--JAX RS - JACKSON--> > <dependency> > <groupId>com.fasterxml.jackson.jaxrs</groupId> > <artifactId>jackson-jaxrs-base</artifactId> > <version>2.9.0</version> > </dependency> > <dependency> > <groupId>com.fasterxml.jackson.jaxrs</groupId> > <artifactId>jackson-jaxrs-json-provider</artifactId> > <version>2.9.0</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.apache.aries.jax.rs</groupId> > <artifactId>org.apache.aries.jax.rs.jackson</artifactId> > <version>1.0.2</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>com.fasterxml.jackson.module</groupId> > <artifactId>jackson-module-jaxb-annotations</artifactId> > <version>2.9.0</version> > </dependency> > <!--OPEN API V3--> > <dependency> > <groupId>org.eclipse.microprofile.openapi</groupId> > <artifactId>microprofile-openapi-api</artifactId> > <version>1.1.2</version> > </dependency> > <dependency> > <groupId>org.apache.geronimo</groupId> > <artifactId>geronimo-openapi-maven-plugin</artifactId> > <version>1.0.12</version> > </dependency> > <dependency> > <groupId>org.apache.geronimo</groupId> > <artifactId>geronimo-openapi-impl</artifactId> > <version>1.0.12</version> > </dependency> > <!--end of OPEN API V3--> > {code} > Almost all off this Aries and integrations dependencies I needed to embed or > manually install into Apache Felix console to get it work. (to have > everything resolved) > > For example I tried to create custom context to get some AEM specific objects > by implementing > {code:java} > org.apache.cxf.jaxrs.ext.ContextProvider{code} > and this is not resolved in my bundle. > Adding cxf-core and cxf-rt-frontend-jaxr doesn't help because this bundle are > not resolved beacuse of missing some other dependencies, this unresolved > states never ends. > > In think I didn't setup this correctly from beginning. -- This message was sent by Atlassian Jira (v8.3.4#803005)