jitpack / jitci

A CI with tests, coverage, dependency audit, license & vuln. checks
https://jitci.com
19 stars 5 forks source link

Maven install #22

Open viktasidenfy opened 3 years ago

viktasidenfy commented 3 years ago

Hi, I have a github repository with a jitpack.yml file, which contains the following code:

install: - FILE="-Dfile=myLibrary.aar" - mvn install:install-file $FILE -DgroupId=myGroupId -DartifactId=myArtifactId -Dversion=5.1.4 -Dpackaging=aar -DpomFile=pom.xml

If I use Jitpack.io to publish the library, I can see it runs this install command and does it successfully in the logs. But when I try to setup JitCI, it runs mvn -B de.qaware.maven:go-offline-maven-plugin:resolve-dependencies. My question is, how to setup JitCI, so that the jitapack.yml content would be executed?

jitpack-io commented 2 years ago

Hi

The repository settings page has a Commands section where you can specify which commands to execute during each build phase.