[ http://jira.codehaus.org/browse/MNG-1461?page=comments#action_51166 ]
mike perham commented on MNG-1461:
----------------------------------
This works. Thanks Stephane for your help!!!
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<version>2.1-SNAPSHOT</version>
<configuration>
<defaultJavaBundleDir>lib/</defaultJavaBundleDir>
<earSourceDirectory>${basedir}</earSourceDirectory>
<earSourceIncludes>META-INF/**</earSourceIncludes>
</configuration>
</plugin>
> EAR plugin ignores application XML setting
> ------------------------------------------
>
> Key: MNG-1461
> URL: http://jira.codehaus.org/browse/MNG-1461
> Project: Maven 2
> Type: Bug
> Components: maven-ear-plugin
> Versions: 2.0
> Reporter: mike perham
> Assignee: Stephane Nicoll
> Fix For: 2.0.1
>
>
> In EarMojo.java:
> /**
> * The location of the application.xml file to be used within the ear
> file.
> *
> * @parameter
> expression="${basedir}/src/main/application/META-INF/application.xml"
> */
> private File applicationXmlFile;
> I set this and Maven still generates an application.xml file anyways.
> Checking the code, this variable is never actually referenced anywhere so it
> appears impossible to use the EAR plugin with a pre-written application.xml.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]