File tree 3 files changed +43
-0
lines changed
3 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 20
20
<version >2.2.4</version >
21
21
</dependency >
22
22
</dependencies >
23
+
24
+ <build >
25
+ <plugins >
26
+ <plugin >
27
+ <groupId >org.apache.maven.plugins</groupId >
28
+ <artifactId >maven-compiler-plugin</artifactId >
29
+ <version >3.10.1</version >
30
+ </plugin >
31
+ </plugins >
32
+ </build >
23
33
</project >
Original file line number Diff line number Diff line change
1
+ module io .github .cdimascio .examples .dotenv .java {
2
+ requires io .github .cdimascio .dotenv .java ;
3
+ }
Original file line number Diff line number Diff line change 52
52
53
53
<properties >
54
54
<main .class>io.github.cdimascio.dotenv.Dotenv</main .class>
55
+ <module .name>io.github.cdimascio.dotenv.java</module .name>
55
56
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
56
57
57
58
<compile .source>1.8</compile .source>
70
71
<maven .jacoco.plugin>0.8.6</maven .jacoco.plugin>
71
72
<maven .coveralls.plugin>4.3.0</maven .coveralls.plugin>
72
73
<maven .copy.rename.plugin>1.0.1</maven .copy.rename.plugin>
74
+ <maven .moditect.plugin>1.0.0.RC2</maven .moditect.plugin>
73
75
74
76
<bintray .subject>cdimascio</bintray .subject>
75
77
<bintray .repo>maven</bintray .repo>
138
140
</configuration >
139
141
</plugin >
140
142
143
+ <!-- add module-info -->
144
+ <plugin >
145
+ <groupId >org.moditect</groupId >
146
+ <artifactId >moditect-maven-plugin</artifactId >
147
+ <version >${maven.moditect.plugin} </version >
148
+ <executions >
149
+ <execution >
150
+ <id >add-module-info</id >
151
+ <phase >package</phase >
152
+ <goals >
153
+ <goal >add-module-info</goal >
154
+ </goals >
155
+ <configuration >
156
+ <module >
157
+ <moduleInfo >
158
+ <name >${module.name} </name >
159
+ <exports >
160
+ !io.github.cdimascio.dotenv.internal*;
161
+ *;
162
+ </exports >
163
+ </moduleInfo >
164
+ </module >
165
+ <overwriteExistingFiles >true</overwriteExistingFiles >
166
+ </configuration >
167
+ </execution >
168
+ </executions >
169
+ </plugin >
170
+
141
171
<!-- delete the javadoc dir -->
142
172
<plugin >
143
173
<groupId >org.apache.maven.plugins</groupId >
You can’t perform that action at this time.
0 commit comments