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

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Oct 15 06:57:08 EDT 2010


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

Pete Muir updated WELD-655:
---------------------------

    Fix Version/s: 1.1.0.CR1
                       (was: 1.1.0.Beta2)


> maven-jetty-plugin not configured correctly
> -------------------------------------------
>
>                 Key: WELD-655
>                 URL: https://jira.jboss.org/browse/WELD-655
>             Project: Weld
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 1.1.0.Beta1
>            Reporter: Jozef Hartinger
>             Fix For: 1.1.0.CR1
>
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list