|
2 | 2 | <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"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | 4 | <parent> |
5 | | - <artifactId>graphql-kotlin</artifactId> |
6 | 5 | <groupId>com.expediagroup</groupId> |
| 6 | + <artifactId>examples</artifactId> |
7 | 7 | <version>1.1.1-SNAPSHOT</version> |
8 | | - <relativePath>../..</relativePath> |
| 8 | + <relativePath>..</relativePath> |
9 | 9 | </parent> |
10 | 10 |
|
11 | 11 | <artifactId>federation</artifactId> |
|
45 | 45 | </execution> |
46 | 46 | </executions> |
47 | 47 | </plugin> |
48 | | - <plugin> |
49 | | - <groupId>org.apache.maven.plugins</groupId> |
50 | | - <artifactId>maven-antrun-plugin</artifactId> |
51 | | - <version>1.8</version> |
52 | | - <executions> |
53 | | - <!-- those can be run separately with mvn clean antrun:run@<target_id> --> |
54 | | - <execution> |
55 | | - <id>detekt</id> |
56 | | - <phase>validate</phase> |
57 | | - <configuration> |
58 | | - <target name="detekt"> |
59 | | - <java taskname="detekt" dir="${project.basedir}" fork="true" failonerror="true" classname="io.gitlab.arturbosch.detekt.cli.Main" classpathref="maven.plugin.classpath"> |
60 | | - <arg value="--fail-fast" /> |
61 | | - <arg value="--input" /> |
62 | | - <arg value="${project.basedir}${file.separator}src" /> |
63 | | - <arg value="--config" /> |
64 | | - <arg value="${project.parent.relativePath}${file.separator}detekt.yml" /> |
65 | | - <arg value="--report" /> |
66 | | - <arg value="html:${project.basedir}${file.separator}target${file.separator}site${file.separator}detekt.html" /> |
67 | | - <arg value="--report" /> |
68 | | - <arg value="xml:${project.basedir}${file.separator}target${file.separator}site${file.separator}detekt.xml" /> |
69 | | - </java> |
70 | | - </target> |
71 | | - </configuration> |
72 | | - <goals> |
73 | | - <goal>run</goal> |
74 | | - </goals> |
75 | | - </execution> |
76 | | - <execution> |
77 | | - <id>ktlint</id> |
78 | | - <phase>validate</phase> |
79 | | - <configuration> |
80 | | - <target name="ktlint"> |
81 | | - <java taskname="ktlint" dir="${project.basedir}" fork="true" failonerror="true" classname="com.github.shyiko.ktlint.Main" classpathref="maven.plugin.classpath"> |
82 | | - <arg value="src/**/*.kt" /> |
83 | | - <arg value="--reporter=plain" /> |
84 | | - <arg value="--reporter=checkstyle,output=${project.build.directory}/ktlint.xml" /> |
85 | | - </java> |
86 | | - </target> |
87 | | - </configuration> |
88 | | - <goals> |
89 | | - <goal>run</goal> |
90 | | - </goals> |
91 | | - </execution> |
92 | | - </executions> |
93 | | - <dependencies> |
94 | | - <dependency> |
95 | | - <groupId>io.gitlab.arturbosch.detekt</groupId> |
96 | | - <artifactId>detekt-cli</artifactId> |
97 | | - <version>${detekt-cli.version}</version> |
98 | | - </dependency> |
99 | | - <dependency> |
100 | | - <groupId>com.github.shyiko</groupId> |
101 | | - <artifactId>ktlint</artifactId> |
102 | | - <version>${ktlint.version}</version> |
103 | | - </dependency> |
104 | | - </dependencies> |
105 | | - </plugin> |
106 | 48 | <plugin> |
107 | 49 | <groupId>org.apache.maven.plugins</groupId> |
108 | 50 | <artifactId>maven-surefire-plugin</artifactId> |
|
0 commit comments