Removal of org.jboss.spec.javax.rmi:jboss-rmi-api_1.0_spec from JBoss EAP 7.3 Maven BOM

Solution Verified - Updated

Environment

  • Red Hat Enterprise Application Platform (EAP)
    • 7.3+

Issue

We are migrating our application from EAP 7.2 to 7.3 and our application's Maven pom.xml has a dependency on org.jboss.spec.javax.rmi:jboss-rmi-api_1.0_spec which was getting the version from the EAP Maven Build of Materials (BOM) in EAP 7.2, but in EAP 7.3 the version is no longer in the BOM and we are getting this error.

  <properties>
...
    <!-- EAP component version management BOM -->
    <version.jboss.bom.eap>7.3.0.GA</version.jboss.bom.eap>
...
  </properties>

<dependencyManagement>
  <dependencies>
      <dependency>
      <groupId>org.jboss.bom</groupId>
      <artifactId>eap-runtime-artifacts</artifactId>
      <version>${version.jboss.bom.eap}</version>
        <type>pom</type>
        <scope>import</scope>
    </dependency>
    </dependencies>
</dependencyManagement>

...
  <dependencies>
     ...
    <dependency>
      <groupId>org.jboss.spec.javax.rmi</groupId>
      <artifactId>jboss-rmi-api_1.0_spec</artifactId>
      <scope>provided</scope>
    </dependency>
      ....
  <dependencies>
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.rmi:jboss-rmi-api_1.0_spec:jar is missing. @ line 89, column 15
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project com.redhat.middleware:example:1.0-SNAPSHOT (/home/jboss/example//pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for org.jboss.spec.javax.rmi:jboss-rmi-api_1.0_spec:jar is missing. @ line 89, column 15

Resolution

The artifact org.jboss.spec.javax.rmi:jboss-rmi-api_1.0_spec was removed in This content is not included.WFLY-12416 as it was not needed and these classes exist in the JDK, so users can just remove the dependency from pom.xml file.

Root Cause

Jira This content is not included.WFLY-12416

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.