Skip to content

Commit

Permalink
Merge pull request #108 from refactorfirst/remove-unused-vulnerable-d…
Browse files Browse the repository at this point in the history
…ependency

Remove jgrapht-core and jgapht-ext from report module
  • Loading branch information
jimbethancourt authored Oct 3, 2024
2 parents 7120285 + 1366736 commit 8ed1a80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ The change to require Java 11 is needed to address vulnerability CVE-2023-4759 i
Run the following command from the root of your project (the source code does not need to be built):

```bash
mvn org.hjug.refactorfirst.plugin:refactor-first-maven-plugin:0.6.0:htmlReport
mvn org.hjug.refactorfirst.plugin:refactor-first-maven-plugin:0.6.1:htmlReport
```
View the report at ```target/site/refactor-first-report.html```

### [As Part of GitHub Actions Output](https://github.blog/news-insights/product-news/supercharging-github-actions-with-job-summaries/)
This will generate a simplified HTML report (no graphs or images) as the output of a GitHub Action step
```bash
mvn -B clean test \
org.hjug.refactorfirst.plugin:refactor-first-maven-plugin:0.6.0:simpleHtmlReport \
org.hjug.refactorfirst.plugin:refactor-first-maven-plugin:0.6.1:simpleHtmlReport \
&& echo "$(cat target/site/refactor-first-report.html)" >> $GITHUB_STEP_SUMMARY
```

Expand All @@ -46,7 +46,7 @@ Add the following to your project in the build section. **showDetails** will sh
<plugin>
<groupId>org.hjug.refactorfirst.plugin</groupId>
<artifactId>refactor-first-maven-plugin</artifactId>
<version>0.6.0</version>
<version>0.6.1</version>
<!-- optional -->
<configuration>
<showDetails>false</showDetails>
Expand All @@ -67,7 +67,7 @@ A RefactorFirst report will show up in the site report when you run ```mvn site`
<plugin>
<groupId>org.hjug.refactorfirst.plugin</groupId>
<artifactId>refactor-first-maven-plugin</artifactId>
<version>0.6.0</version>
<version>0.6.1</version>
</plugin>
...
</plugins>
Expand Down Expand Up @@ -113,7 +113,7 @@ I would like to create a Gradle plugin and (possibly) support non-conventional p
and then (assuming Maven is installed) run

```bash
mvn org.hjug.refactorfirst.plugin:refactor-first-maven-plugin:0.6.0:htmlReport
mvn org.hjug.refactorfirst.plugin:refactor-first-maven-plugin:0.6.1:htmlReport
```

## Viewing the Report
Expand Down
11 changes: 0 additions & 11 deletions report/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,6 @@
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>

<dependency>
<groupId>org.jgrapht</groupId>
<artifactId>jgrapht-core</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>org.jgrapht</groupId>
<artifactId>jgrapht-ext</artifactId>
<version>1.3.0</version>
</dependency>
</dependencies>

</project>

0 comments on commit 8ed1a80

Please sign in to comment.