[weld-issues] [JBoss JIRA] Updated: (WELD-655) maven-jetty-plugin not configured correctly

Ales Justin (JIRA) jira-events at lists.jboss.org
Tue Apr 5 10:49:40 EDT 2011


     [ https://issues.jboss.org/browse/WELD-655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ales Justin updated WELD-655:
-----------------------------

    Fix Version/s: 1.2.0.Beta1
                       (was: 1.1.1.Final)


> maven-jetty-plugin not configured correctly
> -------------------------------------------
>
>                 Key: WELD-655
>                 URL: https://issues.jboss.org/browse/WELD-655
>             Project: Weld
>          Issue Type: Task
>          Components: Examples
>    Affects Versions: 1.1.0.Beta1
>            Reporter: Jozef Hartinger
>             Fix For: 1.2.0.Beta1
>
>
> Following instructions from the reference documentation (Chapter 6.5. Deploying to Jetty) I get the following error after running "mvn war:inplace jetty:run -Pjetty"
> [ERROR] Failed to execute goal org.mortbay.jetty:maven-jetty-plugin:6.1.21:run (default-cli) on project weld-jsf-numberguess: jetty-env.xml file does not exist at location /home/jharting/jboss/testing/Weld-1.1.0.Beta1/weld-1.1.0.Beta1/examples/jsf/numberguess/src/main/resources/jetty-env.xml -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.mortbay.jetty:maven-jetty-plugin:6.1.21:run (default-cli) on project weld-jsf-numberguess: jetty-env.xml file does not exist at location /home/jharting/jboss/testing/Weld-1.1.0.Beta1/weld-1.1.0.Beta1/examples/jsf/numberguess/src/main/resources/jetty-env.xml
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:141)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:77)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:69)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:82)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:54)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.singleThreadedBuild(DefaultLifecycleExecutor.java:218)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:190)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:246)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:95)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:430)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:160)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:124)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         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: jetty-env.xml file does not exist at location /home/jharting/jboss/testing/Weld-1.1.0.Beta1/weld-1.1.0.Beta1/examples/jsf/numberguess/src/main/resources/jetty-env.xml
>         at org.mortbay.jetty.plugin.AbstractJettyRunMojo.checkPomConfiguration(AbstractJettyRunMojo.java:258)
>         at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:382)
>         at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)
>         at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:133)
>         ... 19 more
> The jetty-env.xml file is present in src/main/webapp-jetty/WEB-INF/jetty-env.xml.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the weld-issues mailing list