Skip to content

Commit

Permalink
WINDUPRULE-939 Add link to migration article for EAP8 CDI Bean Discov…
Browse files Browse the repository at this point in the history
…ery rule (#834) (#836)

(cherry picked from commit 3bf1b77)

Co-authored-by: PhilipCattanach <31246010+PhilipCattanach@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and PhilipCattanach committed Dec 23, 2022
1 parent ad61fdc commit 5ad8f58
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rules/rules-reviewed/eap8/eap7/empty-beans-xml.windup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@
<hint title="Use the `all` CDI bean discovery mode if the application has beans without bean defining annotations" effort="1"
category-id="potential">
<message>Add a `beans` element with a `bean-discovery-mode='all'` attribute to an empty beans.xml file if the application has beans without bean defining annotations </message>
<!-- TODO This is a made up link; add a real one once we know the planned URL
<link title="Red Hat JBoss EAP 8.0 Migration Guide: Maven Artifact Changes for Jakarta EE" href="https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/8.0/html-single/migration_guide/index#maven-artifact-changes-for-jakarta-ee_default"/>
-->
<link title="Jakarta Contexts and Dependency Injection Bean Discovery"
href="https://access.redhat.com/articles/6980265#cdi_bean_discovery"/>
<tag>JakartaEE</tag>
<quickfix type="INSERT_LINE" name="empty-beans-xml-bean-discovery-mode-insert">
<newline><![CDATA[<beans bean-discovery-mode="all"></beans>]]></newline>
Expand Down

0 comments on commit 5ad8f58

Please sign in to comment.