You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Matt Hogstrom (JIRA)" <ji...@apache.org> on 2006/11/17 03:48:39 UTC

[jira] Closed: (GERONIMO-920) Failure in deployer:distribute plugin does not cause maven build to fail

     [ http://issues.apache.org/jira/browse/GERONIMO-920?page=all ]

Matt Hogstrom closed GERONIMO-920.
----------------------------------

    Resolution: Incomplete

Given the migration to Maven 2 this may not be an issue.  Please reopen if this is still a problem.

> Failure in deployer:distribute plugin does not cause maven build to fail
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-920
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-920
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Maven Plugins for G
>    Affects Versions: 1.0-M4
>            Reporter: Dain Sundstrom
>             Fix For: 1.2
>
>
> When the distribute task fails, the maven build does not fail.  For example, I had the following typo in my maven.xml file 
>             <deploy:distribute
>                 uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector"
>                 username="system"
>                 password="manager"
>                 plan=""
>                 module="${maven.repo.local}/geronimo/wars/geronimo-demo-${pom.currentVersion}.war"
>                 />
> Notice the empty plan attribute.  This caused the following exception to print but the build completed successfully:
> Plan file is not a regular file: /Users/dain/work/geronimo/trunk/modules/assembly
> org.apache.geronimo.common.DeploymentException: Plan file is not a regular file: /Users/dain/work/geronimo/trunk/modules/assembly
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:110)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:79)
>         at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:770)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:180)
>         at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:125)
>         at org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:770)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:180)
>         at org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServerDelegate.java:117)
>         at mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:219)
>         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoker.java:99)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectInvoker.java:31)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoker.java:90)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
>         at mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionSubjectInvoker.java:86)
>         at mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvoker.java:80)
>         at $Proxy0.invoke(Unknown Source)
>         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:221)
>         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
>         at sun.rmi.transport.Transport$1.run(Transport.java:148)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
>         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
>         at java.lang.Thread.run(Thread.java:552)

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