This is not a maven problem.
It looks like a failure to read the documentation for the "jar" command.
Try
jar -xf file.ear
or
jar -tf file.ear
On 27/09/2011, at 9:29 PM, Karl Heinz Marbaise wrote:
> Hi,
>
> i have a project which produces a ear file but the problem i've encountered
> is that the generated ear file can't be extracted via jar -x file.ear nor
> can i list the contents of the archive via jar -t file.ear
>
> I've tested it with a unzip tool on command line which works without any
> problems (cygwin environment):
> UnZip special compilation options:
> ASM_CRC
> COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported)
> SET_DIR_ATTRIB
> SYMLINKS (symbolic links supported, if RTL and file system permit)
> TIMESTAMP
> UNIXBACKUP
> USE_EF_UT_TIME
> USE_UNSHRINK (PKZIP/Zip 1.x unshrinking method supported)
> USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported)
> UNICODE_SUPPORT [char coding: UTF-8] (handle UTF-8 paths)
> MBCS-support (multibyte character support, MB_CUR_MAX = 6)
> LARGE_FILE_SUPPORT (large files over 2 GiB supported)
> ZIP64_SUPPORT (archives using Zip64 for large files supported)
> USE_BZIP2 (PKZIP 4.6+, using bzip2 lib version 1.0.5, 10-Dec-2007)
> VMS_TEXT_CONV
> WILD_STOP_AT_DIR
> [decryption, version 2.11 of 05 Jan 2007]
>
> UnZip and ZipInfo environment options:
> UNZIP: [none]
> UNZIPOPT: [none]
> ZIPINFO: [none]
> ZIPINFOOPT: [none]
>
>
> Does someone observed such a behaviour?
>
> Maven 3.0.3 (Windows Plattform)
>
> java version "1.6.0_25"
> Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
> Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)
>
> maven-ear-plugin version 2.6
>
> Kind regards
> Karl Heinz Marbaise
>
> -----
> Kind regards
> Karl Heinz Marbaise
> ----
> http://www.soebes.de
> http://www.skmwiki.de
> http://supose.org/wiki/supose
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/maven-ear-plugin-ear-file-can-t-be-unpacked-via-jar-x-tp4845008p4845008.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]