Page 1 of 1

jetty-maven-plugin does not work with any version

Posted: 19 Jan 2016, 18:23
by chsmcol
Hi All,
how is it going?

I just bought Rio and I can't get it to run the maven example. it give me the following error: The POM for org.mortbay.jetty:jetty-maven-plugin:jar:8.1.16.v20140903 is missing, no dependency information available. I have also tried new versions but still does not work. the following is the .pom plugin that came with the purchased theme:

<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>8.1.16.v20140903</version>
<configuration>
<webAppConfig>
<contextPath>/rio</contextPath>
</webAppConfig>
<scanIntervalSeconds>5</scanIntervalSeconds>
<connectors>
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
<port>8084</port>
</connector>
</connectors>
</configuration>
</plugin>

can anyone help me?

Christian.
-----------------

Re: jetty-maven-plugin does not work with any version

Posted: 22 Jan 2016, 16:56
by Torsten
the pom.xml has to be in the project folder, not any deeper.

Maven doesn't find it.

Why do you use the Jetty Maven plugin?
Put up a Glassfish or Tomcat depending on how your stuff will be deployed later.
You will have much less problems later.

Re: jetty-maven-plugin does not work with any version

Posted: 25 Jan 2016, 11:03
by mert.sincan
Do you have mvn in your PC? if no, please see; https://www.youtube.com/watch?v=Jtj-0yhox5s
Then build the project and run it.