A typical dependency would look like the following:
<dependency> <groupId>NMaven.Its</groupId> <artifactId>NMaven.It.It0004</artifactId> <version>1.0.0</version> <type>dotnet:library</type> </dependency>
dotnet:winexe and dotnet:exe can also be used as dependency types. dotnet:module can also be used but will not be transitive.
To use a GAC dependency, you will need to set a GAC_ROOT environment variable to point to either the Microsoft or Mono GAC root location. Then use the system scope as shown below. You can also use types: dotnet:gac_32 and dotnet:gac.
<dependency> <groupId>System.Windows.Forms</groupId> <artifactId>System.Windows.Forms</artifactId> <version>2.0.0.0</version> <type>dotnet:gac_msil</type> <scope>system</scope> <classifier>b77a5c561934e089</classifier> <systemPath>${env.GAC_ROOT}\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll</systemPath> </dependency>