Skip to content

Commit

Permalink
Move the license check to the full build (close #39)
Browse files Browse the repository at this point in the history
  • Loading branch information
henri-tremblay committed May 5, 2016
1 parent 9b35ee6 commit e30bae7
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
<artifactId>maven-license-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<!-- skipping the license check on the parent pom since it's not needed -->
<skip>true</skip>
</configuration>
</plugin>
Expand Down Expand Up @@ -272,14 +273,6 @@
<year>${year}</year>
</properties>
</configuration>
<executions>
<execution>
<id>check</id>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -399,7 +392,7 @@

<profiles>
<profile>
<!-- Activate to generate javadoc, sources jars and run findbugs -->
<!-- Activate to generate javadoc, sources jars, license check and findbugs -->
<id>full</id>
<build>
<plugins>
Expand Down Expand Up @@ -439,6 +432,18 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<executions>
<execution>
<id>check</id>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit e30bae7

Please sign in to comment.