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

2006-01-08 Thread Aaron Mulder (JIRA)
 [ http://issues.apache.org/jira/browse/GERONIMO-920?page=all ]

Aaron Mulder updated GERONIMO-920:
--

Component: Maven Plugins for G
   (was: deployment)

 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
 Type: Bug
   Components: Maven Plugins for G
 Versions: 1.0-M4
 Reporter: Dain Sundstrom
  Fix For: 1.1


 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:
   

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

2005-12-06 Thread Dain Sundstrom (JIRA)
 [ http://issues.apache.org/jira/browse/GERONIMO-920?page=all ]

Dain Sundstrom updated GERONIMO-920:


Fix Version: 1.1
 (was: 1.0)

 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
 Type: Bug
   Components: deployment
 Versions: 1.0-M4
 Reporter: Dain Sundstrom
  Fix For: 1.1


 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: