Skip to content

Commit

Permalink
Adicionando o plugin do jetty no pom.
Browse files Browse the repository at this point in the history
Criando instrucoes para uso no readme.
  • Loading branch information
Caio Oliveira committed Oct 27, 2011
1 parent 4f7f7fc commit 56c4084
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/target
/.classpath
/.project
24 changes: 23 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
Exemplos de como paginacao sobe demanda com displaytag.
Exemplo de integracao Mentawai com Displaytag.
========

Clonando o Projeto.
--------

1. git clone [email protected]:caiogithub/mentawai-displaytag.git

2. cd mentawai-displaytag

Rodando o Projeto.
--------

1. mvn jetty:run

2. Abra o browser e acesse: http://localhost:9090

Usando no Eclipse.
--------

1. mvn eclipse:eclipse

2. Agora basta importar o projeto no eclipse.
17 changes: 17 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,21 @@
<version>1.2</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
<connectors>
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>9090</port>
</connector>
</connectors>
</configuration>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 56c4084

Please sign in to comment.