[
https://issues.jboss.org/browse/SHRINKRES-176?page=com.atlassian.jira.plu...
]
Michael Irwin updated SHRINKRES-176:
------------------------------------
Description:
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].
was:
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}.
MavenImporter archive name
--------------------------
Key: SHRINKRES-176
URL:
https://issues.jboss.org/browse/SHRINKRES-176
Project: ShrinkWrap Resolvers
Issue Type: Bug
Reporter: Michael Irwin
Assignee: Andrew Rubinger
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira