Skip to content

Commit

Permalink
MODCONF-110: Don't generate ModuleName.java for mod-configuration-client
Browse files Browse the repository at this point in the history
mod-configuration-client is a software library, therefore it should not ship with a ModuleName.java.

The module that uses mod-configuration-client as a dependency needs to create an own ModuleName.java with its own name.

(cherry picked from commit 13748ee)
  • Loading branch information
julianladisch committed Jun 8, 2022
1 parent 45641dc commit 69cc756
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions mod-configuration-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,26 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>delete_modulename</id>
<phase>generate-sources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<delete dir="${project.build.directory}/generated-sources/modulename" />
</target>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>

Expand Down

0 comments on commit 69cc756

Please sign in to comment.