You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Stefano Ponzi (Jira)" <ji...@apache.org> on 2024/08/05 06:27:00 UTC

[jira] [Updated] (OAK-11005) Oak version >= 1.58 non generating jpamodelgen and mapstruct mapper

     [ https://issues.apache.org/jira/browse/OAK-11005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Ponzi updated OAK-11005:
--------------------------------
    Affects Version/s: 1.66.0
                       1.64.0
                       1.62.0
                       1.60.0
             Priority: Major  (was: Trivial)

> Oak version >= 1.58 non generating jpamodelgen and mapstruct mapper
> -------------------------------------------------------------------
>
>                 Key: OAK-11005
>                 URL: https://issues.apache.org/jira/browse/OAK-11005
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>    Affects Versions: 1.58.0, 1.60.0, 1.62.0, 1.64.0, 1.66.0
>            Reporter: Stefano Ponzi
>            Priority: Major
>
> In my project, actually I run JackRabbit 1.44. I'm trying to update. In my project I generate hibernate jpamodel and some mapstruct mappers with:
> {code:java}
> <plugin>
>     <groupId>org.apache.maven.plugins</groupId>
>     <artifactId>maven-compiler-plugin</artifactId>
>     <version>3.10.1</version>
>     <configuration>
>        <source>17</source>
>        <target>17</target>
>        <annotationProcessorPaths>
>           <path>
>              <groupId>org.hibernate</groupId>
>              <artifactId>hibernate-jpamodelgen</artifactId>
>              <version>5.6.15</version>
>           </path>
>           <path>
>              <groupId>org.projectlombok</groupId>
>              <artifactId>lombok</artifactId>
>              <version>1.18.30</version>
>           </path>
>           <path>
>              <groupId>org.mapstruct</groupId>
>              <artifactId>mapstruct-processor</artifactId>
>              <version>1.5.5.Final</version>
>           </path>
>           <path>
>              <groupId>org.projectlombok</groupId>
>              <artifactId>lombok-mapstruct-binding</artifactId>
>              <version>0.2.0</version>
>            </path>
>       </annotationProcessorPaths>
>        <compilerArgs>
>           <compilerArg>
>              -Amapstruct.defaultComponentModel=spring
>           </compilerArg>
>        </compilerArgs>
>     </configuration>
> </plugin> {code}
> If i update 'til version 1.56 everything works great. After and including version 1.58 generating hibernate jpamodel and mapstruct mappers will mysteriously skip and build won't complete.
> Also, I've tried to partially update and the problem looks like is in artifactId "oak-core".
>  
> Can you provide support?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)