pom.xml

Sat, 09 May 2020 14:26:31 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 09 May 2020 14:26:31 +0200
changeset 29
27a0fdd7bca7
child 48
63200a99ea77
permissions
-rw-r--r--

converts to maven project

     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
     3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     4     <modelVersion>4.0.0</modelVersion>
     5     <groupId>de.uapcore</groupId>
     6     <artifactId>lightpit</artifactId>
     7     <version>0.1-SNAPSHOT</version>
     8     <packaging>war</packaging>
     9     <properties>
    10         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    11         <maven.compiler.source>11</maven.compiler.source>
    12         <maven.compiler.target>11</maven.compiler.target>
    13         <version.maven.compiler>3.8.1</version.maven.compiler>
    14         <version.maven.war>3.2.0</version.maven.war>
    15         <version.slf4j>1.7.30</version.slf4j>
    16         <version.log4j>2.13.1</version.log4j>
    17     </properties>
    18     <dependencies>
    19         <dependency>
    20             <groupId>org.slf4j</groupId>
    21             <artifactId>slf4j-api</artifactId>
    22             <version>${version.slf4j}</version>
    23         </dependency>
    24         <dependency>
    25             <groupId>org.apache.logging.log4j</groupId>
    26             <artifactId>log4j-core</artifactId>
    27             <version>${version.log4j}</version>
    28         </dependency>
    29         <dependency>
    30             <groupId>org.apache.logging.log4j</groupId>
    31             <artifactId>log4j-slf4j-impl</artifactId>
    32             <version>${version.log4j}</version>
    33         </dependency>
    34         <dependency>
    35             <groupId>javax.servlet</groupId>
    36             <artifactId>jstl</artifactId>
    37             <version>1.2</version>
    38         </dependency>
    39         <dependency>
    40             <groupId>javax.servlet</groupId>
    41             <artifactId>javax.servlet-api</artifactId>
    42             <version>3.1.0</version>
    43             <scope>provided</scope>
    44         </dependency>
    45     </dependencies>
    46     <build>
    47         <finalName>${project.artifactId}</finalName>
    48         <plugins>
    49             <plugin>
    50                 <groupId>org.apache.maven.plugins</groupId>
    51                 <artifactId>maven-compiler-plugin</artifactId>
    52                 <version>${version.maven.compiler}</version>
    53             </plugin>
    54             <plugin>
    55                 <groupId>org.apache.maven.plugins</groupId>
    56                 <artifactId>maven-war-plugin</artifactId>
    57                 <version>${version.maven.war}</version>
    58                 <configuration>
    59                     <archive>
    60                         <manifest>
    61                             <addClasspath>true</addClasspath>
    62                             <classpathPrefix>lib/</classpathPrefix>
    63                         </manifest>
    64                     </archive>
    65                     <webResources>
    66                         <resource>
    67                             <directory>${project.basedir}/src/main/resources</directory>
    68                         </resource>
    69                     </webResources>
    70                 </configuration>
    71             </plugin>
    72         </plugins>
    73     </build>
    74 </project>

mercurial