Skip to content

Commit

Permalink
Test customized pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Harrington committed Jul 30, 2021
1 parent 3fc5cce commit 8b8e8e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
jdk:
- openjdk8
install:
- echo "Running a custom install command"
- ./gradlew clean build generatePomFileForPubNamePublication
- sh scripts/process_pom.sh
- ./gradlew publishToMavenLocal
3 changes: 3 additions & 0 deletions scripts/process_pom.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

sed -i '/<\/organization>/i <parent>\n<groupId>org.scijava</groupId>\n<artifactId>pom-scijava</artifactId>\n<version>30.0.0</version>\n<relativePath />\n</parent>' ./build/publications/maven/pom-default.xml

0 comments on commit 8b8e8e6

Please sign in to comment.