File tree Expand file tree Collapse file tree 3 files changed +26
-32
lines changed
main/java/com/thealgorithms/stacks
test/java/com/thealgorithms/stacks Expand file tree Collapse file tree 3 files changed +26
-32
lines changed Original file line number Diff line number Diff line change 6767 </configuration >
6868 </plugin >
6969 <plugin >
70- <groupId >org.apache.maven.plugins</groupId >
71- <artifactId >maven-compiler-plugin</artifactId >
72- <version >3.14.1</version >
73- <configuration >
74- <release >21</release >
75- <compilerArgs >
76- <arg >-Xlint:all</arg >
77- <arg >-Xlint:-auxiliaryclass</arg >
78- <arg >-Werror</arg >
79- </compilerArgs >
80- </configuration >
81- </plugin >
82- <plugin >
83- <groupId >org.jacoco</groupId >
84- <artifactId >jacoco-maven-plugin</artifactId >
85- <version >0.8.14</version >
86- <executions >
87- <execution >
88- <goals >
89- <goal >prepare-agent</goal >
90- </goals >
91- </execution >
92- <execution >
93- <id >generate-code-coverage-report</id >
94- <phase >test</phase >
95- <goals >
96- <goal >report</goal >
97- </goals >
98- </execution >
99- </executions >
70+ <groupId >org.apache.maven.plugins</groupId >
71+ <artifactId >maven-compiler-plugin</artifactId >
72+ <version >3.14.1</version >
73+ <configuration >
74+ <release >21</release >
75+ <fork >true</fork >
76+ <executable >${JAVA_HOME} /bin/javac</executable >
77+ <compilerArgs >
78+ <arg >-Xlint:all</arg >
79+ <arg >-Xlint:-auxiliaryclass</arg >
80+ <arg >-Werror</arg >
81+ </compilerArgs >
82+ </configuration >
83+ </plugin >
84+ <plugin >
85+ <groupId >org.apache.maven.plugins</groupId >
86+ <artifactId >maven-compiler-plugin</artifactId >
87+ <version >3.13.0</version >
88+ <configuration >
89+ <release >21</release >
90+ <jdkToolchain >
91+ <version >21</version >
92+ </jdkToolchain >
93+ </configuration >
10094 </plugin >
10195 <plugin >
10296 <groupId >org.apache.maven.plugins</groupId >
Original file line number Diff line number Diff line change 1- package com .thealgorithms .searches ;
1+ package com .thealgorithms .stacks ;
22/**
33 * Trapping Rainwater Problem
44 * Given an array of non-negative integers representing the height of bars,
Original file line number Diff line number Diff line change 1- package com .thealgorithms .searches ;
1+ package com .thealgorithms .stacks ;
22
33import static org .junit .jupiter .api .Assertions .assertEquals ;
44
You can’t perform that action at this time.
0 commit comments