Skip to content

Commit

Permalink
Add module descriptor with moditect
Browse files Browse the repository at this point in the history
  • Loading branch information
SentryMan committed Sep 3, 2024
1 parent 7b6f743 commit e6c11eb
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions aws-lambda-java-core/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module aws.lambda.core {

exports com.amazonaws.services.lambda.runtime;
exports com.amazonaws.services.lambda.runtime.logging;
}
25 changes: 25 additions & 0 deletions aws-lambda-java-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,31 @@
</repository>
</distributionManagement>

<build>
<plugins>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
<version>1.0.0.Final</version>
<executions>
<execution>
<id>add-module-infos</id>
<phase>package</phase>
<goals>
<goal>add-module-info</goal>
</goals>
<configuration>
<overwriteExistingFiles>true</overwriteExistingFiles>
<module>
<moduleInfoFile>./module-info.java
</moduleInfoFile>
</module>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>dev</id>
Expand Down

0 comments on commit e6c11eb

Please sign in to comment.