Skip to content

Commit 1e20692

Browse files
Hyperlinking RefactorFirst in report title
- Hyperlinking RefactorFirst in report title to RefactorFirst repository so users can learn more about RefactorFirst - Backed out change to maven.yml since it's not publishing to snapshot when run
1 parent 4ba7ce4 commit 1e20692

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/maven.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,27 @@ jobs:
1313

1414
steps:
1515
- name: Check out Git repository
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v2
1717

18-
- name: Set up JDK 11
19-
uses: actions/setup-java@v3
18+
- name: Set up JDK 1.8
19+
uses: actions/setup-java@v1
2020
with:
2121
java-version: 11
22-
distribution: 'zulu'
2322

2423
- name: Build With Maven
2524
env:
2625
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
2726
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
28-
run: mvn -B verify #org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
27+
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
2928

3029

3130
# Comment "Build With Maven" and uncomment the below when you want a snapshot build to be deployed
3231
# *********Don't forget to switch to Java 1.8 as well********
33-
- name: Publish Maven snapshot
34-
uses: samuelmeuli/action-maven-publish@v1
35-
with:
36-
gpg_private_key: ${{ secrets.gpg_private_key }}
37-
gpg_passphrase: ${{ secrets.gpg_passphrase }}
38-
nexus_username: ${{ secrets.nexus_username }}
39-
nexus_password: ${{ secrets.nexus_password }}
40-
maven_profiles: snapshot-release
41-
maven_args: -B
32+
# - name: Publish Maven snapshot
33+
# uses: samuelmeuli/action-maven-publish@v1
34+
# with:
35+
# gpg_private_key: ${{ secrets.gpg_private_key }}
36+
# gpg_passphrase: ${{ secrets.gpg_passphrase }}
37+
# nexus_username: ${{ secrets.nexus_username }}
38+
# nexus_password: ${{ secrets.nexus_password }}
39+
# maven_profiles: snapshot-release

report/src/main/java/org/hjug/refactorfirst/report/SimpleHtmlReport.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,9 @@ public void printProjectHeader(
351351
+ " <div id=\"contentBox\">");
352352

353353
stringBuilder
354-
.append("<section>\n" + "<h2>RefactorFirst Report for ")
354+
.append(
355+
"<section>\n"
356+
+ "<h2><a href=\"https://github.com/refactorfirst/refactorfirst\" target=\"_blank\" title=\"Learn about RefactorFirst\" aria-label=\"RefactorFirst\">RefactorFirst</a> Report for ")
355357
.append(projectName)
356358
.append(" ")
357359
.append(projectVersion)

0 commit comments

Comments
 (0)