Files
quarkus/devtools/platform-descriptor-json/pom.xml
George Gastaldi e9e865b1cf Fixes Idea modules issue while importing the project.
In IDEA, when importing `devtools/gradle` as a Gradle project, in Project Structure, if you click to remove the `quarkus-gradle-plugin` project, and apply, the following message is displayed:

```
Content root "<WORKSPACE>/quarkus/bom/runtime" is defined for modules "quarkus-bom" and "quarkus-platform-descriptor-json".
Two modules in a project cannot share the same content root
```

This is because the `<resource>` entries in `platform-descriptor-json` are set to other projects, which may produce unpredictable results in IDEs.
2019-11-28 21:45:04 -03:00

99 lines
3.9 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>io.quarkus</groupId>
<artifactId>quarkus-devtools-all</artifactId>
<version>999-SNAPSHOT</version>
</parent>
<artifactId>quarkus-platform-descriptor-json</artifactId>
<name>Quarkus - Dev tools - Platform Descriptor - JSON</name>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/filtered</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-bom</id>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bom</artifactId>
<version>${project.version}</version>
<type>pom</type>
<outputDirectory>${project.build.outputDirectory}/quarkus-bom</outputDirectory>
<destFileName>pom.xml</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>copy-bom-descriptor-json</id>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bom-descriptor-json</artifactId>
<version>${project.version}</version>
<type>json</type>
<outputDirectory>${project.build.outputDirectory}/quarkus-bom-descriptor</outputDirectory>
<destFileName>extensions.json</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-devtools-common</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-core</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bom-descriptor-json</artifactId>
<version>${project.version}</version>
<type>json</type>
</dependency>
<!-- extensions reader -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>