From 61e6db7a4ae38ad2f2cf597285a138cf54fa46bc Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 9 Dec 2011 00:26:53 +0000 Subject: [PATCH] add structure for javascript webapp: module available only in a profile called js git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1212195 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-web/archiva-webapp-js/pom.xml | 30 +++++++++++++++++++ .../src/main/webapp/WEB-INF/web.xml | 7 +++++ .../src/main/webapp/index.jsp | 5 ++++ archiva-modules/archiva-web/pom.xml | 11 +++++-- 4 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 archiva-modules/archiva-web/archiva-webapp-js/pom.xml create mode 100644 archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/WEB-INF/web.xml create mode 100644 archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.jsp diff --git a/archiva-modules/archiva-web/archiva-webapp-js/pom.xml b/archiva-modules/archiva-web/archiva-webapp-js/pom.xml new file mode 100644 index 000000000..01efe76fc --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp-js/pom.xml @@ -0,0 +1,30 @@ + + + + 4.0.0 + + org.apache.archiva + archiva-modules + 1.4-M2-SNAPSHOT + + archiva-webapp-js + 1.4-M2-SNAPSHOT + war + + Archiva Web :: Javascript Application + + diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/WEB-INF/web.xml b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 000000000..9f88c1f96 --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,7 @@ + + + + Archetype Created Web Application + diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.jsp b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.jsp new file mode 100644 index 000000000..c38169bb9 --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.jsp @@ -0,0 +1,5 @@ + + +

Hello World!

+ + diff --git a/archiva-modules/archiva-web/pom.xml b/archiva-modules/archiva-web/pom.xml index 3c035333f..8185f80f0 100644 --- a/archiva-modules/archiva-web/pom.xml +++ b/archiva-modules/archiva-web/pom.xml @@ -13,7 +13,8 @@ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. - --> + --> + 4.0.0 org.apache.archiva @@ -59,5 +60,11 @@ archiva-webapp-test + + js + + archiva-webapp-js + + - + \ No newline at end of file