Migration guide

If your custom component is based on Petals Component Developer Toolkit, some changes can occur according to the target version of the Petals CDK required

From 5.8.x to 5.9.x

Migrating your component runtime

Migrating your component unit test

Please apply the following changes in the unit tests oy your custom component:

  • JUnit 5 is now required for your unit tests,
  • move Java EE package to Jakarta EE 9+ package:
    • javax.activation -> jakarta.activation
    • javax.mail -> jakarta.mail
    • javax.xml.bind -> jakarta.xml.bind
    • ...
  • to generate your beans from an XSD or WSDL definition, use the Maven plugin 'org.patrodyne.jvnet:hisrc-higherjaxb-maven-plugin' instead of 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin'.

From 5.7.x to 5.8.x

Migrating your component runtime

Please apply the following changes in the source code of your custom component:

  • Placeholders are no more defined through Properties but through Placeholders.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.