I'm using Lombok plugin, with JDK 1.8.0_172, when I apply your configuration for Spring, the aspectj-maven-plugin shows me tons of errors with the usage of various language constructs and Lombok.val. For instance, the getter method is implemented by Lombok, but aspectj-maven-plugin sees nothing.
Also, for what it's worth, I would like to use AspectJ language to define my pointcuts instead of programmatic implementation, but it's entirely another story.
Here is a part of the Maven output:
[ERROR] The type MessageNotification must implement the inherited abstract method Notification.getAlertTitle()
/obelisk/src/main/java/sa/com/stcpay/blink/obelisk/rush/notification/MessageNotification.java:21
public class MessageNotification implements Notification {
^^^^^^^^^^^^^^^^^^
[ERROR] The type RawNotification must implement the inherited abstract method Notification.getQualityOfService()
/obelisk/src/main/java/sa/com/stcpay/blink/obelisk/rush/notification/RawNotification.java:21
public class RawNotification implements Notification {
^^^^^^^^^^^^^^
[ERROR] The type RawNotification must implement the inherited abstract method Notification.getToken()
/obelisk/src/main/java/sa/com/stcpay/blink/obelisk/rush/notification/RawNotification.java:21
public class RawNotification implements Notification {
^^^^^^^^^^^^^^
[ERROR] The type RawNotification must implement the inherited abstract method Notification.getUniqueId()
/obelisk/src/main/java/sa/com/stcpay/blink/obelisk/rush/notification/RawNotification.java:21
public class RawNotification implements Notification {
^^^^^^^^^^^^^^
[ERROR] The type RawNotification must implement the inherited abstract method Notification.getRawContent()
/obelisk/src/main/java/sa/com/stcpay/blink/obelisk/rush/notification/RawNotification.java:21
public class RawNotification implements Notification {
^^^^^^^^^^^^^^
[ERROR] The type RawNotification must implement the inherited abstract method Notification.getExpiration()
/obelisk/src/main/java/sa/com/stcpay/blink/obelisk/rush/notification/RawNotification.java:21
public class RawNotification implements Notification {
^^^^^^^^^^^^^^
[ERROR] The type RawNotification must implement the inherited abstract method Notification.getCollapseId()
/obelisk/src/main/java/sa/com/stcpay/blink/obelisk/rush/notification/RawNotification.java:21
public class RawNotification implements Notification {
^^^^^^^^^^^^^^
[ERROR] Type mismatch: cannot convert from String to val
/obelisk/src/main/java/sa/com/stcpay/blink/obelisk/rush/medium/apns/ApnsMediumAdapter.java:51
val topic = authenticationConfiguration.getTargetTopic();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The constructor PushyNotification(Notification, val) is undefined
/obelisk/src/main/java/sa/com/stcpay/blink/obelisk/rush/medium/apns/ApnsMediumAdapter.java:52
val actualNotification = new PushyNotification(notification, topic);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I'm using Lombok plugin, with JDK 1.8.0_172, when I apply your configuration for Spring, the
aspectj-maven-pluginshows me tons of errors with the usage of various language constructs andLombok.val. For instance, the getter method is implemented by Lombok, butaspectj-maven-pluginsees nothing.Also, for what it's worth, I would like to use AspectJ language to define my pointcuts instead of programmatic implementation, but it's entirely another story.
Here is a part of the Maven output: