Skip to content

Commit

Permalink
build: Bit of module cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jagodevreede committed Aug 28, 2023
1 parent 799d1c0 commit 6291534
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ out/
*.class
*.jar
*.versionsBackup
*.log
*.log
*.iml
JRELEASER_VERSION
1 change: 0 additions & 1 deletion JRELEASER_VERSION

This file was deleted.

2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
<module>semver-check-core</module>
<module>semver-check-maven-plugin</module>
<module>sample</module>
<module>semver-check-maven-plugin-example</module>
<module>semver-check-maven-plugin-multi-module-example</module>
</modules>

<distributionManagement>
Expand Down
8 changes: 8 additions & 0 deletions semver-check-maven-plugin-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@
</plugins>
</pluginManagement>
<plugins>
<!-- Don't deploy this module as it is only used in unit tests, based on file location -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>semver-check-maven-plugin</artifactId>
<groupId>io.github.jagodevreede</groupId>
Expand Down
8 changes: 8 additions & 0 deletions semver-check-maven-plugin-multi-module-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@
</plugins>
</pluginManagement>
<plugins>
<!-- Don't deploy this module as it is only used in unit tests, based on file location -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>semver-check-maven-plugin</artifactId>
<groupId>io.github.jagodevreede</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@
<version>0.2.1-SNAPSHOT</version>
</parent>

<build>
<plugins>
<!-- Don't deploy this module as it is only used in unit tests, based on file location -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down

0 comments on commit 6291534

Please sign in to comment.