Skip to content

Commit 49a3ff5

Browse files
committed
fixes for compiling
1 parent 66dca5d commit 49a3ff5

File tree

1 file changed

+26
-9
lines changed

1 file changed

+26
-9
lines changed

pom.xml

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<packaging>jar</packaging>
1212

1313
<name>Featurevisor Java SDK</name>
14-
<description>Java SDK for Featurevisor feature management platform</description>
14+
<description>Java SDK for Featurevisor</description>
1515
<url>https://github.com/featurevisor/featurevisor-java</url>
1616

1717
<!-- License Information -->
@@ -58,7 +58,6 @@
5858
<maven.compiler.testTarget>15</maven.compiler.testTarget>
5959
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6060
<jackson.version>2.15.2</jackson.version>
61-
<maven.compiler.release>11</maven.compiler.release>
6261
</properties>
6362

6463
<dependencies>
@@ -104,20 +103,38 @@
104103

105104
<build>
106105
<plugins>
106+
107107
<!-- Maven Compiler Plugin -->
108108
<plugin>
109109
<groupId>org.apache.maven.plugins</groupId>
110110
<artifactId>maven-compiler-plugin</artifactId>
111111
<version>3.11.0</version>
112-
<configuration>
113-
<source>11</source>
114-
<target>11</target>
115-
<testSource>15</testSource>
116-
<testTarget>15</testTarget>
117-
</configuration>
112+
<executions>
113+
<execution>
114+
<id>default-compile</id>
115+
<phase>compile</phase>
116+
<goals>
117+
<goal>compile</goal>
118+
</goals>
119+
<configuration>
120+
<source>11</source>
121+
<target>11</target>
122+
</configuration>
123+
</execution>
124+
<execution>
125+
<id>default-testCompile</id>
126+
<phase>test-compile</phase>
127+
<goals>
128+
<goal>testCompile</goal>
129+
</goals>
130+
<configuration>
131+
<source>15</source>
132+
<target>15</target>
133+
</configuration>
134+
</execution>
135+
</executions>
118136
</plugin>
119137

120-
<!-- Maven Surefire Plugin for Tests -->
121138
<plugin>
122139
<groupId>org.apache.maven.plugins</groupId>
123140
<artifactId>maven-surefire-plugin</artifactId>

0 commit comments

Comments
 (0)