No module
This commit is contained in:
parent
8ec31281a7
commit
ded8d1c79f
27
gson/pom.xml
27
gson/pom.xml
|
@ -107,33 +107,6 @@
|
||||||
</archive>
|
</archive>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Add module-info to JAR, see https://github.com/moditect/moditect#adding-module-descriptors-to-existing-jar-files -->
|
|
||||||
<!-- Uses ModiTect instead of separate maven-compiler-plugin executions
|
|
||||||
for better Eclipse IDE support, see https://github.com/eclipse-m2e/m2e-core/issues/393 -->
|
|
||||||
<!-- Note: For some reason this has to be executed before javadoc plugin; otherwise `javadoc:jar` goal fails
|
|
||||||
to find source files -->
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.moditect</groupId>
|
|
||||||
<artifactId>moditect-maven-plugin</artifactId>
|
|
||||||
<version>1.0.0.RC2</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>add-module-info</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>add-module-info</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<jvmVersion>9</jvmVersion>
|
|
||||||
<module>
|
|
||||||
<moduleInfoFile>${project.build.sourceDirectory}/module-info.java</moduleInfoFile>
|
|
||||||
</module>
|
|
||||||
<!-- Overwrite the previously generated JAR file, if any -->
|
|
||||||
<overwriteExistingFiles>true</overwriteExistingFiles>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<!-- Note: Javadoc plugin has to be run in combination with >= `package` phase,
|
<!-- Note: Javadoc plugin has to be run in combination with >= `package` phase,
|
||||||
e.g. `mvn package javadoc:javadoc`, otherwise it fails with
|
e.g. `mvn package javadoc:javadoc`, otherwise it fails with
|
||||||
"Aggregator report contains named and unnamed modules" -->
|
"Aggregator report contains named and unnamed modules" -->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user