Skip to content

Commit b26ac91

Browse files
author
Guilherme Biff Zarelli
committed
fix: poms refactor
1 parent 58e1772 commit b26ac91

File tree

3 files changed

+3
-20
lines changed

3 files changed

+3
-20
lines changed

adapter/output/restclient-http-services/pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,10 @@
2424
<groupId>javax.ws.rs</groupId>
2525
<artifactId>javax.ws.rs-api</artifactId>
2626
</dependency>
27-
<dependency>
28-
<groupId>org.eclipse.microprofile.rest.client</groupId>
29-
<artifactId>microprofile-rest-client-spec</artifactId>
30-
<type>pom</type>
31-
<scope>compile</scope>
32-
</dependency>
3327
<dependency>
3428
<groupId>org.eclipse.microprofile.rest.client</groupId>
3529
<artifactId>microprofile-rest-client-api</artifactId>
30+
<scope>provided</scope>
3631
</dependency>
3732
<dependency>
3833
<groupId>com.fasterxml.jackson.core</groupId>

app/spring-app/pom.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,12 @@
8282
<groupId>org.springframework.boot</groupId>
8383
<artifactId>spring-boot-maven-plugin</artifactId>
8484
<configuration>
85+
<mainClass>br.com.helpdev.SpringSampleApplication</mainClass>
8586
<layers>
8687
<enabled>true</enabled>
8788
<configuration>${project.basedir}/src/layers.xml</configuration>
8889
</layers>
8990
</configuration>
90-
</plugin>
91-
<plugin>
92-
<groupId>org.springframework.boot</groupId>
93-
<artifactId>spring-boot-maven-plugin</artifactId>
94-
<configuration>
95-
<mainClass>br.com.helpdev.SpringSampleApplication</mainClass>
96-
</configuration>
9791

9892
<executions>
9993
<execution>

pom.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
<javax.ws.rs-api.version>2.1.1</javax.ws.rs-api.version>
9696
<jakarta.transaction-api.version>1.3.3</jakarta.transaction-api.version>
9797
<jakarta.persistence-api.version>2.2.3</jakarta.persistence-api.version>
98-
<microprofile-rest-spec.version>2.0</microprofile-rest-spec.version>
9998
<microprofile-rest-api.version>2.0</microprofile-rest-api.version>
10099
<validation-api.version>2.0.1.Final</validation-api.version>
101100
<jaxb-api.version>2.3.1</jaxb-api.version>
@@ -174,12 +173,6 @@
174173
<artifactId>javax.ws.rs-api</artifactId>
175174
<version>${javax.ws.rs-api.version}</version>
176175
</dependency>
177-
<dependency>
178-
<groupId>org.eclipse.microprofile.rest.client</groupId>
179-
<artifactId>microprofile-rest-client-spec</artifactId>
180-
<type>pom</type>
181-
<version>${microprofile-rest-api.version}</version>
182-
</dependency>
183176
<dependency>
184177
<groupId>javax.xml.bind</groupId>
185178
<artifactId>jaxb-api</artifactId>
@@ -189,6 +182,7 @@
189182
<groupId>org.eclipse.microprofile.rest.client</groupId>
190183
<artifactId>microprofile-rest-client-api</artifactId>
191184
<version>${microprofile-rest-api.version}</version>
185+
<scope>provided</scope>
192186
</dependency>
193187
<dependency>
194188
<groupId>org.modelmapper</groupId>

0 commit comments

Comments
 (0)