123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>com.scytl.products.ov.sdm</groupId>
- <artifactId>ov-secure-data-manager</artifactId>
- <version>2.1.6</version>
- </parent>
- <artifactId>ov-secure-data-manager-assembly</artifactId>
- <packaging>pom</packaging>
- <name>Secure Data Manager Assembly</name>
- <description>OV Secure Data Manager Assembly</description>
- <properties>
- <sdm.application.version>${project.version}</sdm.application.version>
- <javac.version>1.8</javac.version>
- <jce.version>8</jce.version>
- <surfire.version>2.17</surfire.version>
- <izpack.version>5.0.6</izpack.version>
- <izpack.staging>${project.build.directory}</izpack.staging>
- <Izpack-validator.version>${project.version}</Izpack-validator.version><!-- This is needed in the ant install.xml file -->
- <launch4j.version>1.7.16</launch4j.version>
- <launch4j.jre.minVersion>1.8.0_45</launch4j.jre.minVersion>
- <launch4j.jre.maxVersion>1.8.0_999</launch4j.jre.maxVersion>
- <jakarta-regexp.version>1.4</jakarta-regexp.version>
- <bsf.version>2.4.0</bsf.version>
- <groovy-all.version>2.4.12</groovy-all.version>
- <groovy-ant.version>2.4.12</groovy-ant.version>
- <commons-logging.version>1.2</commons-logging.version>
- <ant.version>1.9.5</ant.version>
- <ant-launcher.version>1.9.3</ant-launcher.version>
- <apache-tomcat.version>8.5.32</apache-tomcat.version>
- </properties>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>com.scytl.products.ov.sdm</groupId>
- <artifactId>Izpack-validator</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>com.scytl.products.ov.sdm</groupId>
- <artifactId>secure-data-manager-packaging</artifactId>
- <type>pom</type>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.bsf</groupId>
- <artifactId>bsf</artifactId>
- <version>${bsf.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-all</artifactId>
- <version>${groovy-all.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-ant</artifactId>
- <version>${groovy-ant.version}</version>
- </dependency>
-
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>${commons-logging.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- <version>${ant.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant-launcher</artifactId>
- <version>${ant-launcher.version}</version>
- </dependency>
-
- <dependency>
- <groupId>jakarta-regexp</groupId>
- <artifactId>jakarta-regexp</artifactId>
- <version>${jakarta-regexp.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>apache-tomcat</artifactId>
- <version>${apache-tomcat.version}-windows</version>
- <classifier>x86</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>apache-tomcat</artifactId>
- <version>${apache-tomcat.version}-windows</version>
- <classifier>x64</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>apache-tomcat</artifactId>
- <version>${apache-tomcat.version}</version>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>com.safesign</groupId>
- <artifactId>Safesign</artifactId>
- <version>3.0.93</version>
- <type>exe</type>
- </dependency>
-
- <dependency>
- <groupId>com.safesign</groupId>
- <artifactId>SafeSign-x64</artifactId>
- <version>1.0</version>
- <type>exe</type>
- </dependency>
-
- <dependency>
- <groupId>com.ifdokccid</groupId>
- <artifactId>ifdokccid</artifactId>
- <version>4.2.5</version>
- <classifier>linux_i686</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>com.ifdokccid</groupId>
- <artifactId>ifdokccid</artifactId>
- <version>4.2.5</version>
- <classifier>linux_x86_64</classifier>
- <type>zip</type>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <dependencies>
- <dependency>
- <groupId>com.scytl.products.ov.sdm</groupId>
- <artifactId>Izpack-validator</artifactId>
- </dependency>
- <dependency>
- <groupId>com.scytl.products.ov.sdm</groupId>
- <artifactId>secure-data-manager-packaging</artifactId>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.apache.bsf</groupId>
- <artifactId>bsf</artifactId>
- </dependency>
- <dependency>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-all</artifactId>
- </dependency>
- <dependency>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-ant</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant-launcher</artifactId>
- </dependency>
- <dependency>
- <groupId>jakarta-regexp</groupId>
- <artifactId>jakarta-regexp</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>apache-tomcat</artifactId>
- <classifier>x86</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>apache-tomcat</artifactId>
- <classifier>x64</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>apache-tomcat</artifactId>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>com.safesign</groupId>
- <artifactId>Safesign</artifactId>
- <type>exe</type>
- </dependency>
- <dependency>
- <groupId>com.safesign</groupId>
- <artifactId>SafeSign-x64</artifactId>
- <type>exe</type>
- </dependency>
- <dependency>
- <groupId>com.ifdokccid</groupId>
- <artifactId>ifdokccid</artifactId>
- <classifier>linux_i686</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>com.ifdokccid</groupId>
- <artifactId>ifdokccid</artifactId>
- <classifier>linux_x86_64</classifier>
- <type>zip</type>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.bsf</groupId>
- <artifactId>bsf</artifactId>
- <type>jar</type>
- <outputDirectory>${project.build.directory}/jars/</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-all</artifactId>
- <type>jar</type>
- <outputDirectory>${project.build.directory}/jars/</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-ant</artifactId>
- <type>jar</type>
- <outputDirectory>${project.build.directory}/jars/</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <type>jar</type>
- <outputDirectory>${project.build.directory}/jars/</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>com.scytl.products.ov.sdm</groupId>
- <artifactId>Izpack-validator</artifactId>
- <type>jar</type>
- <destFileName>Izpack-validator-${Izpack-validator.version}.jar</destFileName>
- <outputDirectory>${project.build.directory}/jars/</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- <type>jar</type>
- <outputDirectory>${project.build.directory}/jars/</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant-launcher</artifactId>
- <type>jar</type>
- <outputDirectory>${project.build.directory}/jars/</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>apache-tomcat</artifactId>
- <classifier>x86</classifier>
- <type>zip</type>
- <outputDirectory>${project.build.directory}/install/</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>apache-tomcat</artifactId>
- <classifier>x64</classifier>
- <type>zip</type>
- <outputDirectory>${project.build.directory}/install/</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>apache-tomcat</artifactId>
- <type>zip</type>
- <outputDirectory>${project.build.directory}/install/</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>com.safesign</groupId>
- <artifactId>Safesign</artifactId>
- <type>exe</type>
- <outputDirectory>${project.build.directory}/install/</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>com.safesign</groupId>
- <artifactId>SafeSign-x64</artifactId>
- <type>exe</type>
- <outputDirectory>${project.build.directory}/install/</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>com.ifdokccid</groupId>
- <artifactId>ifdokccid</artifactId>
- <classifier>linux_i686</classifier>
- <type>zip</type>
- <outputDirectory>${project.build.directory}/install/</outputDirectory>
- </artifactItem>
- <artifactItem>
- <groupId>com.ifdokccid</groupId>
- <artifactId>ifdokccid</artifactId>
- <classifier>linux_x86_64</classifier>
- <type>zip</type>
- <outputDirectory>${project.build.directory}/install/</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- <execution>
- <id>unpack</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>com.scytl.products.ov.sdm</groupId>
- <artifactId>secure-data-manager-packaging</artifactId>
- <type>zip</type>
- <outputDirectory>${project.build.directory}/install/</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>create-staging-area</id>
- <phase>process-resources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <copy todir="${izpack.staging}">
- <fileset dir="${basedir}/src/main/izpack" />
- </copy>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- Plugin de izpack para generar el instalador, configurado para que
- lo genere en la fase de package -->
- <plugin>
- <groupId>org.codehaus.izpack</groupId>
- <artifactId>izpack-maven-plugin</artifactId>
- <version>${izpack.version}</version>
- <executions>
- <execution>
- <phase>prepare-package</phase>
- <goals>
- <goal>izpack</goal>
- </goals>
- <configuration>
- <!-- base for relative paths in izpack descriptor -->
- <baseDir>${izpack.staging}</baseDir>
- <installFile>${basedir}/src/main/izpack/install.xml</installFile>
- <outputDirectory>${project.build.directory}</outputDirectory>
- <jarName>ov-secure-data-manager-assembly-${sdm.application.version}</jarName>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.codehaus.izpack</groupId>
- <artifactId>izpack-panel</artifactId>
- <version>${izpack.version}</version>
- </dependency>
- <dependency>
- <groupId>jakarta-regexp</groupId>
- <artifactId>jakarta-regexp</artifactId>
- <version>${jakarta-regexp.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>com.akathist.maven.plugins.launch4j</groupId>
- <artifactId>launch4j-maven-plugin</artifactId>
- <version>${launch4j.version}</version>
- <configuration>
- <dontWrapJar>false</dontWrapJar>
- <headerType>gui</headerType>
- <jar>${project.build.directory}/ov-secure-data-manager-assembly-${sdm.application.version}.jar</jar>
- <errTitle />
- <cmdLine />
- <chdir>.</chdir>
- <priority>normal</priority>
- <downloadUrl>http://java.com/download</downloadUrl>
- <supportUrl />
- <stayAlive>false</stayAlive>
- <restartOnCrash>false</restartOnCrash>
- <manifest />
- <icon />
- <jre>
- <path />
- <minVersion>${launch4j.jre.minVersion}</minVersion>
- <maxVersion>${launch4j.jre.maxVersion}</maxVersion>
- <jdkPreference>preferJre</jdkPreference>
- </jre>
- </configuration>
- <executions>
- <execution>
- <id>l4j-clui-64</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>launch4j</goal>
- </goals>
- <configuration>
- <outfile>${project.build.directory}/install/sdm-64-windows-installer-${sdm.application.version}.exe</outfile>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptor>package.xml</descriptor>
- <appendAssemblyId>false</appendAssemblyId>
- <finalName>ov-secure-data-manager-assembly-${sdm.application.version}</finalName>
- </configuration>
- <executions>
- <execution>
- <id>create-archive</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-distribution</id>
- <phase>package</phase>
- <goals>
- <goal>attach-artifact</goal>
- </goals>
- <configuration>
- <artifacts>
- <artifact>
- <file>target/ov-secure-data-manager-assembly-${sdm.application.version}.jar</file>
- <type>jar</type>
- </artifact>
- </artifacts>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
-
|