Skip to content

Commit

Permalink
Revert patches introduced for build tasks (#128)
Browse files Browse the repository at this point in the history
Signed-off-by: “Nithin <[email protected]>
Co-authored-by: “Nithin <[email protected]>
  • Loading branch information
nithin-pankaj and “Nithin authored Jan 24, 2024
1 parent 9ae5586 commit 2000129
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 43 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ jobs:
shell: bash
env:
USERNAME_OR_ORG: "${{ github.repository_owner }}"
- name: Release the SDK to GitHub
run: |
mvn -B jar:jar deploy:deploy -Dsdk
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Increment the pom version
run: |
mvn build-helper:parse-version help:effective-pom validate -D${type}
Expand Down
51 changes: 13 additions & 38 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,46 +204,8 @@
</dependency>
</dependencies>

<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/hyperledger-labs/hlf-connector</url>
</repository>
</distributionManagement>

<!-- this section is for auto version increments -->
<profiles>
<profile>
<id>hlf-connector-sdk</id>
<activation>
<property>
<name>sdk</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<classifier>sdk-only</classifier>
<includes>
<include>**/hlf/java/rest/client/sdk/*</include>
</includes>
</configuration>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
<phase>prepare-package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>patch-release</id>
<activation>
Expand Down Expand Up @@ -329,6 +291,19 @@

<build>
<finalName>hlf-connector</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
Expand Down

0 comments on commit 2000129

Please sign in to comment.