This section defines the basic configuration of adding references into the project. To avoid runtime errors, make sure that the library to be loaded does not have conflicting instance(s) and/or is not yet loaded in the .Net Framework.
Note: Adding dependencies should be done using Visual Studio while manually adding is not recommended. If you manually add a dependency and re-import the project in Visual Studio, the recently added dependencies are deleted from the pom.xml file.
To add a system scope dependency, add a configuration similar to the following in the project's pom.xml:
<dependencies> [...] <dependency> <groupId>artifact_group_id</groupId> <artifactId>my.lib</artifactId> <version>2.2</version> <type>library</type> <scope>system</scope> <systemPath>C:\path\to\your\library.dll</systemPath> </dependency> [...] </dependencies>
Supply the proper values for the dependency's <groupId>, <artifactId>, <version>, <type>, <scope>, and <systemPath>. Exact match of artifactId and version are required when manually adding dependencies into the project's pom.xml.
Dependency Types: