blob: 41da61e6116860d627c3a21b02e6e116021eb926 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2015 BSI Business Systems Integration AG.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
BSI Business Systems Integration AG - initial API and implementation
-->
<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_sdk_plugin_config-master</artifactId>
<version>1.3.2-SNAPSHOT</version>
<relativePath>../maven_sdk_plugin_config-master</relativePath>
</parent>
<artifactId>maven_sdk_p2_plugin_config-master</artifactId>
<packaging>pom</packaging>
<properties />
<build>
<pluginManagement>
<plugins />
</pluginManagement>
</build>
<reporting>
<plugins />
</reporting>
<profiles>
<profile>
<!-- Only create the jandex.idx when a scout.xml is found -->
<id>jandex-idx</id>
<activation>
<file>
<exists>${basedir}/src/main/resources/META-INF/scout.xml</exists>
</file>
</activation>
<build>
<plugins>
<!-- Create META-INF/jandex.idx -->
<plugin>
<groupId>org.jboss.jandex</groupId>
<artifactId>jandex-maven-plugin</artifactId>
<executions>
<execution>
<id>make-index</id>
<goals>
<goal>jandex</goal>
</goals>
<!-- phase is 'process-classes by default' -->
<configuration>
<!-- Nothing needed here for simple cases -->
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>