Skip to content

Commit 2529414

Browse files
committed
cleanup
1 parent 20873aa commit 2529414

3 files changed

Lines changed: 48 additions & 3 deletions

File tree

‎apache-fop/pom.xml‎

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@
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>
@@ -132,7 +140,8 @@
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>
@@ -141,6 +150,42 @@
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>

apache-fop/src/test/java/org/baeldung/java/ApacheFOPConvertHTMLTest.java renamed to apache-fop/src/test/java/org/baeldung/java/ApacheFOPConvertHTMLIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import org.w3c.dom.Document;
2626
import 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";

apache-fop/src/test/java/org/baeldung/java/ApacheFOPHeroldTest.java renamed to apache-fop/src/test/java/org/baeldung/java/ApacheFOPHeroldLiveTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import org.junit.Test;
3131
import 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/",

0 commit comments

Comments
 (0)