Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-997

Small patch to start the timetracker application from within maven using the jetty plugin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.1
    • 4.1
    • Examples
    • None

    Description

      Hi Jesse,
      I think it is usefull to have the jetty6 plugin configured in the pom.xml of the timetracker application so people can start it right away.
      Find a patch appended. Note that this is my first maven experience and there might be a better way to declare the additional dependencies (within the jetty plugin?)

      Regards,
      Markus

      Index: D:/eclipseWorkspace/tapestry/examples/TimeTracker/pom.xml
      ===================================================================
      — D:/eclipseWorkspace/tapestry/examples/TimeTracker/pom.xml (revision 418001)
      +++ D:/eclipseWorkspace/tapestry/examples/TimeTracker/pom.xml (working copy)
      @@ -37,10 +37,6 @@
      <artifactId>oro</artifactId>
      </dependency>
      <dependency>

      • <groupId>commons-logging</groupId>
      • <artifactId>commons-logging</artifactId>
      • </dependency>
      • <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>3.8.1</version>
        @@ -78,6 +74,11 @@
        <artifactId>commons-dbcp</artifactId>
        <version>1.2.1</version>
        </dependency>
        + <dependency>
        + <groupId>hsqldb</groupId>
        + <artifactId>hsqldb</artifactId>
        + <version>1.8.0.1</version>
        + </dependency>
        </dependencies>
        <build>
        <sourceDirectory>src/java</sourceDirectory>
        @@ -82,7 +83,6 @@
        <build>
        <sourceDirectory>src/java</sourceDirectory>
        <testSourceDirectory>src/test</testSourceDirectory>
        -
        <plugins>
        <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        @@ -87,7 +87,7 @@
        <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
      • <version>2.2</version>
        + <version>2.2</version>
        <configuration>
        <testSourceDirectory>src/test</testSourceDirectory>
        </configuration>
        @@ -92,6 +92,14 @@
        <testSourceDirectory>src/test</testSourceDirectory>
        </configuration>
        </plugin>
        + <plugin>
        + <groupId>org.mortbay.jetty</groupId>
        + <artifactId>maven-jetty6-plugin</artifactId>
        + <configuration>
        + <webAppSourceDirectory>${basedir}/src/context</webAppSourceDirectory>
        + <scanIntervalSeconds>10</scanIntervalSeconds>
        + </configuration>
        + </plugin>
        </plugins>
        </build>
        <reporting>
        @@ -109,4 +117,5 @@
        </plugin>
        </plugins>
        </reporting>
        +
        </project>
        \ No newline at end of file

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            jocsch Markus Joschko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: