You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2019/01/21 09:26:58 UTC
[syncope] branch master updated: Ensure Tomcat is downloaded before
building standalone
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 507cbb8 Ensure Tomcat is downloaded before building standalone
507cbb8 is described below
commit 507cbb8ce2489020d2c8fe5d3eb642ffed42adb9
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Mon Jan 21 10:26:48 2019 +0100
Ensure Tomcat is downloaded before building standalone
---
standalone/pom.xml | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/standalone/pom.xml b/standalone/pom.xml
index 5e430db..078909e 100644
--- a/standalone/pom.xml
+++ b/standalone/pom.xml
@@ -78,6 +78,34 @@ under the License.
<build>
<plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <container>
+ <containerId>tomcat9x</containerId>
+ <zipUrlInstaller>
+ <url>http://central.maven.org/maven2/org/apache/tomcat/tomcat/${tomcat.version}/tomcat-${tomcat.version}.zip</url>
+ <downloadDir>${settings.localRepository}/org/codehaus/cargo/cargo-container-archives</downloadDir>
+ <extractDir>${project.build.directory}/cargo/extract</extractDir>
+ </zipUrlInstaller>
+ <timeout>300000</timeout>
+ <log>${cargo.log}</log>
+ <output>${cargo.output}</output>
+ </container>
+ </configuration>
+ <executions>
+ <execution>
+ <id>install-tomcat</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>install</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
<!-- Adds Flowable test content -->
<plugin>
<groupId>org.codehaus.mojo</groupId>