Skip to content

Commit

Permalink
java version 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
reeshika-h committed Apr 29, 2024
1 parent 0022631 commit 0b31866
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,5 @@ jobs:
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

# - name: Build Java project
# run: mvn -B package --file pom.xml


- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
with:
java-version: 1.8
- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn -B package --file pom.xml
10 changes: 4 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@
</parent>

<properties>
<java.version>8</java.version>
<java.version>1.8</java.version>
<spring-boot.version>3.2.0</spring-boot.version>
<json-smart.version>5.2.2</json-smart.version>
<contentstack.version>1.13.0</contentstack.version>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>

<dependencies>
Expand Down Expand Up @@ -68,10 +66,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<version>3.13.0</version>
<configuration>
<source>8</source>
<target>8</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 0b31866

Please sign in to comment.