[ 
http://jira.codehaus.org/browse/MEAR-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234297#action_234297
 ] 

Cremers stijn commented on MEAR-130:
------------------------------------

It works with maven 2.0.9!

This is what i'm trying to accomplish:
The is my ear project:
mvn3-ear/
mvn3-ear/lib/
mvn3-ear/lib/*(all libs)
mvn3-ear/META-INF/application.xml
mvn3-ear/META-INF/ibm-application-bnd.xmi

The ibm-application-bnd.xmi must be included in the with maven generated ear.
So this my configuration
 <plugin>
        <artifactId>maven-ear-plugin</artifactId>
        <configuration>
                ...
                <earSourceDirectory>/</earSourceDirectory>
                
<earSourceIncludes>**/META-INF/ibm-application-bnd.xmi</earSourceIncludes>
        </configuration>
</plugin>

It do not want to scan the whole drive, but just the mvn3-ear project.





> maven build hangs when earSourceDirectory is set to /
> -----------------------------------------------------
>
>                 Key: MEAR-130
>                 URL: http://jira.codehaus.org/browse/MEAR-130
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4.1
>         Environment: apache-maven-3.0-beta-2
>            Reporter: Cremers stijn
>            Assignee: Stephane Nicoll
>            Priority: Critical
>             Fix For: 2.4.3
>
>         Attachments: DEV_V01.00.00.zip, maven.log
>
>
> When building a maven project with apache-maven-3.0-beta-2, the build hangs 
> on "[INFO] Copy ear sources to".
> This is only when the <earSourceDirectory>/</earSourceDirectory> is specified.
> A log file with the maven output is attached

-- 
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

        

Reply via email to