Skip to content

Commit 0a2829d

Browse files
committed
Flatten module structure
1 parent 827fba8 commit 0a2829d

File tree

111 files changed

+170
-190
lines changed

Some content is hidden

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

111 files changed

+170
-190
lines changed

http-client/gson-adapter/pom.xml renamed to http-client-gson-adapter/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@
1212
<artifactId>avaje-http-client-gson</artifactId>
1313
<version>1.23-SNAPSHOT</version>
1414

15-
<scm>
16-
<developerConnection>scm:git:[email protected]:avaje/avaje-http-client.git</developerConnection>
17-
<tag>HEAD</tag>
18-
</scm>
19-
2015
<dependencies>
2116

2217
<dependency>

http-client/client/pom.xml

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

http-client/pom.xml

Lines changed: 144 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,154 @@
44
<parent>
55
<groupId>org.avaje</groupId>
66
<artifactId>java11-oss</artifactId>
7-
<version>3.8</version>
7+
<version>3.9</version>
8+
<relativePath />
89
</parent>
910

1011
<groupId>io.avaje</groupId>
11-
<artifactId>avaje-http-client-parent</artifactId>
12-
<version>1</version>
13-
<packaging>pom</packaging>
12+
<artifactId>avaje-http-client</artifactId>
13+
<version>1.23-SNAPSHOT</version>
1414

15-
<!-- reactor only, not really a parent pom -->
15+
<scm>
16+
<developerConnection>scm:git:[email protected]:avaje/avaje-http-client.git</developerConnection>
17+
<tag>HEAD</tag>
18+
</scm>
1619

17-
<modules>
18-
<module>client</module>
19-
<module>gson-adapter</module>
20-
<module>test</module>
21-
</modules>
20+
<properties>
21+
<surefire.useModulePath>false</surefire.useModulePath>
22+
</properties>
2223

23-
</project>
24+
<dependencies>
25+
26+
<dependency>
27+
<groupId>io.avaje</groupId>
28+
<artifactId>avaje-applog</artifactId>
29+
<version>1.0</version>
30+
</dependency>
31+
32+
<dependency>
33+
<groupId>com.fasterxml.jackson.core</groupId>
34+
<artifactId>jackson-databind</artifactId>
35+
<version>2.14.1</version>
36+
<optional>true</optional>
37+
</dependency>
38+
39+
<dependency>
40+
<groupId>io.avaje</groupId>
41+
<artifactId>avaje-jsonb</artifactId>
42+
<version>1.1-RC3</version>
43+
<optional>true</optional>
44+
</dependency>
45+
46+
<dependency>
47+
<groupId>io.avaje</groupId>
48+
<artifactId>avaje-inject</artifactId>
49+
<version>8.10</version>
50+
<optional>true</optional>
51+
</dependency>
52+
53+
<!-- test dependencies -->
54+
55+
<!-- <dependency>-->
56+
<!-- <groupId>io.avaje</groupId>-->
57+
<!-- <artifactId>avaje-slf4j-jpl</artifactId>-->
58+
<!-- <version>1.1</version>-->
59+
<!-- <scope>test</scope>-->
60+
<!-- </dependency>-->
61+
62+
<dependency>
63+
<groupId>io.avaje</groupId>
64+
<artifactId>avaje-applog-slf4j</artifactId>
65+
<version>1.0</version>
66+
<scope>test</scope>
67+
</dependency>
68+
69+
<dependency>
70+
<groupId>io.avaje</groupId>
71+
<artifactId>junit</artifactId>
72+
<version>1.1</version>
73+
<scope>test</scope>
74+
</dependency>
75+
76+
<dependency>
77+
<groupId>io.javalin</groupId>
78+
<artifactId>javalin</artifactId>
79+
<version>5.2.0</version>
80+
<scope>test</scope>
81+
</dependency>
2482

