Skip to content

Commit 9051c1e

Browse files
committed
Refactor move annotations from core into dinject-annotations
1 parent 644dd9e commit 9051c1e

File tree

8 files changed

+18
-4
lines changed

8 files changed

+18
-4
lines changed

core/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414

1515
<dependencies>
1616

17+
<dependency>
18+
<groupId>io.dinject</groupId>
19+
<artifactId>dinject-annotations</artifactId>
20+
<version>${project.version}</version>
21+
</dependency>
22+
1723
<dependency>
1824
<groupId>javax.inject</groupId>
1925
<artifactId>javax.inject</artifactId>

generator/pom.xml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45

56
<groupId>io.dinject</groupId>
@@ -14,18 +15,25 @@
1415

1516
<dependencies>
1617

18+
<dependency>
19+
<groupId>io.dinject</groupId>
20+
<artifactId>dinject-annotations</artifactId>
21+
<version>${project.version}</version>
22+
</dependency>
23+
1724
<dependency>
1825
<groupId>javax.inject</groupId>
1926
<artifactId>javax.inject</artifactId>
2027
<version>1</version>
2128
</dependency>
2229

2330
<dependency>
24-
<groupId>io.dinject</groupId>
25-
<artifactId>dinject</artifactId>
26-
<version>1.17</version>
31+
<groupId>javax.annotation</groupId>
32+
<artifactId>javax.annotation-api</artifactId>
33+
<version>1.3.2</version>
2734
</dependency>
2835

36+
<!-- test dependencies -->
2937
<dependency>
3038
<groupId>org.avaje.composite</groupId>
3139
<artifactId>junit</artifactId>

0 commit comments

Comments
 (0)