Enable the license checker for plugins without third party deps too

This commit is contained in:
Clinton Gormley 2015-08-09 19:07:45 +02:00
parent 205262c737
commit bc7dbce4fe
7 changed files with 3 additions and 37 deletions

View File

@ -215,8 +215,6 @@ sub jars_from_zip {
$archive->extract( to => $dir_name ) || die $archive->error;
my @jars = map { File::Spec->rel2abs( $_, $dir_name ) }
grep { /\.jar$/ && !/elasticsearch[^\/]*$/ } @{ $archive->files };
die "No JARS found in: $source\n"
unless @jars;
return calculate_shas(@jars);
}
@ -234,8 +232,6 @@ sub jars_from_dir {
},
$source
);
die "No JARS found in: $source\n"
unless @jars;
return calculate_shas(@jars);
}

View File

@ -0,0 +1 @@
This plugin has no third party dependencies

View File

@ -38,17 +38,6 @@ governing permissions and limitations under the License. -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<!-- Don't run the license checker in delete-by-query -->
<id>check-license</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>

View File

@ -0,0 +1 @@
This plugin has no third party dependencies

View File

@ -37,17 +37,6 @@ governing permissions and limitations under the License. -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<!-- Don't run the license checker in mapper-size -->
<id>check-license</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>

View File

@ -0,0 +1 @@
This plugin has no third party dependencies

View File

@ -42,17 +42,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<!-- Don't run the license checker in site example -->
<id>check-license</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>