|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 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"> |
4 | 3 | <modelVersion>4.0.0</modelVersion> |
5 | 4 |
|
6 | 5 | <groupId>com.expedia</groupId> |
7 | 6 | <artifactId>graphql-kotlin</artifactId> |
8 | | - <version>1.0.0-RC1-SNAPSHOT</version> |
| 7 | + <version>1.0.0-RC2-SNAPSHOT</version> |
9 | 8 | <name>graphql-kotlin</name> |
10 | 9 | <description>Code-only GraphQL schema generation for Kotlin</description> |
11 | 10 | <url>https://github.com/ExpediaDotCom/graphql-kotlin</url> |
|
146 | 145 | <phase>validate</phase> |
147 | 146 | <configuration> |
148 | 147 | <target name="detekt"> |
149 | | - <java taskname="detekt" dir="${project.basedir}" fork="true" failonerror="true" |
150 | | - classname="io.gitlab.arturbosch.detekt.cli.Main" |
151 | | - classpathref="maven.plugin.classpath"> |
152 | | - <arg value="--fail-fast"/> |
153 | | - <arg value="--input"/> |
154 | | - <arg value="${project.basedir}${file.separator}src"/> |
155 | | - <arg value="--config"/> |
156 | | - <arg value="${project.parent.relativePath}${file.separator}detekt.yml"/> |
157 | | - <arg value="--report"/> |
158 | | - <arg value="html:${project.basedir}${file.separator}target${file.separator}site${file.separator}detekt.html"/> |
159 | | - <arg value="--report"/> |
160 | | - <arg value="xml:${project.basedir}${file.separator}target${file.separator}site${file.separator}detekt.xml"/> |
| 148 | + <java taskname="detekt" dir="${project.basedir}" fork="true" failonerror="true" classname="io.gitlab.arturbosch.detekt.cli.Main" classpathref="maven.plugin.classpath"> |
| 149 | + <arg value="--fail-fast" /> |
| 150 | + <arg value="--input" /> |
| 151 | + <arg value="${project.basedir}${file.separator}src" /> |
| 152 | + <arg value="--config" /> |
| 153 | + <arg value="${project.parent.relativePath}${file.separator}detekt.yml" /> |
| 154 | + <arg value="--report" /> |
| 155 | + <arg value="html:${project.basedir}${file.separator}target${file.separator}site${file.separator}detekt.html" /> |
| 156 | + <arg value="--report" /> |
| 157 | + <arg value="xml:${project.basedir}${file.separator}target${file.separator}site${file.separator}detekt.xml" /> |
161 | 158 | </java> |
162 | 159 | </target> |
163 | 160 | </configuration> |
|
170 | 167 | <phase>validate</phase> |
171 | 168 | <configuration> |
172 | 169 | <target name="ktlint"> |
173 | | - <java taskname="ktlint" dir="${project.basedir}" fork="true" failonerror="true" |
174 | | - classname="com.github.shyiko.ktlint.Main" |
175 | | - classpathref="maven.plugin.classpath"> |
176 | | - <arg value="src/**/*.kt"/> |
177 | | - <arg value="--reporter=plain"/> |
178 | | - <arg value="--reporter=checkstyle,output=${project.build.directory}/ktlint.xml"/> |
| 170 | + <java taskname="ktlint" dir="${project.basedir}" fork="true" failonerror="true" classname="com.github.shyiko.ktlint.Main" classpathref="maven.plugin.classpath"> |
| 171 | + <arg value="src/**/*.kt" /> |
| 172 | + <arg value="--reporter=plain" /> |
| 173 | + <arg value="--reporter=checkstyle,output=${project.build.directory}/ktlint.xml" /> |
179 | 174 | </java> |
180 | 175 | </target> |
181 | 176 | </configuration> |
|
0 commit comments