Answer the question
In order to leave comments, you need to log in
Why can't idea see external Maven dependency with scope=system?
Hello.
I want to connect an external jar file to the project, I follow this guide https://www.tutorialspoint.com/maven/maven_externa...
The folder structure is shown in the screenshot below, pom is:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.name</groupId>
<artifactId>generalTwo</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>lib_v1</groupId>
<artifactId>lib_v1</artifactId>
<version>1.0</version>
<systemPath>${project.basedir}/src/lib/lib_v1.jar</systemPath>
<scope>system</scope>
</dependency>
</dependencies>
</project>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question