graphql-maven-plugin-samples-Basic-server
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.graphql-java-generator</groupId>
<artifactId>graphql-maven-plugin-samples-Basic-server</artifactId>
<version>1.0</version>
</dependency><?xml version="1.0"?> <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>com.graphql-java-generator</groupId> <artifactId>graphql-maven-plugin-samples</artifactId> <version>1.0</version> </parent> <artifactId>graphql-maven-plugin-samples-Basic-server</artifactId> <build> <plugins> <plugin> <groupId>com.graphql-java-generator</groupId> <artifactId>graphql-maven-plugin</artifactId> <executions> <execution> <goals> <goal>graphql</goal> </goals> </execution> </executions> <configuration> <mode>server</mode> <packageName>com.graphql_java_generator.samples.basic.server</packageName> </configuration> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> <plugin> <!-- We don't want to spam the repository with test/sample artefacts --> <artifactId>maven-deploy-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </build> <dependencies> <!-- Dependencies for the generated code --> <dependency> <groupId>com.graphql-java-generator</groupId> <artifactId>graphql-java-server-dependencies</artifactId> <type>pom</type> </dependency> <!-- Generates at runtime a GUI to execute GraphQL requests. --> <!-- Very useful for tests, but take care for production ! --> <dependency> <groupId>com.graphql-java-kickstart</groupId> <artifactId>graphiql-spring-boot-starter</artifactId> <scope>runtime</scope> </dependency> <dependency> <!-- Hibernate automatically starts with Spring Boot JPA: it needs a JDBC driver --> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <scope>runtime</scope> </dependency> </dependencies> </project>