The 0.9.9 version of libgdx is way outdated and depends on RoboVM 0.0.6. You're using the 0.0.9.1 version of the RoboVM Maven plugin which means you must also use the RoboVM 0.0.9 versions of robovm-rt.jar
and robovm-cocoatouch.jar
.
The best resolution would be to get a newer version of libgdx but I don't think there is one available in Maven Central. You would probably have to build the libgdx Maven artifacts yourself from source.
Another option that could work would be to exclude the RoboVM artifacts pulled in by the libgdx dependency and then add dependencies for RoboVM 0.0.9. Something like this:
<dependency>
<groupId>com.badlogicgames.gdx</groupId>
<artifactId>gdx-backend-robovm</artifactId>
<version>0.9.9</version>
<exclusions>
<exclusion>
<groupId>org.robovm</groupId>
<artifactId>robovm-rt</artifactId>
</exclusion>
<exclusion>
<groupId>org.robovm</groupId>
<artifactId>robovm-objc</artifactId>
</exclusion>
<exclusion>
<groupId>org.robovm</groupId>
<artifactId>robovm-cocoatouch</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.robovm</groupId>
<artifactId>robovm-cocoatouch</artifactId>
<version>0.0.9</version>
</dependency>
<dependency>
<groupId>org.robovm</groupId>
<artifactId>robovm-objc</artifactId>
<version>0.0.9</version>
</dependency>
<dependency>
<groupId>org.robovm</groupId>
<artifactId>robovm-rt</artifactId>
<version>0.0.9</version>
</dependency>
I have no idea whether the 0.9.9 version of libgdx will work properly with the 0.0.9 version of RoboVM.