Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
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].