Download public suffix list from Mozilla maintained <https://publicsuffix.org/>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1623393 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cffb877b1e
commit
067a2454e1
|
@ -96,6 +96,25 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.googlecode.maven-download-plugin</groupId>
|
||||
<artifactId>download-maven-plugin</artifactId>
|
||||
<version>1.2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>download-public-suffix-list</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>wget</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<url>https://publicsuffix.org/list/effective_tld_names.dat</url>
|
||||
<outputDirectory>${project.build.outputDirectory}/mozilla</outputDirectory>
|
||||
<outputFileName>public-suffix-list.txt</outputFileName>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
|
@ -161,4 +180,22 @@
|
|||
</plugins>
|
||||
</reporting>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.googlecode.maven-download-plugin</groupId>
|
||||
<artifactId>download-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<overwrite>true</overwrite>
|
||||
<skipCache>true</skipCache>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue