blob: dd02a2b0a3e19e4c405aafeeb864e1c5759d166c [file] [log] [blame]
<?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>org.eclipse.scout</groupId>
<artifactId>maven_rt_plugin_config-master</artifactId>
<version>3.0.0</version>
<relativePath />
</parent>
<properties>
<jdk.source.version>${javaVersion}</jdk.source.version>
<org.eclipse.scout.rt.version>8.0.0.019_Simrel_2018_09_RC1</org.eclipse.scout.rt.version>
<org.glassfish.jersey.version>2.27</org.glassfish.jersey.version>
<org.jooq.version>3.11.1</org.jooq.version>
<derby.version>10.14.2.0</derby.version>
</properties>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}</artifactId>
<version>${version}</version>
<packaging>pom</packaging>
<name>${displayName}</name>
<modules>
<!-- Core modules -->
<module>../${rootArtifactId}.ui</module>
<module>../${rootArtifactId}.api</module>
<module>../${rootArtifactId}.core</module>
<module>../${rootArtifactId}.data</module>
<module>../${rootArtifactId}.persistence</module>
<!-- App modules -->
<module>../${rootArtifactId}.app</module>
<module>../${rootArtifactId}.app.war</module>
<!-- Test modules -->
<module>../${rootArtifactId}.core.test</module>
<module>../${rootArtifactId}.persistence.test</module>
<!-- DB modules -->
<module>../${rootArtifactId}.db</module>
</modules>
<dependencyManagement>
<dependencies>
<!-- Scout Dependencies -->
<dependency>
<groupId>org.eclipse.scout.rt</groupId>
<artifactId>org.eclipse.scout.rt</artifactId>
<version>${org.eclipse.scout.rt.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- External Dependencies -->
<dependency>
<groupId>org.glassfish.jersey</groupId>
<artifactId>jersey-bom</artifactId>
<version>${org.glassfish.jersey.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq-parent</artifactId>
<version>${org.jooq.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>${derby.version}</version>
</dependency>
<!-- Application dependencies -->
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}.ui</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}.app</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}.app.dev</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}.app.war</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}.api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}.core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}.persistence</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}.data</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}.core.test</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}.db</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.scout</groupId>
<artifactId>eclipse-settings-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.eclipse.scout.rt</groupId>
<artifactId>org.eclipse.scout.rt-settings</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<configuration>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>webapp_src_folder</id>
<activation>
<file>
<exists>${basedir}/src/main/webapp</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-webapp-resource</id>
<goals>
<goal>add-resource</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<resources>
<resource>
<directory>src/main/webapp</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>eclipse.release</id>
<name>eclipse-release-repo</name>
<url>https://repo.eclipse.org/content/groups/releases/</url>
</repository>
<repository>
<snapshots></snapshots>
<id>eclipse.snapshot</id>
<name>eclipse-snapshot-repo</name>
<url>https://repo.eclipse.org/content/groups/snapshots/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>eclipse.release</id>
<name>eclipse-release-repo</name>
<url>https://repo.eclipse.org/content/groups/releases/</url>
</pluginRepository>
<pluginRepository>
<snapshots></snapshots>
<id>eclipse.snapshot</id>
<name>eclipse-snapshot-repo</name>
<url>https://repo.eclipse.org/content/groups/snapshots/</url>
</pluginRepository>
</pluginRepositories>
</project>