Lloyd L Chambers wrote:
> It's been 2 weeks or so since I've built v3. Something has changed.
Yes, v3 now uses hk2 version 0.3.1 and the new hk2 plugin now warns
developers about potential missing dependencies (NoClassdefFoundError).
> amx-api pom.xml has this declaration:
>
> <dependencies>
> <dependency>
> <groupId>javax.management.j2ee</groupId>
> <artifactId>management-api</artifactId>
> <version>${management-api.version}</version>
> <scope>provided</scope>
> </dependency>
Instead of depending on javax.management.j2ee:management-api, depend on
org.glassfish:javax.javaee like this:
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.javaee</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
Thanks,
Sahoo