<dependency>
<groupId>org.apache.karaf.services</groupId>
<artifactId>org.apache.karaf.services.eventadmin</artifactId>
<version>4.0.0.M2</version>
<type>bundle</type>
</dependency>
implementation 'org.apache.karaf.services:org.apache.karaf.services.eventadmin:4.0.0.M2'
implementation("org.apache.karaf.services:org.apache.karaf.services.eventadmin:4.0.0.M2")
libraryDependencies += "org.apache.karaf.services" % "org.apache.karaf.services.eventadmin" % "4.0.0.M2"
@Grapes(
@Grab(group='org.apache.karaf.services', module='org.apache.karaf.services.eventadmin', version='4.0.0.M2')
)
<dependency org="org.apache.karaf.services" name="org.apache.karaf.services.eventadmin" rev="4.0.0.M2" />