-
Couldn't load subscription status.
- Fork 95
Open
Labels
Description
Bug description
For my job I need to create a custom Maven library, deploy it to GitHub Packages and use it as a dependency in the pom.xml in my Maven projects.
In IntelliJ IDEA works just fine.
Steps to reproduce
Steps to reproduce the behavior:
- Put your credentials in
$HOME\.m2\settings.xmland in the maven install location (example:apache-maven\conf\settings.xml)
<servers>
<server>
<id>github</id>
<username>your-github-username</username>
<password>your-personal-access-token</password>
</server>
</servers>- Add the repository in your Maven project
<repositories>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/your-github-username/repo-library-location</url>
</repository>
</repositories>- Add your dependency in the
pom.xmlin your project
<dependency>
<groupId>your.company</groupId>
<artifactId>your-library-name</artifactId>
<version>1.0.0</version>
</dependency>- Start typing stuff from the library and see that don't recognize it
Expected behavior
When you type content from your library and the autocomplete recognize it.
Environments
- OS: Windows 11
- VS Code version: 1.104.3
- Extension version 0.44.0