maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty (JIRA)" <j...@codehaus.org>
Subject [jira] (MEAR-187) No unpack capability for ear
Date Wed, 18 Jun 2014 12:55:10 GMT

     [ https://jira.codehaus.org/browse/MEAR-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Gainty updated MEAR-187:
-------------------------------

    Attachment: EarUnArchiver.java

This is the EarUnArchiver for EAR..it works 
I put in plenty of synchronized blocks so when one file operation is creating a file the next
one opening the stream on the just created file will have to wait until the creation has been
completed..I found massive contention problems with the old code with the end result that
nothing was created in output folder.
this initial draft is very rough. There is some windoze specific code (that needs to be enabled
thru a WindowsOnly Parameter flag)

> No unpack capability for ear
> ----------------------------
>
>                 Key: MEAR-187
>                 URL: https://jira.codehaus.org/browse/MEAR-187
>             Project: Maven Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.9
>         Environment: maven 3.0.2
> jdk 1.7.0.45
>            Reporter: Martin Gainty
>         Attachments: EarUnArchiver.java
>
>
> EarModuleFactory.standardArtifactTypes.contains( type ) ) type=ear
> AbstractEarTest::createArtifactsTest ear.execute() has thrown MojoExecutionException
message=Invalid type [ear] supported types are [jar, ejb, ejb3, par, ejb-client, app-client,
rar, war, sar, wsr, har]
> Therefore the ear type is NEVER unpacked/unzipped (and consequently repacked/zipped)
for type ear
> Whatever was in the previous ear remains (with no ability to upgrade versions)
> Originally reported by Martin Holler
> Martin



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message