| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You 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.myfaces.tobago</groupId> |
| <artifactId>tobago-example</artifactId> |
| <version>5.0.0-SNAPSHOT</version> |
| </parent> |
| <artifactId>tobago-example-spring-boot</artifactId> |
| <packaging>jar</packaging> |
| <name>Tobago Example Spring Boot</name> |
| <description>A minimal Tobago application with spring boot</description> |
| |
| <build> |
| <finalName>tobago-example-spring-boot</finalName> |
| |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.joinfaces</groupId> |
| <artifactId>joinfaces-maven-plugin</artifactId> |
| <version>${joinfaces.version}</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>classpath-scan</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.joinfaces</groupId> |
| <artifactId>joinfaces-maven-plugin</artifactId> |
| <version>${joinfaces.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| <version>${spring-boot.version}</version> |
| </plugin> |
| </plugins> |
| </build> |
| |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <!-- Import dependency management from Spring Boot --> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-dependencies</artifactId> |
| <version>${spring-boot.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.joinfaces</groupId> |
| <artifactId>joinfaces-dependencies</artifactId> |
| <version>${joinfaces.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.joinfaces</groupId> |
| <artifactId>jsf-spring-boot-starter</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>jarkata.faces</groupId> |
| <artifactId>jakarta.faces-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.glassfish</groupId> |
| <artifactId>jakarta.faces</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.joinfaces</groupId> |
| <artifactId>mojarra-spring-boot-starter</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.joinfaces</groupId> |
| <artifactId>myfaces-spring-boot-starter</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.enterprise</groupId> |
| <artifactId>cdi-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.joinfaces</groupId> |
| <artifactId>tomcat-spring-boot-starter</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>org.glassfish</groupId> |
| <artifactId>jakarta.el</artifactId> |
| </exclusion> |
| <!-- tomcat version set were: fix CVE in tomcat-spring-boot-starter --> |
| <!-- |
| <exclusion> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-jasper</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-websocket</artifactId> |
| </exclusion> |
| --> |
| </exclusions> |
| </dependency> |
| <!-- tomcat version set ware: fix CVE in tomcat-spring-boot-starter --> |
| <!-- |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-core</artifactId> |
| <version>9.0.41</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-jasper</artifactId> |
| <version>9.0.41</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-websocket</artifactId> |
| <version>9.0.41</version> |
| </dependency> |
| --> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-web</artifactId> |
| </dependency> |
| <dependency> <!-- add JAXB to run the demo with Java 11 and higher --> |
| <groupId>javax.xml.bind</groupId> |
| <artifactId>jaxb-api</artifactId> |
| </dependency> |
| </dependencies> |
| </project> |