Skip to content

Commit f698435

Browse files
author
Manuel Perez Belmonte
committed
Added cobertura plugin, 50% test coverage
1 parent 0871081 commit f698435

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

pom.xml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
<configuration>
158158
<argLine>-Xmx1024m</argLine>
159159
<environmentVariables>
160-
<HIBERNATEURL>jdbc:postgresql://postgres/ece</HIBERNATEURL>
160+
<HIBERNATEURL>jdbc:postgresql://160.85.4.164:5432/ece</HIBERNATEURL>
161161
<HIBERNATEUSERNAME>elastest</HIBERNATEUSERNAME>
162162
<HIBERNATEPASSWORD>elastestpassword</HIBERNATEPASSWORD>
163163
<!--<HIBERNATEURL>jdbc:postgresql://localhost/ece2</HIBERNATEURL>-->
@@ -168,37 +168,37 @@
168168
</environmentVariables>
169169
</configuration>
170170
</plugin>
171-
<!--<plugin>-->
172-
<!--<groupId>org.codehaus.mojo</groupId>-->
173-
<!--<artifactId>cobertura-maven-plugin</artifactId>-->
174-
<!--<version>2.7</version>-->
175-
<!--<executions>-->
176-
<!--<execution>-->
177-
<!--<phase>test</phase>-->
178-
<!--<goals>-->
179-
<!--<goal>cobertura</goal>-->
180-
<!--</goals>-->
181-
<!--</execution>-->
182-
<!--</executions>-->
183-
<!--</plugin>-->
171+
<plugin>
172+
<groupId>org.codehaus.mojo</groupId>
173+
<artifactId>cobertura-maven-plugin</artifactId>
174+
<version>2.7</version>
175+
<executions>
176+
<execution>
177+
<phase>test</phase>
178+
<goals>
179+
<goal>cobertura</goal>
180+
</goals>
181+
</execution>
182+
</executions>
183+
</plugin>
184184
</plugins>
185185
</build>
186186

187-
<!--<reporting>-->
188-
<!--<plugins>-->
189-
<!--<plugin>-->
190-
<!--<groupId>org.codehaus.mojo</groupId>-->
191-
<!--<artifactId>cobertura-maven-plugin</artifactId>-->
192-
<!--<version>2.7</version>-->
193-
<!--<configuration>-->
194-
<!--<check></check>-->
195-
<!--<formats>-->
196-
<!--<format>html</format>-->
197-
<!--<format>xml</format>-->
198-
<!--</formats>-->
199-
<!--</configuration>-->
200-
<!--</plugin>-->
201-
<!--</plugins>-->
202-
<!--</reporting>-->
187+
<reporting>
188+
<plugins>
189+
<plugin>
190+
<groupId>org.codehaus.mojo</groupId>
191+
<artifactId>cobertura-maven-plugin</artifactId>
192+
<version>2.7</version>
193+
<configuration>
194+
<check></check>
195+
<formats>
196+
<format>html</format>
197+
<format>xml</format>
198+
</formats>
199+
</configuration>
200+
</plugin>
201+
</plugins>
202+
</reporting>
203203

204204
</project>

0 commit comments

Comments
 (0)