16
16
<maven .compiler.target>24</maven .compiler.target>
17
17
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
18
18
<problem >p140</problem >
19
+ <codeforcesProblem >p71A</codeforcesProblem >
19
20
</properties >
20
21
21
22
<dependencies >
31
32
<version >6.0.0-M1</version >
32
33
<scope >test</scope >
33
34
</dependency >
34
-
35
35
</dependencies >
36
36
37
37
<build >
108
108
</execution >
109
109
</executions >
110
110
</plugin >
111
-
112
111
<plugin >
113
112
<groupId >org.apache.maven.plugins</groupId >
114
113
<artifactId >maven-surefire-plugin</artifactId >
117
116
<testFailureIgnore >true</testFailureIgnore >
118
117
</configuration >
119
118
</plugin >
120
-
121
119
<plugin >
122
120
<groupId >org.codehaus.mojo</groupId >
123
121
<artifactId >exec-maven-plugin</artifactId >
124
122
<version >3.5.1</version >
125
- <configuration >
126
- <executable >bash</executable >
127
- <arguments >
128
- <argument >-c</argument >
129
- <!-- Updated to use $JAVA_HOME/bin/java -->
130
- <argument >"$JAVA_HOME/bin/java" -cp ${project.build.directory} /classes com.lzw.solutions.uva.${problem} .Main < src/main/resources/uva/${problem} /1.in</argument >
131
- </arguments >
132
- </configuration >
123
+ <executions >
124
+ <!-- UVA Execution -->
125
+ <execution >
126
+ <id >run-uva</id >
127
+ <phase >verify</phase >
128
+ <goals >
129
+ <goal >exec</goal >
130
+ </goals >
131
+ <configuration >
132
+ <executable >${java.home} /bin/java</executable >
133
+ <arguments >
134
+ <argument >-cp</argument >
135
+ <argument >${project.build.directory} /classes</argument >
136
+ <argument >com.lzw.solutions.uva.${problem} .Main</argument >
137
+ <argument >< src/main/resources/uva/${problem} /1.in</argument >
138
+ </arguments >
139
+ </configuration >
140
+ </execution >
141
+ <!-- Codeforces Execution -->
142
+ <execution >
143
+ <id >run-codeforces</id >
144
+ <phase >verify</phase >
145
+ <goals >
146
+ <goal >exec</goal >
147
+ </goals >
148
+ <configuration >
149
+ <executable >${java.home} /bin/java</executable >
150
+ <arguments >
151
+ <argument >-cp</argument >
152
+ <argument >${project.build.directory} /classes</argument >
153
+ <argument >com.lzw.solutions.codeforces.${codeforcesProblem} .Main</argument >
154
+ <argument >< src/main/resources/codeforces/${codeforcesProblem} /1.in</argument >
155
+ </arguments >
156
+ </configuration >
157
+ </execution >
158
+ </executions >
133
159
</plugin >
134
-
135
160
</plugins >
136
161
</build >
137
- </project >
162
+ </project >
0 commit comments