Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-314

Adding a Maven artifact from VS plugin generates NPANDAY-180-017 error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2.1, 1.4-incubating
    • 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.

      Attachments

        Activity

          People

            jocaba Josimpson Ocaba
            correc00 correc00
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: