| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | deployFile=`lsscip-shell system . . ls. ../buildGradle/libs/rhino*.jar` |
| 4 | |
| 5 | if [scip-shell system . . `[`. ! -f $deployFile ] |
| 6 | then |
| 7 | echoscip-shell system . . echo. "File cannot be found in $deployFile" |
| 8 | exit 2 |
| 9 | fi |
| 10 | |
| 11 | mvn deploy:deploy-file \ |
| 12 | -Dfile=${deployFile} \ |
| 13 | -DpomFile=maven-pom.xml \ |
| 14 | -DrepositoryId=sonatype-nexus-snapshots \ |
| 15 | -Durl=https://oss.sonatype.org/content/repositories/snapshots/ |