Tapestry
  1. Tapestry
  2. TAPESTRY-997

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.1
    • Component/s: Examples
    • Labels:
      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

        Activity

        Markus Joschko created issue -
        Jesse Kuhnert made changes -
        Field Original Value New Value
        Assignee Jesse Kuhnert [ jkuhnert ]
        Jesse Kuhnert made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 4.1 [ 12310632 ]
        Mark Thomas made changes -
        Workflow jira [ 12374660 ] Default workflow, editable Closed status [ 12567796 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567796 ] jira [ 12590924 ]

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            Markus Joschko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development