Some problems when build with maven-compiler-plugin version 3.8.0
Hello Ivy team
In my project I'm using Designer 8.0.2, Engine 8.0.2, JDK 11, project-build-plugin version 8.0.0, maven 3.6.3 and maven-compiler-plugin version 3.8.0.
When I build project with maven I have some problems as maven cannot find class belong to reference libraries
![alt text][1]
![alt text][2]
Or some libraries of Axon.ivy Libraries as
![alt text][3]
![alt text][4]
Plugins in my pom.xml
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<filesets>
<fileset>
<directory>src_test</directory>
<includes>
<include>**/beans/*_.java</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>process-resources</id>
<goals>
<goal>resources</goal>
<goal>testResources</goal>
</goals>
<phase>process-test-resources</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>iar-as-property</id>
<goals>
<goal>properties</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<configuration>
<release>11</release>
</configuration>
</plugin>
<plugin>
<groupId>com.axonivy.ivy.ci</groupId>
<artifactId>project-build-plugin</artifactId>
<version>${build.plugin.version}</version>
<extensions>true</extensions>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>share-engine-core-classpath</goal>
</goals>
</execution>
<execution>
<id>default-ivy-test-properties</id>
<configuration>
<skipTest>true</skipTest>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>11</release>
</configuration>
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>6.2</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>process-meta-model</id>
<goals>
<goal>compile</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<classpathElements>${maven.processor.classpath}</classpathElements>
<annotationProcessorPaths>
<path>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>5.4.12.Final</version>
</path>
</annotationProcessorPaths>
<proc>only</proc>
<includes>
<include>**/beans/*</include>
</includes>
<generatedSourcesDirectory>${project.build.directory}/.apt_generated</generatedSourcesDirectory>
</configuration>
</execution>
<execution>
<id>process-test-meta-model</id>
<goals>
<goal>testCompile</goal>
</goals>
<phase>generate-test-sources</phase>
<configuration>
<classpathElements>${project.build.outputDirectory},${maven.processor.classpath},${org.jmockit:jmockit:jar},${junit:junit:jar},${org.hamcrest:hamcrest-core:jar},${log4j:log4j:jar}</classpathElements>
<annotationProcessorPaths>
<path>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>5.4.12.Final</version>
</path>
</annotationProcessorPaths>
<proc>only</proc>
<includes>
<include>**/beans/*</include>
</includes>
<generatedTestSourcesDirectory>${project.build.testSourceDirectory}</generatedTestSourcesDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0-M1</version>
<configuration>
<checkModificationExcludes>
<checkModificationExclude>${project}/pom.xml</checkModificationExclude>
</checkModificationExcludes>
<commitByProject>true</commitByProject>
<autoversionsubmodules>true</autoversionsubmodules>
</configuration>
</plugin>
</plugins>
</pluginManagement>
Please help me to resolve it. Thanks
[1]: https://answers.axonivy.com/upfiles/1_XmB4vbD.JPG
[2]: https://answers.axonivy.com/upfiles/2_0Ibod4O.JPG
[3]: https://answers.axonivy.com/upfiles/3_jUwKtPm.JPG
[4]: https://answers.axonivy.com/upfiles/4_u9hVbbi.JPG