jbossas/jboss-as-maven-plugin — Issue #9: ejb packaging deployment does not work
Author: spagop
Created: 2012-01-05 21:42:07+00:00
State: open

pom.xml
----------

4.0.0

org.jboss.as.quickstarts
jboss-as-helloworld-ejb-timer
1.0.0
ejb

.....

executed this command "mvn clean package jboss:as-deploy" does not deploy the application "cause is ejb" here is the error:

ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.0.CR1:deploy (default-cli) on project jboss-as-helloworld-ejb-timer: Could not execute goal deploy on jboss-as-helloworld-ejb-timer.ejb. Reason: /NotBackedUp/spagop/Channel-Team-SA-Unterstützung/partner-enablement/training/EAP/gitrepos/docs/helloworld-ejb-timer/target/jboss-as-helloworld-ejb-timer.ejb (No such file or directory) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.0.CR1:deploy (default-cli) on project jboss-as-helloworld-ejb-timer: Could not execute goal deploy on jboss-as-helloworld-ejb-timer.ejb. Reason: /NotBackedUp/spagop/Channel-Team-SA-Unterstützung/partner-enablement/training/EAP/gitrepos/docs/helloworld-ejb-timer/target/jboss-as-helloworld-ejb-timer.ejb (No such file or directory)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Could not execute goal deploy on jboss-as-helloworld-ejb-timer.ejb. Reason: /NotBackedUp/spagop/Channel-Team-SA-Unterstützung/partner-enablement/training/EAP/gitrepos/docs/helloworld-ejb-timer/target/jboss-as-helloworld-ejb-timer.ejb (No such file or directory)
at org.jboss.as.plugin.deployment.AbstractDeployment.execute(AbstractDeployment.java:210)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: java.io.FileNotFoundException: /NotBackedUp/spagop/Channel-Team-SA-Unterstützung/partner-enablement/training/EAP/gitrepos/docs/helloworld-ejb-timer/target/jboss-as-helloworld-ejb-timer.ejb (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:137)
at java.io.FileInputStream.(FileInputStream.java:96)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:87)
at org.jboss.as.controller.client.helpers.standalone.impl.DeploymentPlanBuilderImpl.add(DeploymentPlanBuilderImpl.java:154)
at org.jboss.as.controller.client.helpers.standalone.impl.DeploymentPlanBuilderImpl.add(DeploymentPlanBuilderImpl.java:132)
at org.jboss.as.plugin.deployment.Util.deployPlan(Util.java:30)
at org.jboss.as.plugin.deployment.Deploy.createPlan(Deploy.java:68)
at org.jboss.as.plugin.deployment.AbstractDeployment.execute(AbstractDeployment.java:183)
... 21 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException