You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/06/29 20:22:30 UTC

[jira] Resolved: (TAPESTRY-997) Small patch to start the timetracker application from within maven using the jetty plugin

     [ http://issues.apache.org/jira/browse/TAPESTRY-997?page=all ]
     
Jesse Kuhnert resolved TAPESTRY-997:
------------------------------------

    Fix Version: 4.1
     Resolution: Fixed

Applied suggested changes.

> Small patch to start the timetracker application from within maven using the jetty plugin
> -----------------------------------------------------------------------------------------
>
>          Key: TAPESTRY-997
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-997
>      Project: Tapestry
>         Type: Improvement

>   Components: Examples
>     Versions: 4.1
>     Reporter: Markus Joschko
>     Assignee: Jesse Kuhnert
>     Priority: Minor
>      Fix For: 4.1

>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org