diff --git a/app/adapters/api/src/main/java/it/mulders/traqqr/api/measurements/MeasurementMapper.java b/app/adapters/api/src/main/java/it/mulders/traqqr/api/measurements/MeasurementMapper.java index 5bc6628..eeef79a 100644 --- a/app/adapters/api/src/main/java/it/mulders/traqqr/api/measurements/MeasurementMapper.java +++ b/app/adapters/api/src/main/java/it/mulders/traqqr/api/measurements/MeasurementMapper.java @@ -5,8 +5,9 @@ import it.mulders.traqqr.domain.vehicles.Vehicle; import org.mapstruct.Mapper; +import org.mapstruct.MappingConstants; -@Mapper(componentModel = "jakarta") +@Mapper(componentModel = MappingConstants.ComponentModel.JAKARTA_CDI) public interface MeasurementMapper { Measurement toMeasurement(Vehicle vehicle, MeasurementDto measurementDto); }