A Visual Studio Code extension that helps you manage AWS CodeArtifact Maven repositories directly from your IDE. This extension provides a convenient way to view and manage your Maven repositories configured with AWS CodeArtifact authentication.
Features
🔍 View all configured Maven repositories with AWS CodeArtifact authentication
⏰ Real-time token expiration tracking
🔄 One-click token refresh for repositories
🚨 Visual indicators for expired tokens
📊 Repository status monitoring
Requirements
Visual Studio Code 1.70.0 or higher
AWS CLI installed and configured
Maven installed and configured
AWS CodeArtifact repositories configured in your settings.xml
Installation
Open VS Code
Press Ctrl+P (Windows/Linux) or Cmd+P (macOS)
Paste the following command and press Enter:
ext install hirantha.aws-codeartifact-maven
Usage
Click on the AWS CodeArtifact Maven icon in the Activity Bar (left sidebar)
View your configured Maven repositories
Each repository shows:
Repository name
Token expiration status
Remaining time until token expiration
Click the refresh icon to update the repository list
Click on a repository to refresh its token
Configuration
The extension reads your Maven repositories from the settings.xml file located at:
Windows: %USERPROFILE%\.m2\settings.xml
macOS/Linux: ~/.m2/settings.xml
Your settings.xml should be configured with AWS CodeArtifact repositories following this structure: