150 lines
5.7 KiB
XML
150 lines
5.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>ch.psi</groupId>
|
|
<artifactId>fda.ui</artifactId>
|
|
<version>1.1.28</version>
|
|
</parent>
|
|
|
|
<artifactId>application</artifactId>
|
|
<packaging>nbm-application</packaging>
|
|
|
|
<name>fda.ui - NB App</name>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<netbeans.run.params.ide/>
|
|
<netbeans.run.params>${netbeans.run.params.ide}</netbeans.run.params>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.netbeans.cluster</groupId>
|
|
<artifactId>platform</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
<type>pom</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>branding</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<!-- To run NbModuleSuite functional tests in src/test/java, use nbjunit (assumes RELEASE70 or later):
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-modules-nbjunit</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
-->
|
|
<!-- To use Jelly in your functional tests, add or replace with:
|
|
<dependency>
|
|
<groupId>org.netbeans.api</groupId>
|
|
<artifactId>org-netbeans-modules-jellytools-platform</artifactId>
|
|
<version>${netbeans.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
-->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>fda.ui.cm</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>fda.ui.ce</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>fda.ui.ee</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>fda.ui.preferences</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>fda.ui.cdump</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>nbm-maven-plugin</artifactId>
|
|
<configuration>
|
|
<etcConfFile>src/main/resources/fda.conf</etcConfFile>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- To run NbModuleSuite in integration-test phase:
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.7.1</version>
|
|
<configuration>
|
|
<systemProperties>
|
|
<property>
|
|
<name>cluster.path.final</name>
|
|
<value>${project.build.directory}/${brandingToken}/${brandingToken}:${project.build.directory}/${brandingToken}/platform</value>
|
|
</property>
|
|
</systemProperties>
|
|
</configuration>
|
|
</plugin>
|
|
-->
|
|
<!-- Copy additional start scripts to bin folder -->
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.5</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-resources</id>
|
|
<!-- here the phase you need -->
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${basedir}/target/fda/bin</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/scripts</directory>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>deployment</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>nbm-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>extra</id>
|
|
<goals>
|
|
<goal>autoupdate</goal>
|
|
<goal>webstart-app</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|