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
     1.1 --- a/pom.xml	Sat May 16 17:22:02 2020 +0200
     1.2 +++ b/pom.xml	Sat May 16 17:22:45 2020 +0200
     1.3 @@ -56,6 +56,13 @@
     1.4                  <groupId>org.apache.maven.plugins</groupId>
     1.5                  <artifactId>maven-war-plugin</artifactId>
     1.6                  <version>${version.maven.war}</version>
     1.7 +                <configuration>
     1.8 +                    <webResources>
     1.9 +                        <resource>
    1.10 +                            <directory>${project.basedir}/src/main/resources</directory>
    1.11 +                        </resource>
    1.12 +                    </webResources>
    1.13 +                </configuration>
    1.14              </plugin>
    1.15          </plugins>
    1.16      </build>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/src/main/resources/META-INF/context.xml	Sat May 16 17:22:45 2020 +0200
     2.3 @@ -0,0 +1,6 @@
     2.4 +<?xml version="1.0" encoding="UTF-8"?>
     2.5 +<Context path="/lightpit">
     2.6 +    <ResourceLink name="jdbc/lightpit/app"
     2.7 +                  global="jdbc/lightpit/app"
     2.8 +                  type="javax.sql.DataSource" />
     2.9 +</Context>

mercurial