Skip to content

Commit

Permalink
Merge pull request #773 from liquibase/DAT-17352
Browse files Browse the repository at this point in the history
[DAT-17352] Bring configuration from parent pom
  • Loading branch information
vitaliimak authored Apr 3, 2024
2 parents 37672e0 + 16ac611 commit 24cb8d2
Showing 1 changed file with 28 additions and 21 deletions.
49 changes: 28 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
<maven.enforcer.requireJavaVersion>${maven.compiler.source}</maven.enforcer.requireJavaVersion>
<liquibase-core.version>[4.26.0,)</liquibase-core.version>
<!-- `[X,)` syntax means open-ended version range, version X or higher -->
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
<gmavenplus-plugin.version>3.0.2</gmavenplus-plugin.version>
</properties>
<organization>
<name>Liquibase.org</name>
Expand Down Expand Up @@ -281,28 +283,27 @@
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
<version>3.0.2</version>
<version>${gmavenplus-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>addSources</goal>
<goal>addTestSources</goal>
<goal>compile</goal>
<goal>compileTests</goal>
<goal>removeStubs</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
Expand Down Expand Up @@ -381,35 +382,41 @@
<profiles>
<profile>
<!-- Required for deployment to Sonatype -->
<id>release-sign-artifacts</id>
<id>release</id>
<activation>
<property>
<name>performRelease</name>
<name>env.CI</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.2</version>
<configuration>
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
<gpgArguments>
<!-- This is necessary for gpg to not try to use the pinentry programs -->
<arg>--batch</arg>
<arg>--no-tty</arg>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
<version>${gmavenplus-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
<goal>addSources</goal>
<goal>addTestSources</goal>
<goal>compile</goal>
<goal>compileTests</goal>
<goal>removeStubs</goal>
<goal>removeTestStubs</goal>
</goals>
</execution>
</executions>
Expand Down

0 comments on commit 24cb8d2

Please sign in to comment.