|
2330 | 2330 | <groupId>org.apache.maven.plugins</groupId> |
2331 | 2331 | <artifactId>maven-source-plugin</artifactId> |
2332 | 2332 | </plugin> |
2333 | | - <plugin> |
2334 | | - <groupId>org.scalastyle</groupId> |
2335 | | - <artifactId>scalastyle-maven-plugin</artifactId> |
2336 | | - <version>0.8.0</version> |
2337 | | - <configuration> |
2338 | | - <verbose>false</verbose> |
2339 | | - <failOnViolation>false</failOnViolation> |
2340 | | - <includeTestSourceDirectory>false</includeTestSourceDirectory> |
2341 | | - <failOnWarning>false</failOnWarning> |
2342 | | - <sourceDirectory>${basedir}/src/main/scala</sourceDirectory> |
2343 | | - <testSourceDirectory>${basedir}/src/test/scala</testSourceDirectory> |
2344 | | - <configLocation>scalastyle-config.xml</configLocation> |
2345 | | - <outputFile>${basedir}/target/scalastyle-output.xml</outputFile> |
2346 | | - <inputEncoding>${project.build.sourceEncoding}</inputEncoding> |
2347 | | - <outputEncoding>${project.reporting.outputEncoding}</outputEncoding> |
2348 | | - </configuration> |
2349 | | - <executions> |
2350 | | - <execution> |
2351 | | - <phase>test-compile</phase> |
2352 | | - <goals> |
2353 | | - <goal>check</goal> |
2354 | | - </goals> |
2355 | | - </execution> |
2356 | | - </executions> |
2357 | | - </plugin> |
| 2333 | + |
2358 | 2334 |
|
2359 | 2335 | <plugin> |
2360 | 2336 | <groupId>org.apache.maven.plugins</groupId> |
|
2412 | 2388 | This profile is enabled automatically by the sbt built. It changes the scope for the guava |
2413 | 2389 | dependency, since we don't shade it in the artifacts generated by the sbt build. |
2414 | 2390 | --> |
| 2391 | + <profile> |
| 2392 | + <id>scalastyle</id> |
| 2393 | + <build> |
| 2394 | + <plugins> |
| 2395 | + <plugin> |
| 2396 | + <groupId>org.scalastyle</groupId> |
| 2397 | + <artifactId>scalastyle-maven-plugin</artifactId> |
| 2398 | + <version>0.8.0</version> |
| 2399 | + <configuration> |
| 2400 | + <verbose>false</verbose> |
| 2401 | + <failOnViolation>false</failOnViolation> |
| 2402 | + <includeTestSourceDirectory>false</includeTestSourceDirectory> |
| 2403 | + <failOnWarning>false</failOnWarning> |
| 2404 | + <sourceDirectory>${basedir}/src/main/scala</sourceDirectory> |
| 2405 | + <testSourceDirectory>${basedir}/src/test/scala</testSourceDirectory> |
| 2406 | + <configLocation>scalastyle-config.xml</configLocation> |
| 2407 | + <outputFile>${basedir}/target/scalastyle-output.xml</outputFile> |
| 2408 | + <inputEncoding>${project.build.sourceEncoding}</inputEncoding> |
| 2409 | + <outputEncoding>${project.reporting.outputEncoding}</outputEncoding> |
| 2410 | + </configuration> |
| 2411 | + <executions> |
| 2412 | + <execution> |
| 2413 | + <phase>test-compile</phase> |
| 2414 | + <goals> |
| 2415 | + <goal>check</goal> |
| 2416 | + </goals> |
| 2417 | + </execution> |
| 2418 | + </executions> |
| 2419 | + </plugin> |
| 2420 | + </plugins> |
| 2421 | + </build> |
| 2422 | + </profile> |
| 2423 | + |
2415 | 2424 | <profile> |
2416 | 2425 | <id>sbt</id> |
2417 | 2426 | <dependencies> |
|
0 commit comments