Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven install #22

Open
viktasidenfy opened this issue Aug 9, 2021 · 1 comment
Open

Maven install #22

viktasidenfy opened this issue Aug 9, 2021 · 1 comment

Comments

@viktasidenfy
Copy link

viktasidenfy commented Aug 9, 2021

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
Copy link
Member

Hi

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants