Hello,
    I tried adding jakarta bundle as a dependency to the plugin and it worked 
but could you please explain how is this helping and is this something that 
will supported if there are any issues ? Because we could nt find any 
documentation for this.

Conf:

            <plugin>
                <groupId>org.apache.openjpa</groupId>
                <artifactId>openjpa-maven-plugin</artifactId>
                <version>3.2.2</version>
                <configuration>
                    
<persistenceXmlFile>${basedir}/src/main/enhancer_config/persistence_for_openjpa_enhancer.xml</persistenceXmlFile>
                    <includes>com/domain/model/*.class</includes>
                    <excludes>**/**/*.class</excludes>
                    
<enforcePropertyRestrictions>true</enforcePropertyRestrictions>
                </configuration>
                <executions>
                    <execution>
                        <id>enhancer</id>
                        <phase>process-classes</phase>
                        <goals>
                            <goal>enhance</goal>
                        </goals>
                    </execution>
                </executions>
                <dependencies>
                        <dependency>
                            <groupId>org.apache.openjpa</groupId>
                            <artifactId>openjpa</artifactId>
                            <version>3.2.2</version>
                            <classifier>jakarta</classifier>
                        </dependency>
                        <dependency>
                            <groupId>jakarta.persistence</groupId>
                            <artifactId>jakarta.persistence-api</artifactId>
                            <version>3.1.0</version>
                        </dependency>
                        <dependency>
                            <groupId>jakarta.transaction</groupId>
                            <artifactId>jakarta.transaction-api</artifactId>
                            <version>2.0.1</version>
                        </dependency>
                </dependencies>


Thanks,
Shiva
This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service 
<https://www.amdocs.com/about/email-terms-of-service>

Reply via email to