[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-176) MavenImporter archive name

Karel Piwko (JIRA) issues at jboss.org
Fri Sep 26 08:08:04 EDT 2014


     [ https://issues.jboss.org/browse/SHRINKRES-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karel Piwko updated SHRINKRES-176:
----------------------------------
    Component/s: maven


> MavenImporter archive name
> --------------------------
>
>                 Key: SHRINKRES-176
>                 URL: https://issues.jboss.org/browse/SHRINKRES-176
>             Project: ShrinkWrap Resolvers
>          Issue Type: Bug
>          Components: maven
>            Reporter: Michael Irwin
>            Assignee: Karel Piwko
>             Fix For: 2.2.0-beta-1
>
>
> 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].  



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the shrinkwrap-issues mailing list