re-adds context.xml (it only worked because the already deployed context.xml was not deleted...)

Sat, 16 May 2020 17:22:45 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 16 May 2020 17:22:45 +0200
changeset 56
11b1e7153496
parent 55
1a3b998afba7
child 57
1262b5433644

re-adds context.xml (it only worked because the already deployed context.xml was not deleted...)

pom.xml file | annotate | diff | comparison | revisions
src/main/resources/META-INF/context.xml file | annotate | diff | comparison | revisions
--- a/pom.xml	Sat May 16 17:22:02 2020 +0200
+++ b/pom.xml	Sat May 16 17:22:45 2020 +0200
@@ -56,6 +56,13 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-war-plugin</artifactId>
                 <version>${version.maven.war}</version>
+                <configuration>
+                    <webResources>
+                        <resource>
+                            <directory>${project.basedir}/src/main/resources</directory>
+                        </resource>
+                    </webResources>
+                </configuration>
             </plugin>
         </plugins>
     </build>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/resources/META-INF/context.xml	Sat May 16 17:22:45 2020 +0200
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Context path="/lightpit">
+    <ResourceLink name="jdbc/lightpit/app"
+                  global="jdbc/lightpit/app"
+                  type="javax.sql.DataSource" />
+</Context>

mercurial