jitci icon indicating copy to clipboard operation
jitci copied to clipboard

Maven install

Open viktasidenfy opened this issue 4 years ago • 1 comments

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?

viktasidenfy avatar Aug 09 '21 09:08 viktasidenfy

Hi

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

jitpack-io avatar Jan 29 '22 14:01 jitpack-io