|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + ~ Copyright 2019 Red Hat, Inc. |
| 4 | + ~ |
| 5 | + ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + ~ you may not use this file except in compliance with the License. |
| 7 | + ~ You may obtain a copy of the License at |
| 8 | + ~ |
| 9 | + ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | + ~ |
| 11 | + ~ Unless required by applicable law or agreed to in writing, software |
| 12 | + ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + ~ See the License for the specific language governing permissions and |
| 15 | + ~ limitations under the License. |
| 16 | + --> |
| 17 | + |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 19 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 20 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 21 | + <parent> |
| 22 | + <artifactId>wildfly-microprofile-graphql-parent</artifactId> |
| 23 | + <groupId>org.wildfly.extras.graphql</groupId> |
| 24 | + <version>1.0.0-SNAPSHOT</version> |
| 25 | + </parent> |
| 26 | + <modelVersion>4.0.0</modelVersion> |
| 27 | + |
| 28 | + <artifactId>wildfly-microprofile-graphql-feature-pack</artifactId> |
| 29 | + <packaging>pom</packaging> |
| 30 | + |
| 31 | + <name>WildFly MicroProfile GraphQL - Feature Pack</name> |
| 32 | + |
| 33 | + <properties> |
| 34 | + <license.output.directory>${project.build.directory}/resources/content/docs/licenses</license.output.directory> |
| 35 | + <license.src.directory>${basedir}/src/license</license.src.directory> |
| 36 | + </properties> |
| 37 | + |
| 38 | + <build> |
| 39 | + <finalName>${server.name}</finalName> |
| 40 | + <plugins> |
| 41 | + <plugin> |
| 42 | + <groupId>org.apache.maven.plugins</groupId> |
| 43 | + <artifactId>maven-resources-plugin</artifactId> |
| 44 | + <executions> |
| 45 | + <execution> |
| 46 | + <id>copy-resources</id> |
| 47 | + <phase>process-resources</phase> |
| 48 | + <goals> |
| 49 | + <goal>copy-resources</goal> |
| 50 | + </goals> |
| 51 | + <configuration> |
| 52 | + <outputDirectory>${basedir}/target/resources</outputDirectory> |
| 53 | + <resources> |
| 54 | + <resource> |
| 55 | + <directory>${basedir}/src/main/resources</directory> |
| 56 | + </resource> |
| 57 | + </resources> |
| 58 | + </configuration> |
| 59 | + </execution> |
| 60 | + </executions> |
| 61 | + </plugin> |
| 62 | + <plugin> |
| 63 | + <groupId>org.wildfly.galleon-plugins</groupId> |
| 64 | + <artifactId>wildfly-galleon-maven-plugin</artifactId> |
| 65 | + <version>${version.org.wildfly.galleon-plugins}</version> |
| 66 | + <executions> |
| 67 | + <execution> |
| 68 | + <id>wildfly-mp-graphql-feature-pack-build</id> |
| 69 | + <goals> |
| 70 | + <goal>build-feature-pack</goal> |
| 71 | + </goals> |
| 72 | + <phase>compile</phase> |
| 73 | + <configuration> |
| 74 | + <fork-embedded>${galleon.fork.embedded}</fork-embedded> |
| 75 | + </configuration> |
| 76 | + </execution> |
| 77 | + </executions> |
| 78 | + </plugin> |
| 79 | + <plugin> |
| 80 | + <groupId>org.wildfly.maven.plugins</groupId> |
| 81 | + <artifactId>licenses-plugin</artifactId> |
| 82 | + <inherited>false</inherited> |
| 83 | + <executions> |
| 84 | + <execution> |
| 85 | + <id>update-licenses-xml</id> |
| 86 | + <goals> |
| 87 | + <goal>insert-versions</goal> |
| 88 | + </goals> |
| 89 | + <phase>process-resources</phase> |
| 90 | + <configuration> |
| 91 | + <sortByGroupIdAndArtifactId>true</sortByGroupIdAndArtifactId> |
| 92 | + <licensesConfigFile>${license.src.directory}/microprofile-graphql-feature-pack-licenses.xml</licensesConfigFile> |
| 93 | + <licensesOutputFile>${license.output.directory}/microprofile-graphql-feature-pack-licenses.xml</licensesOutputFile> |
| 94 | + </configuration> |
| 95 | + </execution> |
| 96 | + </executions> |
| 97 | + </plugin> |
| 98 | + </plugins> |
| 99 | + </build> |
| 100 | + <dependencies> |
| 101 | + <!-- Other feature pack dependencies --> |
| 102 | + <dependency> |
| 103 | + <groupId>org.wildfly</groupId> |
| 104 | + <artifactId>wildfly-galleon-pack</artifactId> |
| 105 | + <version>${version.org.wildfly}</version> |
| 106 | + <type>zip</type> |
| 107 | + </dependency> |
| 108 | + |
| 109 | + <!-- Project modules --> |
| 110 | + <dependency> |
| 111 | + <groupId>${project.groupId}</groupId> |
| 112 | + <artifactId>wildfly-microprofile-graphql</artifactId> |
| 113 | + <scope>provided</scope> |
| 114 | + </dependency> |
| 115 | + |
| 116 | + <!-- Normal dependencies --> |
| 117 | + <dependency> |
| 118 | + <groupId>io.smallrye</groupId> |
| 119 | + <artifactId>smallrye-graphql-api</artifactId> |
| 120 | + <scope>provided</scope> |
| 121 | + </dependency> |
| 122 | + <dependency> |
| 123 | + <groupId>io.smallrye</groupId> |
| 124 | + <artifactId>smallrye-graphql</artifactId> |
| 125 | + <scope>provided</scope> |
| 126 | + </dependency> |
| 127 | + <dependency> |
| 128 | + <groupId>io.smallrye</groupId> |
| 129 | + <artifactId>smallrye-graphql-servlet</artifactId> |
| 130 | + <scope>provided</scope> |
| 131 | + </dependency> |
| 132 | + |
| 133 | + <dependency> |
| 134 | + <groupId>org.eclipse.microprofile.graphql</groupId> |
| 135 | + <artifactId>microprofile-graphql-api</artifactId> |
| 136 | + <scope>provided</scope> |
| 137 | + </dependency> |
| 138 | + </dependencies> |
| 139 | +</project> |
0 commit comments