Skip to content

Commit e0064fa

Browse files
Michael KrollCalixte
authored andcommitted
Issue #239: remove checkstyle source zip from git and use download
downloads from https://github.com/checkstyle/checkstyle/archive/checkstyle-${checkstyle.version}.zip
1 parent 5acf416 commit e0064fa

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/bin/
2+
/*.zip
-6.74 MB
Binary file not shown.

net.sf.eclipsecs.checkstyle/pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,30 @@
99
<artifactId>net.sf.eclipsecs.checkstyle</artifactId>
1010
<packaging>eclipse-plugin</packaging>
1111
<name>Checkstyle Core Library Plugin</name>
12+
13+
<properties>
14+
<checkstyle.version>8.33</checkstyle.version>
15+
</properties>
1216
<build>
1317
<plugins>
18+
<plugin>
19+
<groupId>com.googlecode.maven-download-plugin</groupId>
20+
<artifactId>download-maven-plugin</artifactId>
21+
<executions>
22+
<execution>
23+
<id>download-checkstyle-src</id>
24+
<phase>initialize</phase>
25+
<goals>
26+
<goal>wget</goal>
27+
</goals>
28+
<configuration>
29+
<outputDirectory>.</outputDirectory>
30+
<url>https://github.com/checkstyle/checkstyle/archive/checkstyle-${checkstyle.version}.zip</url>
31+
<outputFileName>checkstyle-checkstyle-${checkstyle.version}.zip</outputFileName>
32+
</configuration>
33+
</execution>
34+
</executions>
35+
</plugin>
1436
<plugin>
1537
<artifactId>maven-antrun-plugin</artifactId>
1638
<executions>

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@
121121
<artifactId>maven-antrun-plugin</artifactId>
122122
<version>1.8</version>
123123
</plugin>
124+
<plugin>
125+
<groupId>com.googlecode.maven-download-plugin</groupId>
126+
<artifactId>download-maven-plugin</artifactId>
127+
<version>1.4.2</version>
128+
</plugin>
124129
<plugin>
125130
<groupId>org.eclipse.tycho</groupId>
126131
<artifactId>tycho-packaging-plugin</artifactId>

0 commit comments

Comments
 (0)