dgs-codegen-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.marvinformatics</groupId> <artifactId>dgs-codegen-maven-plugin</artifactId> <version>1.3.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (C) 2024 Marvin Herman Froeder (marvin@marvinformatics.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <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> <groupId>com.marvinformatics</groupId> <artifactId>dgs-codegen-maven-plugin</artifactId> <version>1.3.0</version> <packaging>maven-plugin</packaging> <name>dgs-codegen-maven-plugin</name> <description>A Maven port of Netflix's DGS codegen gradle plugin</description> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>1.8</java.version> </properties> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>3.8.6</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-project</artifactId> <version>2.2.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.6.4</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.netflix.graphql.dgs.codegen</groupId> <artifactId>graphql-dgs-codegen-core</artifactId> <version>5.4.0</version> </dependency> <dependency> <groupId>com.graphql-java</groupId> <artifactId>graphql-java</artifactId> <version>19.2</version> </dependency> <dependency> <groupId>com.squareup</groupId> <artifactId>javapoet</artifactId> <version>1.13.0</version> </dependency> <dependency> <groupId>com.squareup</groupId> <artifactId>kotlinpoet</artifactId> <version>1.12.0</version> </dependency> <dependency> <groupId>com.netflix.graphql.dgs</groupId> <artifactId>graphql-dgs</artifactId> <version>5.3.0</version> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>3.6.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.7.0</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.12</version> <executions> <execution> <goals> <goal>prepare-agent</goal> <goal>report</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.3.0</version> <configuration> <redirectTestOutputToFile>true</redirectTestOutputToFile> <argLine>${argLine} -Xmx2G</argLine> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>3.3.0</version> <configuration> <forkedProcessTimeoutInSeconds>0</forkedProcessTimeoutInSeconds> <redirectTestOutputToFile>true</redirectTestOutputToFile> <argLine>${argLine} -Xmx2G</argLine> <reuseForks>false</reuseForks> </configuration> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.marvinformatics.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <version>2.2.0</version> <inherited>false</inherited> <configuration> <sourceDirectory>${project.basedir}</sourceDirectory> <excludes> <exclude>**/src/test/resources/**</exclude> <exclude>**/target/**</exclude> </excludes> <lineEnding>LF</lineEnding> <configFile>${project.basedir}/src/config/eclipse/formatter/java.xml</configFile> <configJsFile>${project.basedir}/src/config/eclipse/formatter/javascript.xml</configJsFile> </configuration> <executions> <execution> <id>format</id> <goals> <goal>format</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <version>4.5</version> <configuration> <header>LICENSE.txt</header> <properties> <owner>Marvin Herman Froeder</owner> <email>marvin@marvinformatics.com</email> </properties> <excludes> <exclude>**/README</exclude> <exclude>src/test/resources/**</exclude> <exclude>src/main/resources/**</exclude> </excludes> </configuration> <executions> <execution> <id>format</id> <goals> <goal>format</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> </plugins> </build> <url>https://github.com/velo/dgs-codegen-maven-plugin/</url> <inceptionYear>2024</inceptionYear> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>velo</id> <name>Marvin Herman Froeder</name> <email>velo br at gmail dot com</email> <url>about.me/velo</url> </developer> </developers> <scm> <connection>scm:git:git@github.com:velo/dgs-codegen-maven-plugin.git</connection> <developerConnection>scm:git:git@github.com:velo/dgs-codegen-maven-plugin.git</developerConnection> <url>https://github.com/velo/dgs-codegen-maven-plugin/</url> </scm> <distributionManagement> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> </repository> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <profiles> <profile> <id>run-its</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <version>3.2.2</version> <executions> <execution> <id>integration-test</id> <goals> <goal>install</goal> <goal>integration-test</goal> <goal>verify</goal> </goals> <configuration> <goals> <goal>clean</goal> <goal>package</goal> </goals> <showErrors>true</showErrors> <localRepositoryPath>${project.build.directory}/.m2/</localRepositoryPath> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>ci</id> <build> <plugins> <plugin> <groupId>com.marvinformatics.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <executions> <execution> <id>validate</id> <goals> <goal>validate</goal> </goals> <phase>initialize</phase> </execution> </executions> </plugin> <plugin> <groupId>com.github.ekryd.sortpom</groupId> <artifactId>sortpom-maven-plugin</artifactId> <executions> <execution> <id>validate</id> <goals> <goal>verify</goal> </goals> <phase>initialize</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <executions> <execution> <id>validate</id> <goals> <goal>check</goal> </goals> <phase>initialize</phase> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>skip-formatter</id> <build> <plugins> <plugin> <groupId>com.marvinformatics.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.7.0</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.4</version> <configuration> <passphraseServerId>ossrh</passphraseServerId> </configuration> <executions> <execution> <id>sign-artifacts</id> <goals> <goal>sign</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>license</id> <activation> <file> <missing>LICENSE.txt</missing> </file> </activation> <build> <plugins> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>