Answer the question
In order to leave comments, you need to log in
[maven] use of missing library in repositories
Good day ...
I want to make a Java application with a web interface based on JWT (http://www.webtoolkit.eu/jwt),
while using maven as a build system. But I came across the fact that there is no JWT in its repositories, so the question is how can I manually add the library to the maven project? If it matters, the IDE is NetBeans 6.9.1
Answer the question
In order to leave comments, you need to log in
You should download the JWT library manually and add it to the maven repository on your computer.
Most likely this directory is here: C:\Documents and Settings\%user%\.m2
Or is it better to let maven put this library into the local repository itself: maven.apache.org/general.html#importing-jars . And then register this library as a dependency in pom.xml.
Another option is to add a dependency entry with arbitrary attributes, the artifact group and version, to the pomnik. After that, a library marked as missing will appear in Netbins, by right clicking you can manually download a local jar file for this library. At the same time, it will get into the local repository and will be picked up in the program.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question