Source

HelloScala / src / main / resources / atlassian-plugin.xml

Full commit
<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}" plugins-version="2">
    <plugin-info>
        <description>${project.description}</description>
        <version>${project.version}</version>
        <vendor name="${project.organization.name}" url="${project.organization.url}" />
    </plugin-info>

    <servlet name="HelloScala" class="com.atlassian.labs.ExampleServlet" key="test">
        <url-pattern>/test</url-pattern>
    </servlet>
    <servlet name="HelloFromScala" class="com.atlassian.labs.ScalaServlet" key="scala">
        <url-pattern>/scala</url-pattern>
    </servlet>

</atlassian-plugin>