Skip to content

Commit fe67d04

Browse files
committed
Add Automatic-Module-Names to Guice and all of the extensions
#1085 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=184283324
1 parent acf00e5 commit fe67d04

File tree

16 files changed

+193
-0
lines changed

16 files changed

+193
-0
lines changed

core/pom.xml

+5
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@
131131
<exclude>LICENSE</exclude>
132132
<exclude>NOTICE</exclude>
133133
</excludes>
134+
<archive>
135+
<manifestEntries>
136+
<Automatic-Module-Name>com.google.guice</Automatic-Module-Name>
137+
</manifestEntries>
138+
</archive>
134139
</configuration>
135140
</plugin>
136141
<!--

extensions/assistedinject/pom.xml

+15
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,19 @@
1313

1414
<name>Google Guice - Extensions - AssistedInject</name>
1515

16+
<build>
17+
<plugins>
18+
<plugin>
19+
<artifactId>maven-jar-plugin</artifactId>
20+
<configuration>
21+
<archive>
22+
<manifestEntries>
23+
<Automatic-Module-Name>com.google.guice.extensions.assistedinject</Automatic-Module-Name>
24+
</manifestEntries>
25+
</archive>
26+
</configuration>
27+
</plugin>
28+
</plugins>
29+
</build>
30+
1631
</project>

extensions/dagger-adapter/pom.xml

+14
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,18 @@
1616
<version>2.4</version>
1717
</dependency>
1818
</dependencies>
19+
<build>
20+
<plugins>
21+
<plugin>
22+
<artifactId>maven-jar-plugin</artifactId>
23+
<configuration>
24+
<archive>
25+
<manifestEntries>
26+
<Automatic-Module-Name>com.google.guice.extensions.daggeradapter</Automatic-Module-Name>
27+
</manifestEntries>
28+
</archive>
29+
</configuration>
30+
</plugin>
31+
</plugins>
32+
</build>
1933
</project>

extensions/grapher/pom.xml

+14
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,18 @@
2727
</dependency>
2828
</dependencies>
2929

30+
<build>
31+
<plugins>
32+
<plugin>
33+
<artifactId>maven-jar-plugin</artifactId>
34+
<configuration>
35+
<archive>
36+
<manifestEntries>
37+
<Automatic-Module-Name>com.google.guice.extensions.grapher</Automatic-Module-Name>
38+
</manifestEntries>
39+
</archive>
40+
</configuration>
41+
</plugin>
42+
</plugins>
43+
</build>
3044
</project>

extensions/jmx/pom.xml

+11
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@
2121
<skip>true</skip> <!-- Test is not actually a unit test. -->
2222
</configuration>
2323
</plugin>
24+
25+
<plugin>
26+
<artifactId>maven-jar-plugin</artifactId>
27+
<configuration>
28+
<archive>
29+
<manifestEntries>
30+
<Automatic-Module-Name>com.google.guice.extensions.jmx</Automatic-Module-Name>
31+
</manifestEntries>
32+
</archive>
33+
</configuration>
34+
</plugin>
2435
</plugins>
2536
</build>
2637
</project>

extensions/jndi/pom.xml

+14
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,18 @@
1313

1414
<name>Google Guice - Extensions - JNDI</name>
1515

16+
<build>
17+
<plugins>
18+
<plugin>
19+
<artifactId>maven-jar-plugin</artifactId>
20+
<configuration>
21+
<archive>
22+
<manifestEntries>
23+
<Automatic-Module-Name>com.google.guice.extensions.jndi</Automatic-Module-Name>
24+
</manifestEntries>
25+
</archive>
26+
</configuration>
27+
</plugin>
28+
</plugins>
29+
</build>
1630
</project>

extensions/mini/pom.xml

+14
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,18 @@
1313

1414
<name>Google Guice - Extensions - Mini</name>
1515

16+
<build>
17+
<plugins>
18+
<plugin>
19+
<artifactId>maven-jar-plugin</artifactId>
20+
<configuration>
21+
<archive>
22+
<manifestEntries>
23+
<Automatic-Module-Name>com.google.guice.extensions.mini</Automatic-Module-Name>
24+
</manifestEntries>
25+
</archive>
26+
</configuration>
27+
</plugin>
28+
</plugins>
29+
</build>
1630
</project>

extensions/multibindings/pom.xml

+14
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,18 @@
1313

1414
<name>Google Guice - Extensions - MultiBindings</name>
1515

16+
<build>
17+
<plugins>
18+
<plugin>
19+
<artifactId>maven-jar-plugin</artifactId>
20+
<configuration>
21+
<archive>
22+
<manifestEntries>
23+
<Automatic-Module-Name>com.google.guice.extensions.multibindings</Automatic-Module-Name>
24+
</manifestEntries>
25+
</archive>
26+
</configuration>
27+
</plugin>
28+
</plugins>
29+
</build>
1630
</project>

extensions/persist/pom.xml

+15
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,19 @@
6363
<scope>test</scope>
6464
</dependency>
6565
</dependencies>
66+
67+
<build>
68+
<plugins>
69+
<plugin>
70+
<artifactId>maven-jar-plugin</artifactId>
71+
<configuration>
72+
<archive>
73+
<manifestEntries>
74+
<Automatic-Module-Name>com.google.guice.extensions.persist</Automatic-Module-Name>
75+
</manifestEntries>
76+
</archive>
77+
</configuration>
78+
</plugin>
79+
</plugins>
80+
</build>
6681
</project>

extensions/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<module>grapher</module>
2323
<module>jmx</module>
2424
<module>jndi</module>
25+
<module>multibindings</module>
2526
<module>persist</module>
2627
<module>servlet</module>
2728
<module>spring</module>

extensions/service/pom.xml

+14
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,18 @@
1313

1414
<name>Google Guice - Extensions - Service</name>
1515

16+
<build>
17+
<plugins>
18+
<plugin>
19+
<artifactId>maven-jar-plugin</artifactId>
20+
<configuration>
21+
<archive>
22+
<manifestEntries>
23+
<Automatic-Module-Name>com.google.guice.extensions.service</Automatic-Module-Name>
24+
</manifestEntries>
25+
</archive>
26+
</configuration>
27+
</plugin>
28+
</plugins>
29+
</build>
1630
</project>

extensions/servlet/pom.xml

+14
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,18 @@
2828
</dependency>
2929
</dependencies>
3030

31+
<build>
32+
<plugins>
33+
<plugin>
34+
<artifactId>maven-jar-plugin</artifactId>
35+
<configuration>
36+
<archive>
37+
<manifestEntries>
38+
<Automatic-Module-Name>com.google.guice.extensions.servlet</Automatic-Module-Name>
39+
</manifestEntries>
40+
</archive>
41+
</configuration>
42+
</plugin>
43+
</plugins>
44+
</build>
3145
</project>

extensions/spring/pom.xml

+14
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,18 @@
2222
</dependency>
2323
</dependencies>
2424

25+
<build>
26+
<plugins>
27+
<plugin>
28+
<artifactId>maven-jar-plugin</artifactId>
29+
<configuration>
30+
<archive>
31+
<manifestEntries>
32+
<Automatic-Module-Name>com.google.guice.extensions.spring</Automatic-Module-Name>
33+
</manifestEntries>
34+
</archive>
35+
</configuration>
36+
</plugin>
37+
</plugins>
38+
</build>
2539
</project>

extensions/struts2/pom.xml

+14
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,18 @@
3333
</dependency>
3434
</dependencies>
3535

36+
<build>
37+
<plugins>
38+
<plugin>
39+
<artifactId>maven-jar-plugin</artifactId>
40+
<configuration>
41+
<archive>
42+
<manifestEntries>
43+
<Automatic-Module-Name>com.google.guice.extensions.struts2</Automatic-Module-Name>
44+
</manifestEntries>
45+
</archive>
46+
</configuration>
47+
</plugin>
48+
</plugins>
49+
</build>
3650
</project>

extensions/testlib/pom.xml

+10
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@
2323
</excludes>
2424
</configuration>
2525
</plugin>
26+
<plugin>
27+
<artifactId>maven-jar-plugin</artifactId>
28+
<configuration>
29+
<archive>
30+
<manifestEntries>
31+
<Automatic-Module-Name>com.google.guice.extensions.testlib</Automatic-Module-Name>
32+
</manifestEntries>
33+
</archive>
34+
</configuration>
35+
</plugin>
2636
</plugins>
2737
</build>
2838

extensions/throwingproviders/pom.xml

+10
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@
2323
</excludes>
2424
</configuration>
2525
</plugin>
26+
<plugin>
27+
<artifactId>maven-jar-plugin</artifactId>
28+
<configuration>
29+
<archive>
30+
<manifestEntries>
31+
<Automatic-Module-Name>com.google.guice.extensions.throwingproviders</Automatic-Module-Name>
32+
</manifestEntries>
33+
</archive>
34+
</configuration>
35+
</plugin>
2636
</plugins>
2737
</build>
2838

0 commit comments

Comments
 (0)