92 lines
2.7 KiB
XML
92 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>space.barrx</groupId>
|
|
<artifactId>gwtdemo</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>gwtdemo-server</artifactId>
|
|
<packaging>war</packaging>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gwtdemo-shared</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gwtproject</groupId>
|
|
<artifactId>gwt-servlet-jakarta</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.servlet</groupId>
|
|
<artifactId>jakarta.servlet-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.jetty.ee10</groupId>
|
|
<artifactId>jetty-ee10-maven-plugin</artifactId>
|
|
<configuration>
|
|
<scan>1</scan>
|
|
<contextXml>${basedir}/src/main/jettyconf/context.xml</contextXml>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<!-- XXX: We want to exclude gwtdemo-client from 'env-dev' profile, Maven forces us to make a 'env-prod' profile -->
|
|
<id>env-prod</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gwtdemo-client</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>war</type>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>env-dev</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>dev</value>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.jetty.ee10</groupId>
|
|
<artifactId>jetty-ee10-maven-plugin</artifactId>
|
|
<configuration>
|
|
<webApp>
|
|
<resourceBases>
|
|
<resourceBase>${basedir}/src/main/webapp</resourceBase>
|
|
<resourceBase>${project.build.directory}/gwt/launcherDir/</resourceBase>
|
|
</resourceBases>
|
|
</webApp>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|