Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-176

MavenImporter archive name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.2.0-beta-1
    • None
    • maven
    • None

    Description

      When using the MavenImporter, the archiveName property is ignored.

      WebArchive archive = ShrinkWrap.create(MavenImporter.class, "test.war")
              .loadPomFromFile("pom.xml")
              .importBuildOutput()
              .as(WebArchive.class);
      System.out.println(archive.getName());
      

      The archive name will be whatever the name of the Maven artifact is, which is usually [artifactId]-[version].

      Attachments

        Activity

          People

            kpiwko Karel Piwko
            mikesir87 Michael Irwin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: