Commit 587a343e authored by Administrator's avatar Administrator

Updates dependencies version

The dependencies version has been updated in the POM file to the latest
versions. In addition, the POM file format has been unified.
parent c2b7a0f1
...@@ -24,38 +24,37 @@ ...@@ -24,38 +24,37 @@
<project.servers.directory>${project.basedir}/servers</project.servers.directory> <project.servers.directory>${project.basedir}/servers</project.servers.directory>
<cargo.tomcat.start.skip>false</cargo.tomcat.start.skip> <cargo.tomcat.start.skip>false</cargo.tomcat.start.skip>
<cargo.tomcat.run.skip>true</cargo.tomcat.run.skip> <cargo.tomcat.run.skip>true</cargo.tomcat.run.skip>
<tomcat.version>8.5.11</tomcat.version> <tomcat.version>8.5.27</tomcat.version>
<jacoco.port>6300</jacoco.port> <jacoco.port>6300</jacoco.port>
<acceptance.tests>true</acceptance.tests>
<!-- General dependencies --> <!-- General dependencies -->
<java.servlet.version>3.1.0</java.servlet.version> <java.servlet.version>3.1.0</java.servlet.version>
<jersey.version>2.25</jersey.version> <jersey.version>2.25</jersey.version>
<commons-dbcp2.version>2.1.1</commons-dbcp2.version> <commons-dbcp2.version>2.2.0</commons-dbcp2.version>
<slf4j-jdk14.version>1.7.22</slf4j-jdk14.version> <slf4j-jdk14.version>1.7.21</slf4j-jdk14.version>
<!-- Tests dependencies --> <!-- Tests dependencies -->
<junit.version>4.12</junit.version> <junit.version>4.12</junit.version>
<java-hamcrest.version>2.0.0.0</java-hamcrest.version> <java-hamcrest.version>2.0.0.0</java-hamcrest.version>
<easymock.version>3.4</easymock.version> <easymock.version>3.5.1</easymock.version>
<selenium-java.version>3.0.1</selenium-java.version> <selenium-java.version>3.8.1</selenium-java.version>
<spring-test.version>4.3.6.RELEASE</spring-test.version> <spring-test.version>4.3.14.RELEASE</spring-test.version>
<dbunit.version>2.5.1</dbunit.version> <dbunit.version>2.5.1</dbunit.version>
<spring-test-dbunit.version>1.2.1</spring-test-dbunit.version> <spring-test-dbunit.version>1.3.0</spring-test-dbunit.version>
<hsqldb.version>2.3.1</hsqldb.version> <hsqldb.version>2.3.3</hsqldb.version>
<mysql.version>5.1.40</mysql.version> <mysql.version>5.1.45</mysql.version>
<geckodriver.version>v0.14.0</geckodriver.version> <geckodriver.version>v0.19.1</geckodriver.version>
<equalsverifier.version>2.2.1</equalsverifier.version> <equalsverifier.version>2.4.2</equalsverifier.version>
<!-- Plugins --> <!-- Plugins -->
<maven-failsafe-plugin.version>2.19.1</maven-failsafe-plugin.version> <maven-failsafe-plugin.version>2.20.1</maven-failsafe-plugin.version>
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version> <maven-surefire-plugin.version>2.20.1</maven-surefire-plugin.version>
<maven-surefire-report-plugin.version>2.19.1</maven-surefire-report-plugin.version> <maven-surefire-report-plugin.version>2.20.1</maven-surefire-report-plugin.version>
<maven.war.plugin.version>2.6</maven.war.plugin.version> <maven-war-plugin.version>3.2.0</maven-war-plugin.version>
<jacoco-maven-plugin.version>0.7.8</jacoco-maven-plugin.version> <jacoco-maven-plugin.version>0.8.0</jacoco-maven-plugin.version>
<cargo-maven2-plugin.version>1.6.2</cargo-maven2-plugin.version> <cargo-maven2-plugin.version>1.6.6</cargo-maven2-plugin.version>
<hsqldb-maven-plugin.version>1.0.0</hsqldb-maven-plugin.version> <hsqldb-maven-plugin.version>1.0.0</hsqldb-maven-plugin.version>
<maven.antrun.plugin.version>1.8</maven.antrun.plugin.version> <maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>
<fizzed-watcher-maven-plugin.version>1.0.6</fizzed-watcher-maven-plugin.version> <fizzed-watcher-maven-plugin.version>1.0.6</fizzed-watcher-maven-plugin.version>
</properties> </properties>
...@@ -66,13 +65,13 @@ ...@@ -66,13 +65,13 @@
<version>${java.servlet.version}</version> <version>${java.servlet.version}</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.glassfish.jersey.containers</groupId> <groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet</artifactId> <artifactId>jersey-container-servlet</artifactId>
<version>${jersey.version}</version> <version>${jersey.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.glassfish.jersey.media</groupId> <groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId> <artifactId>jersey-media-json-jackson</artifactId>
...@@ -92,20 +91,20 @@ ...@@ -92,20 +91,20 @@
<version>${junit.version}</version> <version>${junit.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.hamcrest</groupId> <groupId>org.hamcrest</groupId>
<artifactId>java-hamcrest</artifactId> <artifactId>java-hamcrest</artifactId>
<version>${java-hamcrest.version}</version> <version>${java-hamcrest.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.easymock</groupId> <groupId>org.easymock</groupId>
<artifactId>easymock</artifactId> <artifactId>easymock</artifactId>
<version>${easymock.version}</version> <version>${easymock.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.glassfish.jersey.test-framework.providers</groupId> <groupId>org.glassfish.jersey.test-framework.providers</groupId>
<artifactId>jersey-test-framework-provider-grizzly2</artifactId> <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
...@@ -133,21 +132,21 @@ ...@@ -133,21 +132,21 @@
<version>${spring-test.version}</version> <version>${spring-test.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId> <artifactId>spring-context</artifactId>
<version>${spring-test.version}</version> <version>${spring-test.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId> <artifactId>spring-jdbc</artifactId>
<version>${spring-test.version}</version> <version>${spring-test.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.dbunit</groupId> <groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId> <artifactId>dbunit</artifactId>
...@@ -155,7 +154,7 @@ ...@@ -155,7 +154,7 @@
<type>jar</type> <type>jar</type>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.github.springtestdbunit</groupId> <groupId>com.github.springtestdbunit</groupId>
<artifactId>spring-test-dbunit</artifactId> <artifactId>spring-test-dbunit</artifactId>
...@@ -176,27 +175,27 @@ ...@@ -176,27 +175,27 @@
<version>${mysql.version}</version> <version>${mysql.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>nl.jqno.equalsverifier</groupId> <groupId>nl.jqno.equalsverifier</groupId>
<artifactId>equalsverifier</artifactId> <artifactId>equalsverifier</artifactId>
<version>${equalsverifier.version}</version> <version>${equalsverifier.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<finalName>DAAExample</finalName> <finalName>DAAExample</finalName>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-war-plugin</artifactId> <artifactId>maven-war-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<version>${maven.war.plugin.version}</version> <version>${maven-war-plugin.version}</version>
<configuration> <configuration>
<warName>${project.finalName}</warName> <warName>${project.finalName}</warName>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
...@@ -210,7 +209,7 @@ ...@@ -210,7 +209,7 @@
</systemPropertyVariables> </systemPropertyVariables>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId> <artifactId>maven-failsafe-plugin</artifactId>
...@@ -230,12 +229,12 @@ ...@@ -230,12 +229,12 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId> <artifactId>maven-surefire-report-plugin</artifactId>
<version>${maven-surefire-report-plugin.version}</version> <version>${maven-surefire-report-plugin.version}</version>
<executions> <executions>
<execution> <execution>
<id>test-report</id> <id>test-report</id>
...@@ -254,13 +253,13 @@ ...@@ -254,13 +253,13 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version> <version>${jacoco-maven-plugin.version}</version>
<configuration> <configuration>
<rules/> <rules />
<port>${jacoco.port}</port> <port>${jacoco.port}</port>
</configuration> </configuration>
<executions> <executions>
...@@ -298,7 +297,8 @@ ...@@ -298,7 +297,8 @@
</plugins> </plugins>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> <!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself. -->
<plugin> <plugin>
<groupId>org.eclipse.m2e</groupId> <groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId> <artifactId>lifecycle-mapping</artifactId>
...@@ -330,14 +330,14 @@ ...@@ -330,14 +330,14 @@
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
<profiles> <profiles>
<profile> <profile>
<id>acceptance-tests-cargo</id> <id>acceptance-tests-cargo</id>
<activation> <activation>
<activeByDefault>false</activeByDefault> <activeByDefault>false</activeByDefault>
</activation> </activation>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
...@@ -363,7 +363,7 @@ ...@@ -363,7 +363,7 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
...@@ -395,45 +395,43 @@ ...@@ -395,45 +395,43 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<!-- current version --> <!-- current version -->
<groupId>fr.avianey.mojo</groupId> <groupId>fr.avianey.mojo</groupId>
<artifactId>hsqldb-maven-plugin</artifactId> <artifactId>hsqldb-maven-plugin</artifactId>
<version>${hsqldb-maven-plugin.version}</version> <version>${hsqldb-maven-plugin.version}</version>
<!-- <!-- default value for in memory jdbc:hsqldb:hsql://localhost/xdb override
default value for in memory jdbc:hsqldb:hsql://localhost/xdb only values you want to change -->
override only values you want to change <configuration>
--> <driver>org.hsqldb.jdbc.JDBCDriver</driver>
<configuration> <path>mem:daatestdb</path>
<driver>org.hsqldb.jdbc.JDBCDriver</driver> <address>localhost</address>
<path>mem:daatestdb</path> <name>daatestdb</name>
<address>localhost</address> <username>sa</username>
<name>daatestdb</name> <password></password>
<username>sa</username> </configuration>
<password></password>
</configuration> <!-- call start and stop -->
<executions>
<!-- call start and stop --> <execution>
<executions> <id>start-hsqldb</id>
<execution> <phase>pre-integration-test</phase>
<id>start-hsqldb</id> <goals>
<phase>pre-integration-test</phase> <goal>start</goal>
<goals> </goals>
<goal>start</goal> </execution>
</goals> <execution>
</execution> <id>stop-hsqldb</id>
<execution> <phase>post-integration-test</phase>
<id>stop-hsqldb</id> <goals>
<phase>post-integration-test</phase> <goal>stop</goal>
<goals> </goals>
<goal>stop</goal> </execution>
</goals> </executions>
</execution>
</executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.cargo</groupId> <groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId> <artifactId>cargo-maven2-plugin</artifactId>
...@@ -453,21 +451,22 @@ ...@@ -453,21 +451,22 @@
</dependency> </dependency>
</dependencies> </dependencies>
</container> </container>
<configuration> <configuration>
<home>${project.build.directory}/catalina-base</home> <home>${project.build.directory}/catalina-base</home>
<properties> <properties>
<cargo.jvmargs>${jacoco.agent.itArgLine},output=tcpserver,port=${jacoco.port} -Drunmode=TEST</cargo.jvmargs> <cargo.jvmargs>${jacoco.agent.itArgLine},output=tcpserver,port=${jacoco.port}
-Drunmode=TEST</cargo.jvmargs>
<cargo.servlet.port>9080</cargo.servlet.port> <cargo.servlet.port>9080</cargo.servlet.port>
<cargo.datasource.datasource.h2> <cargo.datasource.datasource.h2>
cargo.datasource.jndi=jdbc/daaexample| cargo.datasource.jndi=jdbc/daaexample|
cargo.datasource.driver=org.hsqldb.jdbc.JDBCDriver| cargo.datasource.driver=org.hsqldb.jdbc.JDBCDriver|
cargo.datasource.url=jdbc:hsqldb:hsql://localhost/daatestdb| cargo.datasource.url=jdbc:hsqldb:hsql://localhost/daatestdb|
cargo.datasource.username=sa| cargo.datasource.username=sa|
cargo.datasource.password=| cargo.datasource.password=|
cargo.datasource.maxActive=8| cargo.datasource.maxActive=8|
cargo.datasource.maxIdle=4| cargo.datasource.maxIdle=4|
cargo.datasource.maxWait=10000 cargo.datasource.maxWait=10000
</cargo.datasource.datasource.h2> </cargo.datasource.datasource.h2>
</properties> </properties>
</configuration> </configuration>
...@@ -505,13 +504,13 @@ ...@@ -505,13 +504,13 @@
</plugins> </plugins>
</build> </build>
</profile> </profile>
<profile> <profile>
<id>run-tomcat-mysql</id> <id>run-tomcat-mysql</id>
<activation> <activation>
<activeByDefault>false</activeByDefault> <activeByDefault>false</activeByDefault>
</activation> </activation>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
...@@ -531,7 +530,7 @@ ...@@ -531,7 +530,7 @@
</goals> </goals>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.cargo</groupId> <groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId> <artifactId>cargo-maven2-plugin</artifactId>
...@@ -551,20 +550,20 @@ ...@@ -551,20 +550,20 @@
</dependency> </dependency>
</dependencies> </dependencies>
</container> </container>
<configuration> <configuration>
<home>${project.build.directory}/catalina-base</home> <home>${project.build.directory}/catalina-base</home>
<properties> <properties>
<cargo.servlet.port>9080</cargo.servlet.port> <cargo.servlet.port>9080</cargo.servlet.port>
<cargo.datasource.datasource.h2> <cargo.datasource.datasource.h2>
cargo.datasource.jndi=jdbc/daaexample| cargo.datasource.jndi=jdbc/daaexample|
cargo.datasource.driver=com.mysql.jdbc.Driver| cargo.datasource.driver=com.mysql.jdbc.Driver|
cargo.datasource.url=jdbc:mysql://localhost/daaexample| cargo.datasource.url=jdbc:mysql://localhost/daaexample|
cargo.datasource.username=daa| cargo.datasource.username=daa|
cargo.datasource.password=daa| cargo.datasource.password=daa|
cargo.datasource.maxActive=8| cargo.datasource.maxActive=8|
cargo.datasource.maxIdle=4| cargo.datasource.maxIdle=4|
cargo.datasource.maxWait=10000 cargo.datasource.maxWait=10000
</cargo.datasource.datasource.h2> </cargo.datasource.datasource.h2>
</properties> </properties>
</configuration> </configuration>
...@@ -573,11 +572,13 @@ ...@@ -573,11 +572,13 @@
</plugins> </plugins>
</build> </build>
</profile> </profile>
<profile> <profile>
<id>geckodriver-download-unix</id> <id>geckodriver-download-unix</id>
<activation> <activation>
<os><family>unix</family></os> <os>
<family>unix</family>
</os>
</activation> </activation>
<properties> <properties>
<geckodriver.url>https://github.com/mozilla/geckodriver/releases/download/${geckodriver.version}/geckodriver-${geckodriver.version}-${geckodriver.suffix}.tar.gz</geckodriver.url> <geckodriver.url>https://github.com/mozilla/geckodriver/releases/download/${geckodriver.version}/geckodriver-${geckodriver.version}-${geckodriver.suffix}.tar.gz</geckodriver.url>
...@@ -590,17 +591,19 @@ ...@@ -590,17 +591,19 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<version>${maven.antrun.plugin.version}</version> <version>${maven-antrun-plugin.version}</version>
<executions> <executions>
<execution> <execution>
<id>download-geckodriver</id> <id>download-geckodriver</id>
<phase>process-test-resources</phase> <phase>process-test-resources</phase>
<configuration> <configuration>
<tasks> <tasks>
<mkdir dir="${geckodriver.basepath}"/> <mkdir dir="${geckodriver.basepath}" />
<get src="${geckodriver.url}" dest="${geckodriver.compressed.path}" skipexisting="true"/> <get src="${geckodriver.url}" dest="${geckodriver.compressed.path}"
<untar src="${geckodriver.compressed.path}" dest="${geckodriver.basepath}" compression="gzip"/> skipexisting="true" />
<chmod file="${geckodriver.uncompressed.path}" perm="a+x"/> <untar src="${geckodriver.compressed.path}" dest="${geckodriver.basepath}"
compression="gzip" />
<chmod file="${geckodriver.uncompressed.path}" perm="a+x" />
</tasks> </tasks>
</configuration> </configuration>
<goals> <goals>
...@@ -612,11 +615,13 @@ ...@@ -612,11 +615,13 @@
</plugins> </plugins>
</build> </build>
</profile> </profile>
<profile> <profile>
<id>geckodriver-download-windows</id> <id>geckodriver-download-windows</id>
<activation> <activation>
<os><family>windows</family></os> <os>
<family>windows</family>
</os>
</activation> </activation>
<properties> <properties>
<geckodriver.url>https://github.com/mozilla/geckodriver/releases/download/${geckodriver.version}/geckodriver-${geckodriver.version}-${geckodriver.suffix}.zip</geckodriver.url> <geckodriver.url>https://github.com/mozilla/geckodriver/releases/download/${geckodriver.version}/geckodriver-${geckodriver.version}-${geckodriver.suffix}.zip</geckodriver.url>
...@@ -629,17 +634,18 @@ ...@@ -629,17 +634,18 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<version>${maven.antrun.plugin.version}</version> <version>${maven-antrun-plugin.version}</version>
<executions> <executions>
<execution> <execution>
<id>download-geckodriver</id> <id>download-geckodriver</id>
<phase>process-test-resources</phase> <phase>process-test-resources</phase>
<configuration> <configuration>
<tasks> <tasks>
<mkdir dir="${geckodriver.basepath}"/> <mkdir dir="${geckodriver.basepath}" />
<get src="${geckodriver.url}" dest="${geckodriver.compressed.path}" skipexisting="true"/> <get src="${geckodriver.url}" dest="${geckodriver.compressed.path}"
<unzip src="${geckodriver.compressed.path}" dest="${file.separator}${geckodriver.basepath}"/> skipexisting="true" />
<chmod file="${geckodriver.uncompressed.path}" perm="a+x"/> <unzip src="${geckodriver.compressed.path}" dest="${file.separator}${geckodriver.basepath}" />
<chmod file="${geckodriver.uncompressed.path}" perm="a+x" />
</tasks> </tasks>
</configuration> </configuration>
<goals> <goals>
...@@ -651,7 +657,7 @@ ...@@ -651,7 +657,7 @@
</plugins> </plugins>
</build> </build>
</profile> </profile>
<profile> <profile>
<id>geckodriver-properties-unix-amd64</id> <id>geckodriver-properties-unix-amd64</id>
<activation> <activation>
...@@ -664,7 +670,7 @@ ...@@ -664,7 +670,7 @@
<geckodriver.suffix>linux64</geckodriver.suffix> <geckodriver.suffix>linux64</geckodriver.suffix>
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>geckodriver-properties-unix-x86</id> <id>geckodriver-properties-unix-x86</id>
<activation> <activation>
...@@ -677,7 +683,7 @@ ...@@ -677,7 +683,7 @@
<geckodriver.suffix>linux86</geckodriver.suffix> <geckodriver.suffix>linux86</geckodriver.suffix>
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>geckodriver-properties-windows-amd64</id> <id>geckodriver-properties-windows-amd64</id>
<activation> <activation>
...@@ -690,7 +696,7 @@ ...@@ -690,7 +696,7 @@
<geckodriver.suffix>win64</geckodriver.suffix> <geckodriver.suffix>win64</geckodriver.suffix>
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>geckodriver-properties-windows-x86</id> <id>geckodriver-properties-windows-x86</id>
<activation> <activation>
...@@ -703,7 +709,7 @@ ...@@ -703,7 +709,7 @@
<geckodriver.suffix>win86</geckodriver.suffix> <geckodriver.suffix>win86</geckodriver.suffix>
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>geckodriver-properties-and-download-mac</id> <id>geckodriver-properties-and-download-mac</id>
<activation> <activation>
...@@ -723,17 +729,19 @@ ...@@ -723,17 +729,19 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<version>${maven.antrun.plugin.version}</version> <version>${maven-antrun-plugin.version}</version>
<executions> <executions>
<execution> <execution>
<id>download-geckodriver</id> <id>download-geckodriver</id>
<phase>process-test-resources</phase> <phase>process-test-resources</phase>
<configuration> <configuration>
<tasks> <tasks>
<mkdir dir="${geckodriver.basepath}"/> <mkdir dir="${geckodriver.basepath}" />
<get src="${geckodriver.url}" dest="${geckodriver.compressed.path}" skipexisting="true"/> <get src="${geckodriver.url}" dest="${geckodriver.compressed.path}"
<untar src="${geckodriver.compressed.path}" dest="${geckodriver.basepath}" compression="gzip"/> skipexisting="true" />
<chmod file="${geckodriver.uncompressed.path}" perm="a+x"/> <untar src="${geckodriver.compressed.path}" dest="${geckodriver.basepath}"
compression="gzip" />
<chmod file="${geckodriver.uncompressed.path}" perm="a+x" />
</tasks> </tasks>
</configuration> </configuration>
<goals> <goals>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment