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

Karel Piwko (JIRA) issues at jboss.org
Tue Sep 9 06:31:59 EDT 2014


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

Karel Piwko resolved SHRINKRES-176.
-----------------------------------
    Resolution: Done


Landed in https://github.com/shrinkwrap/resolver/commit/b7da0660d0470d994d3a88fdf13edf49037fff32

> 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].  



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


More information about the shrinkwrap-issues mailing list