Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #45

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Microsphere Build supports the Maven project building on Java 8+ TLS and Java 17

### 2.4 Project Settings

#### 2.4.1 Defaults
#### 2.4.1 Defaults Settings

##### 2.4.1.1 Resources Settings

Expand All @@ -106,34 +106,36 @@ Microsphere Build supports the Maven project building on Java 8+ TLS and Java 17
</resources>
```

##### 2.4.1.2 Maven Profile `java8+` Settings
#### 2.4.2 Profiles Settings

##### 2.4.2.1 Maven Profile `java8+` Settings

[Maven JavaDoc Plugin](https://maven.apache.org/plugins/maven-javadoc-plugin/) will be added the options `-Xdoclint:none`.

##### 2.4.1.3 Maven Profile `java9+` Settings
##### 2.4.2.2 Maven Profile `java9+` Settings

[Maven Compiler Plugin](https://maven.apache.org/plugins/maven-compiler-plugin/)'s property `maven.compiler.release`
references on the another property `${java.version}`.

#### 2.4.1.4 Maven Profile `java11` Settings
#### 2.4.2.3 Maven Profile `java11` Settings

[Maven JavaDoc Plugin](https://maven.apache.org/plugins/maven-javadoc-plugin/) will use the configuration `source`
based on the property `${maven.compiler.source}`.

#### 2.4.1.5 Maven Profile `java9-15` Settings
#### 2.4.2.4 Maven Profile `java9-15` Settings

[Maven Surefire Plugin](https://maven.apache.org/surefire/maven-surefire-plugin/) will append the argument line
`--illegal-access=permit` for accessing to internal classes

### 2.4.1.6 Maven Profile `java16+` Settings
### 2.4.2.5 Maven Profile `java16+` Settings

[Maven Surefire Plugin](https://maven.apache.org/surefire/maven-surefire-plugin/) will append the argument line
`--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED` for accessing to
JDK modules' classes.

## 3. Usage

### Java 8+ Maven Project
### 3.1 Java 8+ Maven Project

The root project's pom.xml should set the parent as follows:

Expand All @@ -145,7 +147,7 @@ The root project's pom.xml should set the parent as follows:
</parent>
```

### Java 17+ Maven Project
### 3.2 Java 17+ Maven Project

The root project's pom.xml should set the parent as follows:

Expand Down
Loading