File tree Expand file tree Collapse file tree
src/test/java/org/baeldung/java Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9797 <version >8.0.2</version >
9898 </dependency >
9999
100+ <dependency >
101+ <groupId >org.dbdoclet</groupId >
102+ <artifactId >herold</artifactId >
103+ <version >6.1.0</version >
104+ <scope >system</scope >
105+ <systemPath >${basedir} /src/test/resources/jars/herold.jar</systemPath >
106+ </dependency >
107+
100108 <dependency >
101109 <groupId >net.sf.jtidy</groupId >
102110 <artifactId >jtidy</artifactId >
132140 <version >${maven-surefire-plugin.version} </version >
133141 <configuration >
134142 <excludes >
135- <exclude >**/*IntegrationTest.java</exclude >
143+ <exclude >**/*IntegrationTest.java</exclude >
144+ <exclude >**/*LiveTest.java</exclude >
136145 </excludes >
137146 </configuration >
138147 </plugin >
141150
142151 </build >
143152
153+ <profiles >
154+ <profile >
155+ <id >integration</id >
156+ <build >
157+ <plugins >
158+ <plugin >
159+ <groupId >org.apache.maven.plugins</groupId >
160+ <artifactId >maven-surefire-plugin</artifactId >
161+ <executions >
162+ <execution >
163+ <phase >integration-test</phase >
164+ <goals >
165+ <goal >test</goal >
166+ </goals >
167+ <configuration >
168+ <excludes >
169+ <exclude >**/*ManualTest.java</exclude >
170+ </excludes >
171+ <includes >
172+ <include >**/*IntegrationTest.java</include >
173+ <exclude >**/*LiveTest.java</exclude >
174+ </includes >
175+ </configuration >
176+ </execution >
177+ </executions >
178+ <configuration >
179+ <systemPropertyVariables >
180+ <test .mime>json</test .mime>
181+ </systemPropertyVariables >
182+ </configuration >
183+ </plugin >
184+ </plugins >
185+ </build >
186+ </profile >
187+ </profiles >
188+
144189 <properties >
145190 <!-- persistence -->
146191 <hibernate .version>4.3.11.Final</hibernate .version>
Original file line number Diff line number Diff line change 2525import org .w3c .dom .Document ;
2626import org .w3c .tidy .Tidy ;
2727
28- public class ApacheFOPConvertHTMLTest {
28+ public class ApacheFOPConvertHTMLIntegrationTest {
2929 private String inputFile = "src/test/resources/input.html" ;
3030 private String style = "src/test/resources/xhtml2fo.xsl" ;
3131 private String style1 = "src/test/resources/docbook-xsl/fo/docbook.xsl" ;
Original file line number Diff line number Diff line change 3030import org .junit .Test ;
3131import org .w3c .dom .Document ;
3232
33- public class ApacheFOPHeroldTest {
33+ public class ApacheFOPHeroldLiveTest {
3434 private String [] inputUrls = {// @formatter:off
3535 "http://www.baeldung.com/2011/10/20/bootstraping-a-web-application-with-spring-3-1-and-java-based-configuration-part-1/" ,
3636 "http://www.baeldung.com/2011/10/25/building-a-restful-web-service-with-spring-3-1-and-java-based-configuration-part-2/" ,
You can’t perform that action at this time.
0 commit comments