]
Karel Piwko resolved SHRINKRES-176.
-----------------------------------
Resolution: Done
Landed in
MavenImporter archive name
--------------------------
Key: SHRINKRES-176
URL:
https://issues.jboss.org/browse/SHRINKRES-176
Project: ShrinkWrap Resolvers
Issue Type: Bug
Reporter: Michael Irwin
Assignee: Karel Piwko
Fix For: 2.2.0-alpha-3
When using the MavenImporter, the archiveName property is ignored.
{code}
WebArchive archive = ShrinkWrap.create(MavenImporter.class, "test.war")
.loadPomFromFile("pom.xml")
.importBuildOutput()
.as(WebArchive.class);
System.out.println(archive.getName());
{code}
The archive name will be whatever the name of the Maven artifact is, which is usually
[artifactId]-[version].