Skip to content

Commit 248b8bc

Browse files
committed
Use the default maven compiler instead of the bsc maven plugin
1 parent 2888a97 commit 248b8bc

2 files changed

Lines changed: 24 additions & 59 deletions

File tree

mapstruct-rounding/pom.xml

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -48,33 +48,20 @@
4848
<build>
4949
<plugins>
5050
<plugin>
51-
<groupId>org.bsc.maven</groupId>
52-
<artifactId>maven-processor-plugin</artifactId>
53-
<version>2.2.4</version>
51+
<groupId>org.apache.maven.plugins</groupId>
52+
<artifactId>maven-compiler-plugin</artifactId>
53+
<version>3.5.1</version>
5454
<configuration>
55-
<defaultOutputDirectory>
56-
${project.build.directory}/generated-sources
57-
</defaultOutputDirectory>
58-
<processors>
59-
<processor>org.mapstruct.ap.MappingProcessor</processor>
60-
</processors>
55+
<source>1.8</source>
56+
<target>1.8</target>
57+
<annotationProcessorPaths>
58+
<path>
59+
<groupId>org.mapstruct</groupId>
60+
<artifactId>mapstruct-processor</artifactId>
61+
<version>${org.mapstruct.version}</version>
62+
</path>
63+
</annotationProcessorPaths>
6164
</configuration>
62-
<executions>
63-
<execution>
64-
<id>process</id>
65-
<phase>generate-sources</phase>
66-
<goals>
67-
<goal>process</goal>
68-
</goals>
69-
</execution>
70-
</executions>
71-
<dependencies>
72-
<dependency>
73-
<groupId>org.mapstruct</groupId>
74-
<artifactId>mapstruct-processor</artifactId>
75-
<version>${org.mapstruct.version}</version>
76-
</dependency>
77-
</dependencies>
7865
</plugin>
7966
</plugins>
8067
</build>

mapstruct-updatemethods-1/pom.xml

Lines changed: 12 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -55,42 +55,20 @@
5555
<build>
5656
<plugins>
5757
<plugin>
58-
<groupId>org.bsc.maven</groupId>
59-
<artifactId>maven-processor-plugin</artifactId>
60-
<version>2.2.4</version>
58+
<groupId>org.apache.maven.plugins</groupId>
59+
<artifactId>maven-compiler-plugin</artifactId>
60+
<version>3.5.1</version>
6161
<configuration>
62-
<defaultOutputDirectory>
63-
${project.build.directory}/generated-sources
64-
</defaultOutputDirectory>
65-
<processors>
66-
<processor>org.mapstruct.ap.MappingProcessor</processor>
67-
</processors>
62+
<source>1.8</source>
63+
<target>1.8</target>
64+
<annotationProcessorPaths>
65+
<path>
66+
<groupId>org.mapstruct</groupId>
67+
<artifactId>mapstruct-processor</artifactId>
68+
<version>${org.mapstruct.version}</version>
69+
</path>
70+
</annotationProcessorPaths>
6871
</configuration>
69-
<executions>
70-
<execution>
71-
<id>process</id>
72-
<phase>generate-sources</phase>
73-
<goals>
74-
<goal>process</goal>
75-
</goals>
76-
</execution>
77-
<execution>
78-
<!-- This execution is needed if you want the processor plugin to
79-
generate the mappers in the test sources. -->
80-
<id>process-test</id>
81-
<phase>generate-test-sources</phase>
82-
<goals>
83-
<goal>process-test</goal>
84-
</goals>
85-
</execution>
86-
</executions>
87-
<dependencies>
88-
<dependency>
89-
<groupId>org.mapstruct</groupId>
90-
<artifactId>mapstruct-processor</artifactId>
91-
<version>${org.mapstruct.version}</version>
92-
</dependency>
93-
</dependencies>
9472
</plugin>
9573
</plugins>
9674
</build>

0 commit comments

Comments
 (0)