Skip to content

Commit

Permalink
Release 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
D-D-H committed Mar 9, 2023
1 parent 70210df commit 2cfae0b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Add the following configuration to pom.xml (root pom.xml if a multi-module proje
<plugin>
<groupId>org.eclipse.emt4j</groupId>
<artifactId>emt4j-maven-plugin</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
<executions>
<execution>
<phase>process-test-classes</phase>
Expand Down Expand Up @@ -73,12 +73,12 @@ Users can also run the following command directly without modifying pom.xml:

```shell
# run with default configurations
$ mvn process-test-classes org.eclipse.emt4j:emt4j-maven-plugin:0.7.0:check
$ mvn process-test-classes org.eclipse.emt4j:emt4j-maven-plugin:0.8.0:check
```

``` shell
# specify outputFile and priority by -D
$ mvn process-test-classes org.eclipse.emt4j:emt4j-maven-plugin:0.7.0:check -DoutputFile=emt4j-report.html -Dpriority=p1
$ mvn process-test-classes org.eclipse.emt4j:emt4j-maven-plugin:0.8.0:check -DoutputFile=emt4j-report.html -Dpriority=p1
```

Configurations:
Expand All @@ -102,7 +102,7 @@ following configuration:
<plugin>
<groupId>org.eclipse.emt4j</groupId>
<artifactId>emt4j-maven-plugin</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
<executions>
<execution>
<phase>initialize</phase>
Expand Down Expand Up @@ -137,7 +137,7 @@ $ mvn test
#### Find compatibility problems existing in specified files (classes, JAR, or directory)

``` shell
$ mvn org.eclipse.emt4j:emt4j-maven-plugin:0.7.0:check-files -Dfiles=...
$ mvn org.eclipse.emt4j:emt4j-maven-plugin:0.8.0:check-files -Dfiles=...
```

### Java agent and CLI
Expand All @@ -153,19 +153,19 @@ The build includes two Java agents, command line tools, a maven plugin, and requ
- Migration Java version from 8 to 11:

```shell
$ java -javaagent:<path-to-emt4j-build>/lib/agent/emt4j-agent-jdk8-0.7.0.jar=to=11,file=jdk8to11.dat
$ java -javaagent:<path-to-emt4j-build>/lib/agent/emt4j-agent-jdk8-0.8.0.jar=to=11,file=jdk8to11.dat
```

- Migration Java version from 11 to 17:

```shell
$ java -javaagent:<path-to-emt4j-build>/lib/agent/emt4j-agent-jdk11-0.7.0.jar=to=17,file=11to17.dat
$ java -javaagent:<path-to-emt4j-build>/lib/agent/emt4j-agent-jdk11-0.8.0.jar=to=17,file=11to17.dat
```

- Migration Java version from 8 to 17:

```shell
$ java -javaagent:<path-to-emt4j-build>/lib/agent/emt4j-agent-jdk8-0.7.0.jar=to=17,file=jdk8to17.dat
$ java -javaagent:<path-to-emt4j-build>/lib/agent/emt4j-agent-jdk8-0.8.0.jar=to=17,file=jdk8to17.dat
```

- The Java agent will record the compatibility problems found during running into the file. This file is a binary file,
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revision>0.8-SNAPSHOT</revision>
<revision>0.8.0</revision>
</properties>
<dependencyManagement>
<dependencies>
Expand Down

0 comments on commit 2cfae0b

Please sign in to comment.