Merge pull request #10173 from eugenp/issue-10116

Issue 10116
This commit is contained in:
Loredana Crusoveanu 2020-10-17 16:25:04 +03:00 committed by GitHub
commit 44265c62c9
3 changed files with 28 additions and 11 deletions

View File

@ -4,11 +4,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<!-- this module should use the Boot parent directly to avoid inherit the logback dependency from our other parents -->
<parent> <parent>
<groupId>com.baeldung.spring-boot-modules</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-modules</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>2.1.1.RELEASE</version>
<relativePath>../</relativePath> <relativePath/> <!-- lookup parent from repository -->
</parent> </parent>
<artifactId>spring-boot-mvc-birt</artifactId> <artifactId>spring-boot-mvc-birt</artifactId>
@ -19,10 +20,6 @@
<description>Module For Spring Boot Integration with BIRT</description> <description>Module For Spring Boot Integration with BIRT</description>
<dependencies> <dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -51,17 +48,14 @@
<artifactId>org.eclipse.birt.runtime_4.8.0-20180626</artifactId> <artifactId>org.eclipse.birt.runtime_4.8.0-20180626</artifactId>
<version>${eclipse.birt.runtime.version}</version> <version>${eclipse.birt.runtime.version}</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/log4j/log4j -->
<dependency> <dependency>
<groupId>log4j</groupId> <groupId>log4j</groupId>
<artifactId>log4j</artifactId> <artifactId>log4j</artifactId>
<version>${log4j.version}</version> <version>${log4j.version}</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
@ -81,6 +75,7 @@
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>
<eclipse.birt.runtime.version>4.8.0</eclipse.birt.runtime.version> <eclipse.birt.runtime.version>4.8.0</eclipse.birt.runtime.version>
<log4j.version>1.2.17</log4j.version>
</properties> </properties>
</project> </project>

View File

@ -0,0 +1,9 @@
# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=DEBUG, A1
# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

View File

@ -0,0 +1,13 @@
package com.baeldung.birt.engine;
import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
public class SpringContextTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
}
}