Skip to content

Commit fb51d7f

Browse files
authored
Merge pull request #6 from majusko/hotfix/mixed-pom-dependencies
Fixed importing as external library.
2 parents 5564889 + 679e594 commit fb51d7f

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

pom.xml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,37 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
5-
<parent>
6-
<groupId>org.springframework.boot</groupId>
7-
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.2.1.RELEASE</version>
9-
<relativePath/> <!-- lookup parent from repository -->
10-
</parent>
115
<groupId>io.github.majusko</groupId>
126
<artifactId>pulsar-java-spring-boot-starter</artifactId>
13-
<version>0.0.1-SNAPSHOT</version>
7+
<version>0.0.2</version>
148
<name>pulsar-java-spring-boot-starter</name>
159
<description>Pulsar connect for Spring Boot</description>
1610

1711
<properties>
1812
<java.version>1.8</java.version>
13+
<maven.compiler.target>1.8</maven.compiler.target>
14+
<maven.compiler.source>1.8</maven.compiler.source>
15+
<spring.boot.version>2.2.1.RELEASE</spring.boot.version>
16+
<apache.pulsar.client.version>2.4.1</apache.pulsar.client.version>
1917
</properties>
2018

2119
<dependencies>
2220
<dependency>
2321
<groupId>org.springframework.boot</groupId>
2422
<artifactId>spring-boot-starter</artifactId>
23+
<version>${spring.boot.version}</version>
2524
</dependency>
2625

2726
<dependency>
2827
<groupId>org.apache.pulsar</groupId>
2928
<artifactId>pulsar-client</artifactId>
30-
<version>2.4.1</version>
29+
<version>${apache.pulsar.client.version}</version>
3130
</dependency>
3231

3332
<dependency>
3433
<groupId>org.springframework.boot</groupId>
3534
<artifactId>spring-boot-starter-test</artifactId>
35+
<version>${spring.boot.version}</version>
3636
<scope>test</scope>
3737
<exclusions>
3838
<exclusion>
@@ -55,6 +55,15 @@
5555
<plugin>
5656
<groupId>org.springframework.boot</groupId>
5757
<artifactId>spring-boot-maven-plugin</artifactId>
58+
<version>2.1.5.RELEASE</version>
59+
</plugin>
60+
61+
<plugin>
62+
<artifactId>maven-compiler-plugin</artifactId>
63+
<configuration>
64+
<source>${maven.compiler.source}</source>
65+
<target>${maven.compiler.target}</target>
66+
</configuration>
5867
</plugin>
5968

6069
<plugin>

0 commit comments

Comments
 (0)