diff options
author | Olivier Lamy <olamy@apache.org> | 2011-12-09 00:26:53 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-12-09 00:26:53 +0000 |
commit | 61e6db7a4ae38ad2f2cf597285a138cf54fa46bc (patch) | |
tree | a4c44674d3316f6795f718403e8c4aca9cfe0876 /archiva-modules/archiva-web | |
parent | fa3514a92d31cf1d3ecfacfbe88b3dd0724bd32f (diff) | |
download | archiva-61e6db7a4ae38ad2f2cf597285a138cf54fa46bc.tar.gz archiva-61e6db7a4ae38ad2f2cf597285a138cf54fa46bc.zip |
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
Diffstat (limited to 'archiva-modules/archiva-web')
4 files changed, 51 insertions, 2 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright 2005-2006 The Apache Software Foundation.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ 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.
+ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.archiva</groupId>
+ <artifactId>archiva-modules</artifactId>
+ <version>1.4-M2-SNAPSHOT</version>
+ </parent>
+ <artifactId>archiva-webapp-js</artifactId>
+ <version>1.4-M2-SNAPSHOT</version>
+ <packaging>war</packaging>
+
+ <name>Archiva Web :: Javascript Application</name>
+
+</project>
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 @@ +<!DOCTYPE web-app PUBLIC + "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" + "http://java.sun.com/dtd/web-app_2_3.dtd" > + +<web-app> + <display-name>Archetype Created Web Application</display-name> +</web-app> 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 @@ +<html> +<body> +<h2>Hello World!</h2> +</body> +</html> 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. - --><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + --> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.archiva</groupId> @@ -59,5 +60,11 @@ <module>archiva-webapp-test</module> </modules> </profile> + <profile> + <id>js</id> + <modules> + <module>archiva-webapp-js</module> + </modules> + </profile> </profiles> -</project> +</project>
\ No newline at end of file |