Renaming to fit Eclipse Jetty naming guidelines
This commit is contained in:
parent
d63c7a4eb6
commit
b8759bc2c7
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-forked-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-forked-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
import javax.servlet.ServletException;
|
||||||
import javax.servlet.annotation.WebServlet;
|
import javax.servlet.annotation.WebServlet;
|
|
@ -17,7 +17,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
import javax.servlet.ServletException;
|
||||||
import javax.servlet.annotation.WebServlet;
|
import javax.servlet.annotation.WebServlet;
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<servlet>
|
<servlet>
|
||||||
<servlet-name>Ping</servlet-name>
|
<servlet-name>Ping</servlet-name>
|
||||||
<servlet-class>com.webtide.jetty.its.jetty_run_mojo_it.PingServlet</servlet-class>
|
<servlet-class>org.eclipse.jetty.its.jetty_run_mojo_it.PingServlet</servlet-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<param-name>extra1</param-name><param-value>123</param-value>
|
<param-name>extra1</param-name><param-value>123</param-value>
|
||||||
</init-param>
|
</init-param>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-forked-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-forked-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-forked-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-forked-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-base</artifactId>
|
<artifactId>jetty-simple-base</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
// ========================================================================
|
// ========================================================================
|
||||||
//
|
//
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
import org.eclipse.jetty.client.HttpClient;
|
import org.eclipse.jetty.client.HttpClient;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
|
@ -3,7 +3,7 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-forked-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-forked-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-forked-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-forked-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-base</artifactId>
|
<artifactId>jetty-simple-base</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
import javax.servlet.ServletException;
|
||||||
import javax.servlet.annotation.WebServlet;
|
import javax.servlet.annotation.WebServlet;
|
|
@ -17,7 +17,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
import javax.servlet.ServletException;
|
||||||
import javax.servlet.annotation.WebServlet;
|
import javax.servlet.annotation.WebServlet;
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<servlet>
|
<servlet>
|
||||||
<servlet-name>Ping</servlet-name>
|
<servlet-name>Ping</servlet-name>
|
||||||
<servlet-class>com.webtide.jetty.its.jetty_run_mojo_it.PingServlet</servlet-class>
|
<servlet-class>org.eclipse.jetty.its.jetty_run_mojo_it.PingServlet</servlet-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<param-name>extra1</param-name><param-value>123</param-value>
|
<param-name>extra1</param-name><param-value>123</param-value>
|
||||||
</init-param>
|
</init-param>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-base</artifactId>
|
<artifactId>jetty-simple-base</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
import org.eclipse.jetty.client.HttpClient;
|
import org.eclipse.jetty.client.HttpClient;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
|
@ -3,7 +3,7 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-base</artifactId>
|
<artifactId>jetty-simple-base</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-war-exploded-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-war-exploded-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
import javax.servlet.ServletException;
|
||||||
import javax.servlet.annotation.WebServlet;
|
import javax.servlet.annotation.WebServlet;
|
|
@ -17,7 +17,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
import javax.servlet.ServletException;
|
||||||
import javax.servlet.annotation.WebServlet;
|
import javax.servlet.annotation.WebServlet;
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<servlet>
|
<servlet>
|
||||||
<servlet-name>Ping</servlet-name>
|
<servlet-name>Ping</servlet-name>
|
||||||
<servlet-class>com.webtide.jetty.its.jetty_run_mojo_it.PingServlet</servlet-class>
|
<servlet-class>org.eclipse.jetty.its.jetty_run_mojo_it.PingServlet</servlet-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<param-name>extra1</param-name><param-value>123</param-value>
|
<param-name>extra1</param-name><param-value>123</param-value>
|
||||||
</init-param>
|
</init-param>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-war-exploded-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-war-exploded-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-war-exploded-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-war-exploded-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-base</artifactId>
|
<artifactId>jetty-simple-base</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
import org.eclipse.jetty.client.HttpClient;
|
import org.eclipse.jetty.client.HttpClient;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
|
@ -3,7 +3,7 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-war-exploded-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-war-exploded-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-war-exploded-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-war-exploded-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-base</artifactId>
|
<artifactId>jetty-simple-base</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-war-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-war-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
import javax.servlet.ServletException;
|
||||||
import javax.servlet.annotation.WebServlet;
|
import javax.servlet.annotation.WebServlet;
|
|
@ -17,7 +17,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
import javax.servlet.ServletException;
|
||||||
import javax.servlet.annotation.WebServlet;
|
import javax.servlet.annotation.WebServlet;
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<servlet>
|
<servlet>
|
||||||
<servlet-name>Ping</servlet-name>
|
<servlet-name>Ping</servlet-name>
|
||||||
<servlet-class>com.webtide.jetty.its.jetty_run_mojo_it.PingServlet</servlet-class>
|
<servlet-class>org.eclipse.jetty.its.jetty_run_mojo_it.PingServlet</servlet-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<param-name>extra1</param-name><param-value>123</param-value>
|
<param-name>extra1</param-name><param-value>123</param-value>
|
||||||
</init-param>
|
</init-param>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-war-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-war-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-war-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-war-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-base</artifactId>
|
<artifactId>jetty-simple-base</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
import org.eclipse.jetty.client.HttpClient;
|
import org.eclipse.jetty.client.HttpClient;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
|
@ -3,7 +3,7 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-war-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-war-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.webtide.jetty.its.jetty-run-war-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-run-war-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-base</artifactId>
|
<artifactId>jetty-simple-base</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.webtide.jetty.its.jetty-start-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-start-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
|
@ -1,45 +0,0 @@
|
||||||
//
|
|
||||||
// ========================================================================
|
|
||||||
// Copyright (c) 1995-2017 Mort Bay Consulting Pty. Ltd.
|
|
||||||
// ------------------------------------------------------------------------
|
|
||||||
// All rights reserved. This program and the accompanying materials
|
|
||||||
// are made available under the terms of the Eclipse Public License v1.0
|
|
||||||
// and Apache License v2.0 which accompanies this distribution.
|
|
||||||
//
|
|
||||||
// The Eclipse Public License is available at
|
|
||||||
// http://www.eclipse.org/legal/epl-v10.html
|
|
||||||
//
|
|
||||||
// The Apache License v2.0 is available at
|
|
||||||
// http://www.opensource.org/licenses/apache2.0.php
|
|
||||||
//
|
|
||||||
// You may elect to redistribute this code under either of these licenses.
|
|
||||||
// ========================================================================
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
|
||||||
import javax.servlet.annotation.WebServlet;
|
|
||||||
import javax.servlet.http.HttpServlet;
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import javax.servlet.http.HttpServletResponse;
|
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
@WebServlet("/hello")
|
|
||||||
public class HelloServlet
|
|
||||||
extends HttpServlet
|
|
||||||
{
|
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void doGet( HttpServletRequest req, HttpServletResponse resp )
|
|
||||||
throws ServletException, IOException
|
|
||||||
{
|
|
||||||
String who = req.getParameter( "name" );
|
|
||||||
|
|
||||||
resp.getWriter().write( "hello " + (who == null ? "unknown" : who) );
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,41 +0,0 @@
|
||||||
//
|
|
||||||
// ========================================================================
|
|
||||||
// Copyright (c) 1995-2017 Mort Bay Consulting Pty. Ltd.
|
|
||||||
// ------------------------------------------------------------------------
|
|
||||||
// All rights reserved. This program and the accompanying materials
|
|
||||||
// are made available under the terms of the Eclipse Public License v1.0
|
|
||||||
// and Apache License v2.0 which accompanies this distribution.
|
|
||||||
//
|
|
||||||
// The Eclipse Public License is available at
|
|
||||||
// http://www.eclipse.org/legal/epl-v10.html
|
|
||||||
//
|
|
||||||
// The Apache License v2.0 is available at
|
|
||||||
// http://www.opensource.org/licenses/apache2.0.php
|
|
||||||
//
|
|
||||||
// You may elect to redistribute this code under either of these licenses.
|
|
||||||
// ========================================================================
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
|
||||||
import javax.servlet.annotation.WebServlet;
|
|
||||||
import javax.servlet.http.HttpServlet;
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import javax.servlet.http.HttpServletResponse;
|
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
public class PingServlet
|
|
||||||
extends HttpServlet
|
|
||||||
{
|
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void doGet( HttpServletRequest req, HttpServletResponse resp )
|
|
||||||
throws ServletException, IOException
|
|
||||||
{
|
|
||||||
String who = req.getParameter( "name" );
|
|
||||||
|
|
||||||
resp.getWriter().write( "pong " + (who == null ? "unknown" : who) );
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -0,0 +1,45 @@
|
||||||
|
//
|
||||||
|
// ========================================================================
|
||||||
|
// Copyright (c) 1995-2017 Mort Bay Consulting Pty. Ltd.
|
||||||
|
// ------------------------------------------------------------------------
|
||||||
|
// All rights reserved. This program and the accompanying materials
|
||||||
|
// are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
// and Apache License v2.0 which accompanies this distribution.
|
||||||
|
//
|
||||||
|
// The Eclipse Public License is available at
|
||||||
|
// http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
//
|
||||||
|
// The Apache License v2.0 is available at
|
||||||
|
// http://www.opensource.org/licenses/apache2.0.php
|
||||||
|
//
|
||||||
|
// You may elect to redistribute this code under either of these licenses.
|
||||||
|
// ========================================================================
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
|
import javax.servlet.ServletException;
|
||||||
|
import javax.servlet.annotation.WebServlet;
|
||||||
|
import javax.servlet.http.HttpServlet;
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@WebServlet("/hello")
|
||||||
|
public class HelloServlet
|
||||||
|
extends HttpServlet
|
||||||
|
{
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void doGet( HttpServletRequest req, HttpServletResponse resp )
|
||||||
|
throws ServletException, IOException
|
||||||
|
{
|
||||||
|
String who = req.getParameter( "name" );
|
||||||
|
|
||||||
|
resp.getWriter().write( "hello " + (who == null ? "unknown" : who) );
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,41 @@
|
||||||
|
//
|
||||||
|
// ========================================================================
|
||||||
|
// Copyright (c) 1995-2017 Mort Bay Consulting Pty. Ltd.
|
||||||
|
// ------------------------------------------------------------------------
|
||||||
|
// All rights reserved. This program and the accompanying materials
|
||||||
|
// are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
// and Apache License v2.0 which accompanies this distribution.
|
||||||
|
//
|
||||||
|
// The Eclipse Public License is available at
|
||||||
|
// http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
//
|
||||||
|
// The Apache License v2.0 is available at
|
||||||
|
// http://www.opensource.org/licenses/apache2.0.php
|
||||||
|
//
|
||||||
|
// You may elect to redistribute this code under either of these licenses.
|
||||||
|
// ========================================================================
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
|
import javax.servlet.ServletException;
|
||||||
|
import javax.servlet.annotation.WebServlet;
|
||||||
|
import javax.servlet.http.HttpServlet;
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
|
public class PingServlet
|
||||||
|
extends HttpServlet
|
||||||
|
{
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void doGet( HttpServletRequest req, HttpServletResponse resp )
|
||||||
|
throws ServletException, IOException
|
||||||
|
{
|
||||||
|
String who = req.getParameter( "name" );
|
||||||
|
|
||||||
|
resp.getWriter().write( "pong " + (who == null ? "unknown" : who) );
|
||||||
|
}
|
||||||
|
}
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<servlet>
|
<servlet>
|
||||||
<servlet-name>Ping</servlet-name>
|
<servlet-name>Ping</servlet-name>
|
||||||
<servlet-class>com.webtide.jetty.its.jetty_run_mojo_it.PingServlet</servlet-class>
|
<servlet-class>org.eclipse.jetty.its.jetty_run_mojo_it.PingServlet</servlet-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<param-name>extra1</param-name><param-value>123</param-value>
|
<param-name>extra1</param-name><param-value>123</param-value>
|
||||||
</init-param>
|
</init-param>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.webtide.jetty.its.jetty-start-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-start-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.webtide.jetty.its.jetty-start-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-start-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-base</artifactId>
|
<artifactId>jetty-simple-base</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
package com.webtide.jetty.its.jetty_run_mojo_it;
|
package org.eclipse.jetty.its.jetty_run_mojo_it;
|
||||||
|
|
||||||
import org.eclipse.jetty.client.HttpClient;
|
import org.eclipse.jetty.client.HttpClient;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
|
@ -3,7 +3,7 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.webtide.jetty.its.jetty-start-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-start-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-project</artifactId>
|
<artifactId>jetty-simple-project</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.webtide.jetty.its.jetty-start-mojo-it</groupId>
|
<groupId>org.eclipse.jetty.its.jetty-start-mojo-it</groupId>
|
||||||
<artifactId>jetty-simple-base</artifactId>
|
<artifactId>jetty-simple-base</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
Loading…
Reference in New Issue