<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-swing-bridge</artifactId>
    <version>1.3-SNAPSHOT</version>
  </parent>

  <groupId>com.swingcrm</groupId>
  <artifactId>netbeans-rcp-app</artifactId>
  <packaging>pom</packaging>

  <name>NetBeans RCP CRM Example (parent)</name>
  <description>NetBeans Platform / RCP CRM example application used by SwingBridge to evaluate RCP compatibility. Standard nbm-application multi-module layout (parent + branding + application + feature).</description>

  <modules>
    <module>branding</module>
    <module>feature</module>
    <module>application</module>
  </modules>

  <properties>
    <maven.compiler.source>21</maven.compiler.source>
    <maven.compiler.target>21</maven.compiler.target>
    <netbeans.version>RELEASE250</netbeans.version>
    <nbm-maven-plugin.version>14.4</nbm-maven-plugin.version>
    <branding.token>swingcrm</branding.token>
    <spotless.license-header>https://github.com/vaadin/flow/raw/main/eclipse/apache2-license-header.txt</spotless.license-header>
  </properties>

  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.netbeans.utilities</groupId>
          <artifactId>nbm-maven-plugin</artifactId>
          <version>${nbm-maven-plugin.version}</version>
          <extensions>true</extensions>
          <configuration>
            <brandingToken>${branding.token}</brandingToken>
            <cluster>${branding.token}</cluster>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jar-plugin</artifactId>
          <configuration>
            <archive>
              <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
            </archive>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
</project>
