From e5033fc41be910c0f80d73c10e2baa4737569bfb Mon Sep 17 00:00:00 2001 From: snicoll Date: Mon, 17 Apr 2006 15:22:05 +0000 Subject: [PATCH] MPWAR-32: Fixed inclusion of LICENSE file in war git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@394695 13f79535-47bb-0310-9956-ffa450edef68 --- war/plugin.jelly | 3 + war/src/plugin-test/test02/LICENSE.txt | 1 + war/src/plugin-test/test02/maven.xml | 39 +++++++++++++ war/src/plugin-test/test02/project.properties | 1 + war/src/plugin-test/test02/project.xml | 55 +++++++++++++++++++ .../plugin-test/test02/src/webapp/index.html | 25 +++++++++ 6 files changed, 124 insertions(+) create mode 100644 war/src/plugin-test/test02/LICENSE.txt create mode 100644 war/src/plugin-test/test02/maven.xml create mode 100644 war/src/plugin-test/test02/project.properties create mode 100644 war/src/plugin-test/test02/project.xml create mode 100644 war/src/plugin-test/test02/src/webapp/index.html diff --git a/war/plugin.jelly b/war/plugin.jelly index 516c8885..8c73f681 100644 --- a/war/plugin.jelly +++ b/war/plugin.jelly @@ -62,6 +62,9 @@ destfile="${maven.war.build.dir}/${maven.war.final.name}" basedir="${maven.war.webapp.dir}" index="${maven.war.index}"> + + + diff --git a/war/src/plugin-test/test02/LICENSE.txt b/war/src/plugin-test/test02/LICENSE.txt new file mode 100644 index 00000000..6192027b --- /dev/null +++ b/war/src/plugin-test/test02/LICENSE.txt @@ -0,0 +1 @@ +Sample license \ No newline at end of file diff --git a/war/src/plugin-test/test02/maven.xml b/war/src/plugin-test/test02/maven.xml new file mode 100644 index 00000000..2ae6a407 --- /dev/null +++ b/war/src/plugin-test/test02/maven.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/war/src/plugin-test/test02/project.properties b/war/src/plugin-test/test02/project.properties new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/war/src/plugin-test/test02/project.properties @@ -0,0 +1 @@ + diff --git a/war/src/plugin-test/test02/project.xml b/war/src/plugin-test/test02/project.xml new file mode 100644 index 00000000..ec628ede --- /dev/null +++ b/war/src/plugin-test/test02/project.xml @@ -0,0 +1,55 @@ + + + + + + 3 + test-maven-war-plugin-license + Maven War Plugin 02 + maven + 1.0 + + Apache Software Foundation + http://www.apache.org/ + http://maven.apache.org/images/apache-maven-project.png + + 2001 + org.apache.maven + http://maven.apache.org/images/maven.gif + Test for Maven War plugin, tests property maven.war.manifest + test for maven.war.manifest + http://maven.apache.org/maven-1.x/plugins/war/ + /www/maven.apache.org/maven-1.x/plugins/war/ + + scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/war/ + http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/war/ + + + + commons-logging + commons-logging + 1.0.4 + http://jakarta.apache.org/commons/logging.html + + true + true + + + + diff --git a/war/src/plugin-test/test02/src/webapp/index.html b/war/src/plugin-test/test02/src/webapp/index.html new file mode 100644 index 00000000..71af9dd6 --- /dev/null +++ b/war/src/plugin-test/test02/src/webapp/index.html @@ -0,0 +1,25 @@ + + + +

Simple WebApp Home

+

+ This is a html page for Simple Web App +

+ + \ No newline at end of file