Struts 2 Blank archetype from Maven repository will not run on Jetty
--------------------------------------------------------------------

                 Key: WW-2293
                 URL: https://issues.apache.org/struts/browse/WW-2293
             Project: Struts 2
          Issue Type: Bug
          Components: Build Management
    Affects Versions: 2.0.9
         Environment: Linux, Struts 2.0.9, Maven 2.0.7, Jetty 6.0.1
            Reporter: Peter Milne


mvn jetty:run - fails due to incorrect jetty entries in <build> segement in 
POM.xml

Fixed by replacing segment with:
    <build>
      <finalName>blank</finalName>
        <plugins>
                <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                   <source>1.5</source>
                   <target>1.5</target>
                </configuration>
            </plugin>
                <plugin>
                        <groupId>org.mortbay.jetty</groupId>
                        <artifactId>maven-jetty-plugin</artifactId>
                        <version>6.0.1</version>
                        <configuration>
                                <scanIntervalSeconds>10</scanIntervalSeconds>
                        </configuration>
                </plugin>
        </plugins>
    </build> 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to