You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ari Meyer (JIRA)" <ji...@codehaus.org> on 2007/05/12 09:19:12 UTC

[jira] Commented: (MEAR-30) EAR plugin generates meta-inf rather than META-INF

    [ http://jira.codehaus.org/browse/MEAR-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_95712 ] 

Ari Meyer commented on MEAR-30:
-------------------------------

This is not unique to the EAR plugin.  I get this same behavior in Maven 2.06 just trying to precisely follow the BetterBuildsWithMaven.pdf instructions (2.6. Handling Classpath Resources).  I am running on Windows XP SP2.  As Stephane says above, "Winzip shows indeed a meta-inf directory instead of META-INF but when unzipped it looks good."  This is exactly what I'm seeing, but I assume on an OS where file/dir names are case-sensitive, this could cause problems.  Even on Win32, it's definitely confusing, and should be fixed.

> EAR plugin generates meta-inf rather than META-INF
> --------------------------------------------------
>
>                 Key: MEAR-30
>                 URL: http://jira.codehaus.org/browse/MEAR-30
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Andreas Schildbach
>            Assignee: Stephane Nicoll
>
> When I run "mvn package" on my ear module, I get both "application.xml" and "Manifest.mf" in a directory called "meta-inf" rather than the standard-conform "META-INF". JBoss consequently cannot find application.xml in the EAR when trying to deploy.
> Here is my plugin config:
> 			<plugin>
> 				<groupId>org.apache.maven.plugins</groupId>
> 				<artifactId>maven-ear-plugin</artifactId>
> 				<configuration>
> 					<displayName>name</displayName>
> 					<description>description</description>
> 					<version>1.4</version>
> 					<modules>
> 						<javaModule>
> 							<groupId>group</groupId>
> 							<artifactId>artifact</artifactId>
> 							<includeInApplicationXml>true</includeInApplicationXml>
> 						</javaModule>
> 					</modules>
> 				</configuration>
> 			</plugin>
> Maven-ear-plugin is resolved to version 2.2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira