Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
Add scala-style profile
Browse files Browse the repository at this point in the history
  • Loading branch information
GezimSejdiu committed Jun 26, 2018
1 parent 9365beb commit 1881642
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@
</configuration>
</plugin>

<!-- Scalastyle -->
<!-- Scalastyle -->
<plugin>
<groupId>org.scalastyle</groupId>
<artifactId>scalastyle-maven-plugin</artifactId>
Expand Down Expand Up @@ -392,6 +392,18 @@
</plugins>
</build>
</profile>
<!-- profile necessary for Scalastyle plugin to find the conf file -->
<profile>
<id>root-dir</id>
<activation>
<file>
<exists>${project.basedir}/../../scalastyle-config.xml</exists>
</file>
</activation>
<properties>
<scalastyle.config.path>${project.basedir}/../scalastyle-config.xml</scalastyle.config.path>
</properties>
</profile>
</profiles>

<distributionManagement>
Expand All @@ -407,20 +419,6 @@
</snapshotRepository>
</distributionManagement>

<!-- profile necessary for Scalastyle plugin to find the conf file -->
<profile>
<id>root-dir</id>
<activation>
<file>
<exists>${project.basedir}/../../scalastyle-config.xml</exists>
</file>
</activation>
<properties>
<scalastyle.config.path>${project.basedir}/../scalastyle-config.xml</scalastyle.config.path>
</properties>
</profile>
</profiles>

<repositories>
<repository>
<id>oss-sonatype</id>
Expand Down

0 comments on commit 1881642

Please sign in to comment.