This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch sandbox/camel-3.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit 80c72626446828cce93d8bf9255a0be0242da008 Author: aldettinger <[email protected]> AuthorDate: Mon Oct 15 21:04:52 2018 +0200 CAMEL-12881: Fixed the camel-infinispan integration test --- components/camel-infinispan/pom.xml | 56 +++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 31 deletions(-) diff --git a/components/camel-infinispan/pom.xml b/components/camel-infinispan/pom.xml index 5e70f89..a9a4734 100644 --- a/components/camel-infinispan/pom.xml +++ b/components/camel-infinispan/pom.xml @@ -196,41 +196,35 @@ <server.dir.name>infinispan-server-${infinispan-version}</server.dir.name> <server.dir>${server.dir.parent}/${server.dir.name}</server.dir> </properties> - <dependencies> - <dependency> - <groupId>org.infinispan.server</groupId> - <artifactId>infinispan-server</artifactId> - <version>${infinispan-version}</version> - <type>zip</type> - <classifier>bin</classifier> - <scope>test</scope> - </dependency> - </dependencies> <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <id>unpack-server</id> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <id>install-binary-distribution</id> <phase>generate-test-resources</phase> <goals> - <goal>unpack</goal> + <goal>run</goal> </goals> <configuration> - <artifactItems> - <artifactItem> - <groupId>org.infinispan.server</groupId> - <artifactId>infinispan-server</artifactId> - <version>${infinispan-version}</version> - <classifier>bin</classifier> - <type>zip</type> - <outputDirectory>${server.dir.parent}</outputDirectory> - </artifactItem> - </artifactItems> - </configuration> - </execution> + <target> + <get + src="https://downloads.jboss.org/infinispan/${infinispan-version}/infinispan-server-${infinispan-version}.zip" + dest="${project.build.directory}/infinispan-server-${infinispan-version}.zip"/> + <unzip + src="${project.build.directory}/infinispan-server-${infinispan-version}.zip" + dest="${server.dir.parent}"/> + </target> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> <execution> <id>deploy-converter-factory</id> <phase>generate-test-resources</phase> @@ -254,7 +248,7 @@ <plugin> <groupId>org.wildfly.plugins</groupId> <artifactId>wildfly-maven-plugin</artifactId> - <version>1.1.0.Alpha6</version> + <version>1.2.2.Final</version> <executions> <execution> <id>start-server</id>
