File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- - jakarta
87 paths-ignore :
98 - ' .gitignore'
109 - ' CODEOWNERS'
@@ -80,12 +79,24 @@ jobs:
8079 - uses : actions/checkout@v4
8180 with :
8281 fetch-depth : 0
82+
8383 - uses : actions/setup-java@v4
8484 with :
85+ distribution : ' temurin'
86+ java-version : 11
87+ cache : ' maven'
88+ cache-dependency-path : ' **/pom.xml'
89+
90+ - name : build with docs and coverage
91+ run : mvn verify -Pcoverage javadoc:javadoc
92+
93+ - uses : actions/setup-java@v4
94+ with :
95+ distribution : ' temurin'
8596 java-version : 17
8697
8798 - name : sonar
8899 env :
89100 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
90101 SONAR_TOKEN : ${{secrets.SONAR_TOKEN}}
91- run : mvn -B verify --file pom.xml -Pcoverage javadoc:javadoc sonar:sonar -Dsonar.projectKey=smallrye_smallrye-jwt -Dsonar.token=$SONAR_TOKEN
102+ run : mvn sonar:sonar -Psonar -Dsonar.token=${{secrets. SONAR_TOKEN}}
Original file line number Diff line number Diff line change 212212 <module >release</module >
213213 </modules >
214214 </profile >
215+ <profile >
216+ <id >sonar</id >
217+ <properties >
218+ <sonar .projectName>SmallRye JWT</sonar .projectName>
219+ <sonar .projectKey>io.smallrye:smallrye-jwt</sonar .projectKey>
220+ <sonar .moduleKey>${project.artifactId} </sonar .moduleKey>
221+ <!-- suppress UnresolvedMavenProperty -->
222+ <sonar .coverage.jacoco.xmlReportPaths>
223+ ${maven.multiModuleProjectDirectory} /coverage/target/site/jacoco-aggregate/jacoco.xml
224+ </sonar .coverage.jacoco.xmlReportPaths>
225+ </properties >
226+ </profile >
215227 </profiles >
216228</project >
Original file line number Diff line number Diff line change 114114 <artifactId >microprofile-jwt-auth-tck</artifactId >
115115 <version >${version.eclipse.microprofile.jwt} </version >
116116 <type >test-jar</type >
117+ <classifier >tests</classifier >
117118 <overWrite >false</overWrite >
119+ <includes >**/*.xml</includes >
118120 <outputDirectory >${project.build.directory} /tck-suite</outputDirectory >
119- <includes >**/tck-base-suite.xml</includes >
120121 </artifactItem >
121122 </artifactItems >
122123 </configuration >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments