Browse Source

Adds explicit module descriptors to a subset of modules (#1943)

Fixes #1357
pull/1946/head
Andres Almiray 2 years ago committed by GitHub
parent
commit
bac0dd4e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      annotation-error-decoder/pom.xml
  2. 4
      core/pom.xml
  3. 9
      dropwizard-metrics4/pom.xml
  4. 9
      dropwizard-metrics5/pom.xml
  5. 9
      googlehttpclient/pom.xml
  6. 9
      gson/pom.xml
  7. 9
      hc5/pom.xml
  8. 9
      httpclient/pom.xml
  9. 1
      jackson-jaxb/pom.xml
  10. 9
      jackson-jr/pom.xml
  11. 9
      jackson/pom.xml
  12. 9
      jakarta/pom.xml
  13. 4
      java11/pom.xml
  14. 9
      jaxb/pom.xml
  15. 4
      jaxrs/pom.xml
  16. 9
      json/pom.xml
  17. 4
      kotlin/pom.xml
  18. 4
      micrometer/pom.xml
  19. 8
      mock/pom.xml
  20. 9
      okhttp/pom.xml
  21. 31
      pom.xml
  22. 8
      reactive/pom.xml
  23. 9
      sax/pom.xml
  24. 9
      slf4j/pom.xml
  25. 8
      spring4/pom.xml

9
annotation-error-decoder/pom.xml

@ -50,4 +50,13 @@ @@ -50,4 +50,13 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

4
core/pom.xml

@ -73,6 +73,10 @@ @@ -73,6 +73,10 @@
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>

9
dropwizard-metrics4/pom.xml

@ -56,4 +56,13 @@ @@ -56,4 +56,13 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

9
dropwizard-metrics5/pom.xml

@ -56,4 +56,13 @@ @@ -56,4 +56,13 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

9
googlehttpclient/pom.xml

@ -55,4 +55,13 @@ @@ -55,4 +55,13 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

9
gson/pom.xml

@ -49,4 +49,13 @@ @@ -49,4 +49,13 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

9
hc5/pom.xml

@ -68,4 +68,13 @@ @@ -68,4 +68,13 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

9
httpclient/pom.xml

@ -75,4 +75,13 @@ @@ -75,4 +75,13 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

1
jackson-jaxb/pom.xml

@ -80,6 +80,7 @@ @@ -80,6 +80,7 @@
<profiles>
<profile>
<id>java11</id>
<activation>
<jdk>11</jdk>
</activation>

9
jackson-jr/pom.xml

@ -55,4 +55,13 @@ @@ -55,4 +55,13 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

9
jackson/pom.xml

@ -50,4 +50,13 @@ @@ -50,4 +50,13 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

9
jakarta/pom.xml

@ -63,4 +63,13 @@ @@ -63,4 +63,13 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

4
java11/pom.xml

@ -68,6 +68,10 @@ @@ -68,6 +68,10 @@
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>

9
jaxb/pom.xml

@ -45,6 +45,15 @@ @@ -45,6 +45,15 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>java11</id>

4
jaxrs/pom.xml

@ -60,6 +60,10 @@ @@ -60,6 +60,10 @@
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>

9
json/pom.xml

@ -63,4 +63,13 @@ @@ -63,4 +63,13 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

4
kotlin/pom.xml

@ -79,6 +79,10 @@ @@ -79,6 +79,10 @@
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>

4
micrometer/pom.xml

@ -72,6 +72,10 @@ @@ -72,6 +72,10 @@
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>

8
mock/pom.xml

@ -49,4 +49,12 @@ @@ -49,4 +49,12 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

9
okhttp/pom.xml

@ -61,4 +61,13 @@ @@ -61,4 +61,13 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

31
pom.xml

@ -111,6 +111,7 @@ @@ -111,6 +111,7 @@
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
<maven-deploy-plugin.version>3.1.0</maven-deploy-plugin.version>
<docker-maven-plugin.version>1.2.2</docker-maven-plugin.version>
<moditect-maven-plugin.version>1.0.0.RC2</moditect-maven-plugin.version>
</properties>
<url>https://github.com/openfeign/feign</url>
<inceptionYear>2012</inceptionYear>
@ -455,6 +456,36 @@ @@ -455,6 +456,36 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
<version>${moditect-maven-plugin.version}</version>
<executions>
<execution>
<id>add-module-infos</id>
<phase>package</phase>
<goals>
<goal>add-module-info</goal>
</goals>
<configuration>
<overwriteExistingFiles>true</overwriteExistingFiles>
<module>
<moduleInfo>
<!-- module name will be derived from filename -->
<!-- export everything -->
<exports>*;</exports>
<!-- declare services consumed by the artifact -->
<addServiceUses>true</addServiceUses>
</moduleInfo>
</module>
<jdepsExtraArgs>
<arg>--multi-release=9</arg>
</jdepsExtraArgs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>

8
reactive/pom.xml

@ -95,4 +95,12 @@ @@ -95,4 +95,12 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

9
sax/pom.xml

@ -44,4 +44,13 @@ @@ -44,4 +44,13 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

9
slf4j/pom.xml

@ -57,4 +57,13 @@ @@ -57,4 +57,13 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

8
spring4/pom.xml

@ -62,4 +62,12 @@ @@ -62,4 +62,12 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

Loading…
Cancel
Save