Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.2.1, 1.4-incubating
-
None
-
None
-
13776
Description
When adding a Maven artifact from the VS Plugin the dependency entry in the pom file cannot be found, the following example illustrates the problem:
The entry below is inserted into the POM when the artifact is added through the VS plugin
<dependency>
<groupId>Solution1</groupId>
<artifactId>ClassLibrary1</artifactId>
<version>1.0-SNAPSHOT</version>
<type>dotnet-library</type>
</dependency>
The correct entry required for mvn compile and install requires a "." before the group Id:
<dependency>
<groupId>.Solution1</groupId>
<artifactId>ClassLibrary1</artifactId>
<version>1.0-SNAPSHOT</version>
<type>dotnet-library</type>
</dependency>
See attached gif for the actual error.