Skip to content

Commit

Permalink
Merge pull request #1 from GitHubNull/support_from_jdk8
Browse files Browse the repository at this point in the history
成功配置成可支持最低JDK版本JDK8,并且可maven编译。
  • Loading branch information
GitHubNull authored Jun 1, 2023
2 parents 16c79ba + d31fea5 commit 82639a5
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,20 @@

<groupId>org.oxff</groupId>
<artifactId>SqlMapConsole</artifactId>
<version>0.0.1</version>
<version>0.0.34</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- <maven.compiler.source>8</maven.compiler.source>-->
<!-- <maven.compiler.target>8</maven.compiler.target>-->
</properties>

<build>
<sourceDirectory>src/main/java</sourceDirectory>

<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>11</source>
<target>11</target>
<source>8</source>
<target>8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
Expand All @@ -33,6 +30,9 @@
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<finalName>${project.artifactId}-v${project.version}-jdk8-full</finalName>
<appendAssemblyId>false</appendAssemblyId>
<attach>false</attach>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -115,17 +115,4 @@
</dependency>

</dependencies>
<!-- <build>-->
<!-- <plugins>-->
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-compiler-plugin</artifactId>-->
<!-- <configuration>-->
<!-- <source>9</source>-->
<!-- <target>9</target>-->
<!-- </configuration>-->
<!-- </plugin>-->
<!-- </plugins>-->
<!-- </build>-->

</project>

0 comments on commit 82639a5

Please sign in to comment.