Skip to content

Commit 54ae4fa

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 650181f + cd23acd commit 54ae4fa

427 files changed

Lines changed: 21241 additions & 2427 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/Baeldung.java renamed to apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/CourseRepository.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
@Path("baeldung")
1111
@Produces("text/xml")
12-
public class Baeldung {
12+
public class CourseRepository {
1313
private Map<Integer, Course> courses = new HashMap<>();
1414

1515
{
@@ -69,4 +69,4 @@ private Course findById(int id) {
6969
}
7070
return null;
7171
}
72-
}
72+
}

‎apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/RestfulServer.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
public class RestfulServer {
88
public static void main(String args[]) throws Exception {
99
JAXRSServerFactoryBean factoryBean = new JAXRSServerFactoryBean();
10-
factoryBean.setResourceClasses(Baeldung.class);
11-
factoryBean.setResourceProvider(new SingletonResourceProvider(new Baeldung()));
10+
factoryBean.setResourceClasses(CourseRepository.class);
11+
factoryBean.setResourceProvider(new SingletonResourceProvider(new CourseRepository()));
1212
factoryBean.setAddress("http://localhost:8080/");
1313
Server server = factoryBean.create();
1414

@@ -18,4 +18,4 @@ public static void main(String args[]) throws Exception {
1818
server.destroy();
1919
System.exit(0);
2020
}
21-
}
21+
}

‎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/",

cdi/src/test/java/com/baeldung/test/TestInterceptor.java renamed to cdi/src/test/java/com/baeldung/test/InterceptorIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import com.baeldung.interceptor.AuditedInterceptor;
1111
import com.baeldung.service.SuperService;
1212

13-
public class TestInterceptor {
13+
public class InterceptorIntegrationTest {
1414
Weld weld;
1515
WeldContainer container;
1616

‎cdi/src/test/java/com/baeldung/test/SpringInterceptorIntegrationTest.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,16 @@ public class SpringInterceptorIntegrationTest {
2323
@Autowired
2424
private List<String> accumulator;
2525

26+
//
27+
2628
@Test
2729
public void givenService_whenServiceAndAspectExecuted_thenOk() {
2830
String code = "123456";
2931
String result = springSuperService.getInfoFromService(code);
32+
3033
Assert.assertThat(accumulator.size(), is(2));
3134
Assert.assertThat(accumulator.get(0), is("Call to getInfoFromService"));
3235
Assert.assertThat(accumulator.get(1), is("Method called successfully: getInfoFromService"));
3336
}
37+
3438
}

‎core-java-8/README.md‎

Lines changed: 0 additions & 19 deletions
This file was deleted.

‎core-java-8/pom.xml‎

Lines changed: 0 additions & 142 deletions
This file was deleted.

‎core-java-8/src/main/java/.gitignore‎

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)