83+
<dependency>
84+
<groupId>io.avaje</groupId>
85+
<artifactId>avaje-http-api</artifactId>
86+
<version>1.20</version>
87+
<scope>test</scope>
88+
</dependency>
89+
90+
<dependency>
91+
<groupId>io.avaje</groupId>
92+
<artifactId>avaje-http-hibernate-validator</artifactId>
93+
<version>2.8</version>
94+
<scope>test</scope>
95+
</dependency>
96+
97+
<dependency>
98+
<groupId>org.avaje.composite</groupId>
99+
<artifactId>logback</artifactId>
100+
<version>1.1</version>
101+
<scope>test</scope>
102+
</dependency>
103+
104+
<!-- test annotation processors -->
105+
<!-- <dependency>-->
106+
<!-- <groupId>io.avaje</groupId>-->
107+
<!-- <artifactId>avaje-inject-generator</artifactId>-->
108+
<!-- <version>8.6</version>-->
109+
<!-- <scope>test</scope>-->
110+
<!-- </dependency>-->
111+
112+
</dependencies>
113+
114+
<build>
115+
<plugins>
116+
<plugin>
117+
<groupId>org.apache.maven.plugins</groupId>
118+
<artifactId>maven-compiler-plugin</artifactId>
119+
<version>3.10.1</version>
120+
<executions>
121+
<execution>
122+
<id>default-testCompile</id>
123+
<configuration>
124+
<annotationProcessorPaths>
125+
<path>
126+
<groupId>io.avaje</groupId>
127+
<artifactId>avaje-inject-generator</artifactId>
128+
<version>8.10</version>
129+
</path>
130+
</annotationProcessorPaths>
131+
</configuration>
132+
</execution>
133+
</executions>
134+
</plugin>
135+
136+
137+
<plugin>
138+
<artifactId>maven-surefire-plugin</artifactId>
139+
<version>3.0.0-M6</version>
140+
<!-- <configuration>-->
141+
<!-- <argLine>-->
142+
<!-- &#45;&#45;add-modules com.fasterxml.jackson.databind-->
143+
<!-- &#45;&#45;add-modules io.avaje.jsonb-->
144+
<!-- &#45;&#45;add-opens io.avaje.http.client/io.avaje.http.client=ALL-UNNAMED-->
145+
<!-- &#45;&#45;add-opens io.avaje.http.client/org.example.webserver=ALL-UNNAMED-->
146+
<!-- &#45;&#45;add-opens io.avaje.http.client/org.example.github=ALL-UNNAMED-->
147+
<!-- &#45;&#45;add-opens io.avaje.http.client/org.example.webserver=com.fasterxml.jackson.databind-->
148+
<!-- &#45;&#45;add-opens io.avaje.http.client/org.example.github=com.fasterxml.jackson.databind-->
149+
<!-- &#45;&#45;add-opens io.avaje.http.client/org.example.github=io.avaje.jsonb-->
150+
<!-- &#45;&#45;add-opens io.avaje.http.client/org.example.github=io.avaje.inject-->
151+
<!-- </argLine>-->
152+
<!-- </configuration>-->
153+
</plugin>
154+
155+
</plugins>
156+
</build>
157+
</project>

http-client/client/src/main/java/io/avaje/http/client/HttpClientRequest.java renamed to http-client/src/main/java/io/avaje/http/client/HttpClientRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public interface HttpClientRequest {
145145
* <pre>{code
146146
*
147147
* HttpResponse<String> res = clientContext.request()
148-
* .url("http://127.0.0.1:8887")
148+
* .url("http://127.0.0.1:8889")
149149
* .path("hello")
150150
* .GET()
151151
* .asString();

http-client/client/src/test/java/io/avaje/http/client/BaseWebTest.java renamed to http-client/src/test/java/io/avaje/http/client/BaseWebTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ public class BaseWebTest {
1616

1717
@BeforeAll
1818
public static void init() {
19-
webServer = App.start(8887);
20-
baseUrl = "http://localhost:8887";
19+
webServer = App.start(8889);
20+
baseUrl = "http://localhost:8889";
2121
}
2222

2323
@AfterAll

0 commit comments

Comments
 (0)