Hi Michal, did you set the java.ee property in the plugin configuration (for the verify mojo) ?
Regards JB On 18/12/2018 13:22, Michal Hlaváč wrote: > Hi, > > I tried to migrate my application based on karaf 4.2.1 to JDK 11. Last > problem is that feature verification using maven-karaf-plugin fails > with: > missing requirement > [camp.xit.legand.search.analytics-user-clicks/1.1.1.SNAPSHOT] osgi.ee > <http://osgi.ee>; > filter:="(&(osgi.ee <http://osgi.ee>=JavaSE)(version=11))" > > I found workaround which disable osgi.ee <http://osgi.ee> requirement: > <plugin> > <groupId>org.apache.felix</groupId> > <artifactId>maven-bundle-plugin</artifactId> > <version>4.1.0</version> > <configuration> > <instructions> > <_noee>true</_noee> > </instructions> > </configuration> > </plugin> > > But I am not sure it this is correct way to handle this problem. I > also tried karaf 4.2.2-SNAPSHOT but problem still persists. > > thank you, Miso -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
