Skip to content

Commit

Permalink
Removed Jetty maven plugin which fails for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
chkal committed Aug 29, 2015
1 parent 6c17f1e commit ebb12b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 26 deletions.
21 changes: 6 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,19 @@ The application is pretty minimal at the moment. I added comments to the relevan
sections of the code so you don't have to read the specification for understanding
what is going on. ;)

You can either use the Jetty Maven Plugin or deploy the WAR file to a container yourself.
In both cases the application will be available under this URL:

http://localhost:8080/todo-mvc/

### Jetty Maven Plugin

The simplest way to start the application is to use the Jetty Maven plugin.
To build the project and start the embedded Jetty container, type this:

$ mvn jetty:run-forked

### Build and deploy the WAR

If you want to deploy the WAR file yourself, build it like this:
To build the WAR file, run this command:

$ mvn clean package

The resulting WAR is named `target/todo-mvc.war`. You can now deploy this WAR file to
[Apache Tomcat](http://tomcat.apache.org/) or [Jetty](http://eclipse.org/jetty/).
If you are using Tomcat, you should use the latest release of the 8.0.x product line.

After starting up, open the following URL in your browser:

http://localhost:8080/todo-mvc/


## Feedback welcome

The MVC expert group is looking for feedback. Any feedback is valuable and welcome.
Expand Down
11 changes: 0 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,6 @@
</configuration>
</plugin>

<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.2.10.v20150310</version>
<configuration>
<webApp>
<contextPath>/${project.build.finalName}</contextPath>
</webApp>
</configuration>
</plugin>

</plugins>

</build>
Expand Down

0 comments on commit ebb12b6

Please sign in to comment.