Skip to content

Commit

Permalink
update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Jun 19, 2024
1 parent be2698a commit dfda5af
Showing 1 changed file with 38 additions and 35 deletions.
73 changes: 38 additions & 35 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://www.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.lucee</groupId>
<artifactId>kinesis-extension</artifactId>
Expand All @@ -16,39 +16,42 @@
<artifactId>kinesis-extension</artifactId>
<bundlename>kinesis-extension</bundlename>
<bundleversion>1.0.0.79</bundleversion>

</properties>

<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<!-- GPG sign -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<!-- GPG sign -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<gpg.executable>gpg2</gpg.executable>
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
</properties>
</profile>
</profiles>

<build>
<plugins>
Expand Down Expand Up @@ -106,7 +109,7 @@
</executions>
</plugin>

<!-- Maven Deploy Plugin to deploy the .lex file
<!-- Maven Deploy Plugin to deploy the .lex file -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
Expand All @@ -123,13 +126,13 @@
<groupId>${groupId}</groupId>
<artifactId>${bundlename}</artifactId>
<version>${bundleversion}</version>
<repositoryId>your-repo-id</repositoryId>
<repositoryId>ossrh</repositoryId>
<url>https://your.repository.url/repo-path</url>
<packaging>lex</packaging>
</configuration>
</execution>
</executions>
</plugin> -->
</plugin>
</plugins>
</build>
</project>

0 comments on commit dfda5af

Please sign in to comment.