diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a271c59..88dd835 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: - name: Set up JDK 11 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 17 - name: Cache SonarCloud packages uses: actions/cache@v1 with: @@ -29,7 +29,7 @@ jobs: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - - name: Build and analyze - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=testn2 \ No newline at end of file + # - name: Build and analyze + # env: + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + # run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=ross-bragg-sonarsource_java-test diff --git a/pom.xml b/pom.xml index bca2e3e..4ed21b1 100644 --- a/pom.xml +++ b/pom.xml @@ -9,10 +9,10 @@ 1.0-SNAPSHOT - 11 - 11 - nawarorga - https://sonarcloud.io + 17 + 17 + ross-test-org + https://dev13.sc-dev13.io diff --git a/src/main/java/Main3.java b/src/main/java/Main3.java index d203560..cc1ab67 100644 --- a/src/main/java/Main3.java +++ b/src/main/java/Main3.java @@ -24,6 +24,9 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + public class Main3 { public static void main(String [] args) throws IOException, InterruptedException, GeneralSecurityException, ClassNotFoundException {