Skip to content

Commit 9646773

Browse files
committed
implements core usage from outer jar file
1 parent 1c56258 commit 9646773

File tree

8 files changed

+20
-852
lines changed

8 files changed

+20
-852
lines changed

pom.xml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,25 @@
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.APIprotector</groupId>
12-
<artifactId>apiprotector</artifactId>
12+
<artifactId>apiprotector-web</artifactId>
1313
<version>0.0.1-SNAPSHOT</version>
1414
<name>apiprotector</name>
1515
<description>Demo project for APIprotector</description>
16+
17+
<repositories>
18+
<repository>
19+
<id>central</id>
20+
<url>https://repo1.maven.org/maven2</url>
21+
</repository>
22+
<repository>
23+
<id>github</id>
24+
<url>https://maven.pkg.github.com/apiprotector/API-Protector</url>
25+
<snapshots>
26+
<enabled>true</enabled>
27+
</snapshots>
28+
</repository>
29+
</repositories>
30+
1631
<url/>
1732
<licenses>
1833
<license/>
@@ -42,15 +57,9 @@
4257
</dependency>
4358

4459
<dependency>
45-
<groupId>io.github.java-diff-utils</groupId>
46-
<artifactId>java-diff-utils</artifactId>
47-
<version>4.15</version>
48-
</dependency>
49-
50-
<dependency>
51-
<groupId>org.openapitools.openapidiff</groupId>
52-
<artifactId>openapi-diff-core</artifactId>
53-
<version>2.1.0-beta.12</version>
60+
<groupId>com.apiprotector</groupId>
61+
<artifactId>api-protector-core</artifactId>
62+
<version>1.0.0</version>
5463
</dependency>
5564
</dependencies>
5665

src/main/java/com/APIprotector/apiprotector/controller/DiffController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.APIprotector.apiprotector.controller;
22

3-
import com.APIprotector.apiprotector.library.CompositeDiff;
3+
import com.apiprotector.core.CompositeDiff;
44
import org.springframework.http.MediaType;
55
import org.springframework.web.bind.annotation.PostMapping;
66
import org.springframework.web.bind.annotation.RequestBody;

src/main/java/com/APIprotector/apiprotector/library/CompositeDiff.java

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

0 commit comments

Comments
 (0)