Maven
Apache Maven build and dependency management tool for Java projects.
Using Maven Locally
With the JFrog Fly Desktop App (Recommended)
Ensure the Desktop App is installed, running, and configured for Maven.
Simply use your standard commands - the Desktop App handles authentication automatically:
Upload:
mvn clean deployDownload:
mvn clean installAlternatively: Manual Configuration
1. Generate an Access Token
2. Configure
Edit ~/.m2/settings.xml:
<settings>
<servers>
<server>
<id>fly-maven</id>
<username><your-fly-username></username>
<password><your-fly-token></password>
</server>
</servers>
<profiles>
<profile>
<id>fly</id>
<repositories>
<repository>
<id>fly-maven</id>
<url>https://<your-fly-subdomain>.jfrog.io/artifactory/maven</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>fly</activeProfile>
</activeProfiles>
</settings>3. Upload
mvn clean deploy4. Download
mvn clean installUsing Maven in CI/CD
Maven is fully supported in GitHub Actions workflows configured with JFrog Fly.
Learn how to configure GitHub Actions →