I am developing a Maven project on IntelliJ Idea. I want to say that these things that I mentioned below is worked on Windows, now I am trying this on Ubuntu. I tried to add dependencies with following command:
mvn install:install-file -Dfile=/..pat_here..cytoscapeswing-3.5.1.jar -DgroupId=cytoscapeswing -DartifactId=cytoscapeswing -Dversion=3.5.1 -Dpackaging=jar
And I got "BUILD SUCCESS" message. Then I added this dependency to my project like this:
<dependency>
<groupId>cytoscapeswing</groupId>
<artifactId>cytoscapeswing</artifactId>
<version>3.5.1</version>
</dependency>
But when trying to build the project, IntelliJ does not see the library that I added. I mean there were no "cytoscapeswing" library in external library tab. Where am I doing wrong?