Top level maven.xml has:

    <goal name="install-all">
        <!-- Install non-EJB jars -->
        <m:reactor basedir="${basedir}"
            includes="*/project.xml"
            excludes="application/ejb/project.xml "
            goals="jar:install"
            banner="Installing JAR files"
            ignoreFailures="false"/>

        <!-- Install EJB jar -->
        <m:reactor basedir="${basedir}"
            includes="application/ejb/project.xml"
            goals="ejb:install"
            banner="Installing EJB JAR file"
            ignoreFailures="false"/>
    </goal>

Everything up to and including "ejb:ejb" goal completes fine, but
ejb:install fails:

[. . .]
ejb:ejb:
    [echo] Building ejb application.ejb-1.0
    [jar] Building jar: C:\cvsroot\v5\target\application.ejb-1.0.jar

BUILD FAILED
File...... file:/c:/cvsroot/v5/
Element... m:reactor
Line...... 36
Column.... 37
Unable to obtain goal [install] --
file:/c:/cvsroot/v5/application/ejb/:13:37: <m:reactor> Unable to obtain
goal [ejb:install] -- file:/C:/Documents and
Settings/boek2827/.maven/plugins/maven-ejb-plugin-1.1-SNAPSHOT/:119:27:
<artifact:install> null

"ejb:install" works just fine when invoked directly:

[. . .]
Copying: from
'c:\cvsroot\v5\application\ejb\..\..\target\application.ejb-1.0.jar' to:
'C:\Documents and
Settings\boek2827\.maven\repository\application\ejbs\application.ejb-1.0.jar
'
BUILD SUCCESSFUL

Is there a workaround for this? 
Thanks in advance.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to