[jetty-user] Maven Jetty 7 & static resources

Cemal <[email protected]>
Newsgroups gmane.comp.java.jetty.support
Message-ID <[email protected]>
 Hi all,

I would like to change our infrastructure to take benefits of Jetty and
rapid application development.

Shortly I would like to serve static content. I found such an explanation at
Jetty documentation.

<Configure class="org.mortbay.jetty.handler.ContextHandler">
    <Set name="contextPath">/static</Set>
    <Set name="resourceBase">D:/LocalProjects/myproject/html/static/
    </Set>
    <Call name="addHandler">
        <Arg>
            <New class="org.mortbay.jetty.handler.ResourceHandler"/>
        </Arg>
    </Call>
</Configure>

What is the **maven equivalent** of the the configuration above? Or how can
I server static content with maven jetty plugin?

Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.