In my project I need to reference to the package installed by Maven to local repository. I've added the dependency to pom.xml, but the project doesn't want to build as it wouldn't even see the package. Here's the pom.xml fragment with dependencies:
<dependencies>
...
<dependency>
<groupId>libraryweb</groupId>
<artifactId>classes</artifactId>
<version>1.0SNAPSHOT</version>
</dependency>
</dependencies>
When I try to import the package "libraryweb" I get
Cannot resolve symbol 'libraryweb'
error. What can I do to use the package?
Edit: Intellij prompts me classes from the package when I try to use them, but I still get "cannot resolve symbol" error.