Skip to content

Commit bc9d63d

Browse files
committed
Add module info
1 parent ef5bb4e commit bc9d63d

1 file changed

Lines changed: 51 additions & 1 deletion

File tree

pom.xml

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
</issueManagement>
3030

3131
<dependencies>
32+
<dependency><!-- Gives us @NotNull and @Nullable -->
33+
<groupId>org.jetbrains</groupId>
34+
<artifactId>annotations</artifactId>
35+
<version>23.1.0</version>
36+
<scope>provided</scope>
37+
</dependency>
38+
3239
<dependency>
3340
<groupId>org.eclipse.angus</groupId>
3441
<artifactId>angus-activation</artifactId>
@@ -37,7 +44,7 @@
3744
<dependency>
3845
<groupId>org.projectlombok</groupId>
3946
<artifactId>lombok</artifactId>
40-
<version>1.18.2</version>
47+
<version>1.18.32</version>
4148
<scope>provided</scope>
4249
</dependency>
4350

@@ -55,4 +62,47 @@
5562
<scope>test</scope>
5663
</dependency>
5764
</dependencies>
65+
66+
<build>
67+
<plugins>
68+
<plugin>
69+
<groupId>org.moditect</groupId>
70+
<artifactId>moditect-maven-plugin</artifactId>
71+
<version>1.0.0.Final</version>
72+
<executions>
73+
<execution>
74+
<id>add-module-infos</id>
75+
<goals>
76+
<goal>add-module-info</goal>
77+
</goals>
78+
<phase>package</phase>
79+
<configuration>
80+
<jvmVersion>9</jvmVersion>
81+
<module>
82+
<moduleInfo>
83+
<name>org.bbottema.javareflection</name>
84+
<requires>
85+
static org.jetbrains.annotations;
86+
static com.github.spotbugs.annotations;
87+
static lombok;
88+
jakarta.activation;
89+
slf4j.api;
90+
</requires>
91+
<exports>
92+
org.bbottema.javareflection;
93+
org.bbottema.javareflection.model;
94+
org.bbottema.javareflection.util;
95+
org.bbottema.javareflection.util.commonslang25;
96+
org.bbottema.javareflection.util.graph;
97+
org.bbottema.javareflection.valueconverter;
98+
</exports>
99+
</moduleInfo>
100+
</module>
101+
<overwriteExistingFiles>true</overwriteExistingFiles>
102+
</configuration>
103+
</execution>
104+
</executions>
105+
</plugin>
106+
</plugins>
107+
</build>
58108
</project>

0 commit comments

Comments
 (0)