diff --git a/mirror/build.xml b/mirror/build.xml deleted file mode 100644 index 0b59974..0000000 --- a/mirror/build.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/mirror/web.xml b/mirror/web.xml deleted file mode 100644 index a4e2df5..0000000 --- a/mirror/web.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - Mirror - - This is a simple web application with a source code organization - based on the recommendations of the Application Developer's Guide. - - - - Mirror - com.olexyn.mirror.Mirror - - - - Mirror - /core - - - diff --git a/mirror/web/hello.jsp b/mirror/web/hello.jsp deleted file mode 100644 index 9596088..0000000 --- a/mirror/web/hello.jsp +++ /dev/null @@ -1,23 +0,0 @@ - - -Sample Application JSP Page - - - - - - - - -
- - -

Sample Application JSP Page

-This is the output of a JSP page that is part of the Hello, World -application. -
- -<%= new String("Hello!") %> - - - diff --git a/mirror/web/images/tomcat.gif b/mirror/web/images/tomcat.gif deleted file mode 100644 index 32f7d80..0000000 Binary files a/mirror/web/images/tomcat.gif and /dev/null differ diff --git a/mirror/web/index.html b/mirror/web/index.html deleted file mode 100644 index d82bd2a..0000000 --- a/mirror/web/index.html +++ /dev/null @@ -1,25 +0,0 @@ - - -Mirror - - - - - - - - -
- - -

Mirror

-
- - - - - diff --git a/mirror/README.md b/misp-mirror/README.md similarity index 100% rename from mirror/README.md rename to misp-mirror/README.md diff --git a/misp-mirror/install-locally.sh b/misp-mirror/install-locally.sh new file mode 100755 index 0000000..e72296e --- /dev/null +++ b/misp-mirror/install-locally.sh @@ -0,0 +1,10 @@ +#!/bin/bash +version="0.1" +file="target/misp-mirror-${version}.war" +groupId="com.olexyn.misp.mirror" +artifactId="misp-mirror" + + + +mvn package +mvn install:install-file -Dfile=${file} -DgroupId=${groupId} -DartifactId=${artifactId} -Dversion=${version} -Dpackaging=war -DgeneratePom=true diff --git a/misp-mirror/pom.xml b/misp-mirror/pom.xml new file mode 100644 index 0000000..fcc6d6d --- /dev/null +++ b/misp-mirror/pom.xml @@ -0,0 +1,90 @@ + + + + 4.0.0 + + com.olexyn.misp.mirror + misp-mirror + 0.1 + war + + misp-mirror Maven Webapp + + http://www.example.com + + + UTF-8 + 1.7 + 1.7 + + + + + junit + junit + 4.11 + test + + + com.olexyn.misp.helper + misp-helper + 0.1 + compile + + + commons-io + commons-io + 2.6 + compile + + + org.eclipse.jetty.orbit + javax.servlet + 3.0.0.v201112011016 + compile + + + org.json + json + 20190722 + compile + + + + + + + + maven-clean-plugin + 3.1.0 + + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.8.0 + + + maven-surefire-plugin + 2.22.1 + + + maven-war-plugin + 3.2.2 + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + + + diff --git a/mirror/src/com/olexyn/mirror/Mirror.java b/misp-mirror/src/main/java/com/olexyn/misp/mirror/Mirror.java similarity index 98% rename from mirror/src/com/olexyn/mirror/Mirror.java rename to misp-mirror/src/main/java/com/olexyn/misp/mirror/Mirror.java index df7fa25..a5ce338 100644 --- a/mirror/src/com/olexyn/mirror/Mirror.java +++ b/misp-mirror/src/main/java/com/olexyn/misp/mirror/Mirror.java @@ -1,4 +1,4 @@ -package com.olexyn.mirror; +package com.olexyn.misp.mirror; import com.olexyn.misp.helper.Ride; import com.olexyn.misp.helper.WebPrint; diff --git a/misp-mirror/src/main/webapp/WEB-INF/web.xml b/misp-mirror/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..7177bd2 --- /dev/null +++ b/misp-mirror/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,23 @@ + + + + + + misp-mirror + + + misp-mirror + com.olexyn.misp.mirror.Mirror + + + + misp-mirror + /core + + + diff --git a/misp-mirror/src/main/webapp/images/io42630.png b/misp-mirror/src/main/webapp/images/io42630.png new file mode 100644 index 0000000..01d99bf Binary files /dev/null and b/misp-mirror/src/main/webapp/images/io42630.png differ diff --git a/misp-mirror/src/main/webapp/index.jsp b/misp-mirror/src/main/webapp/index.jsp new file mode 100644 index 0000000..11324db --- /dev/null +++ b/misp-mirror/src/main/webapp/index.jsp @@ -0,0 +1,20 @@ + + +misp-mirror + + + + + + + + + + +
+ +
+

misp-mirror

+
+ +