Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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>
- <artifactId>qa-system-deployment</artifactId>
- <groupId>com.deltabasics</groupId>
- <version>2.56-SNAPSHOT</version>
- </parent>
- <artifactId>qa-system-deployment-qa</artifactId>
- <packaging>pom</packaging>
- <name>qa-system-deployment-qa</name>
- <description>
- This project enables deployment of the QA system and all of its
- components per the version ID above.
- </description>
- <properties>
- <version-gb_services_api-ear>1.9-SNAPSHOT</version-gb_services_api-ear>
- <version-myproduct_model>1.32-SNAPSHOT</version-myproduct_model>
- <version-postgresql-driver>9.3-1102-jdbc41</version-postgresql-driver>
- <http-listener.max-post-size>52428800</http-listener.max-post-size>
- <database.qa_db-rw.min>20</database.qa_db-rw.min>
- <database.qa_db-rw.max>50</database.qa_db-rw.max>
- <database.qa_db-rw.hostname>127.0.0.1</database.qa_db-rw.hostname>
- <database.qa_db-rw.port>5432</database.qa_db-rw.port>
- <database.qa_db-rw.username>qa</database.qa_db-rw.username>
- <database.qa_db-rw.password>qa</database.qa_db-rw.password>
- <database.qa_db-rw.password_syntax>/subsystem=datasources/xa-data-source="java:jboss/datasources/qa_db-rw":read-resource</database.qa_db-rw.password_syntax>
- <database.qa_db.name>qa_development</database.qa_db.name>
- <!-- auth db connection -->
- <database.qa-auth.db_name>qa_development</database.qa-auth.db_name>
- <database.qa-auth.hostname>127.0.0.1</database.qa-auth.hostname>
- <database.qa-auth.port>5432</database.qa-auth.port>
- <database.qa-auth.username>qa</database.qa-auth.username>
- <database.qa-auth.password>qa</database.qa-auth.password>
- <database.qa-auth.password_syntax />
- <database.qa-auth.min>1</database.qa-auth.min>
- <database.qa-auth.max>25</database.qa-auth.max>
- <database.system.webservice>localhost</database.system.webservice>
- <database.system.port>5432</database.system.port>
- <database.webservice.name>qa_development</database.webservice.name>
- <liquibase.dbuser>postgres</liquibase.dbuser>
- <liquibase.dbpassword />
- <liquibase.emptyPassword>true</liquibase.emptyPassword>
- <database.webservice.targetSchema>public</database.webservice.targetSchema>
- <ssh_key_path>~/.ssh/id_rsa_sandbox</ssh_key_path>
- <ssh_user>jboss</ssh_user>
- <ssh_host>ci.webservice.varian.com</ssh_host>
- <jboss-home>/usr/local/wildfly-9.0.1.Final</jboss-home>
- <server_jboss_path>${jboss-home}</server_jboss_path>
- <confversion>${project.version}</confversion>
- </properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>com.deltabasics</groupId>
- <artifactId>gb_services_api-ear</artifactId>
- <version>${version-gb_services_api-ear}</version>
- <type>ear</type>
- </dependency>
- <dependency>
- <groupId>com.deltabasics</groupId>
- <artifactId>login_module-ear</artifactId>
- <version>${version-login_module-ear}</version>
- <type>ear</type>
- </dependency>
- <dependency>
- <groupId>com.deltabasics</groupId>
- <artifactId>gb_services_api-web</artifactId>
- <version>${version-gb_services_api-ear}</version>
- <classifier>static-html</classifier>
- <type>tar.gz</type>
- </dependency>
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>${version-postgresql-driver}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.liquibase</groupId>
- <artifactId>liquibase-maven-plugin</artifactId>
- <configuration>
- <driver>org.postgresql.Driver</driver>
- <url>jdbc:postgresql://${database.system.webservice}:${database.system.port}/${database.webservice.name}?ApplicationName=liquibase</url>
- <username>${liquibase.dbuser}</username>
- <password>${liquibase.dbpassword}</password>
- <emptyPassword>${liquibase.emptyPassword}</emptyPassword>
- <defaultSchemaName>${database.webservice.targetSchema}</defaultSchemaName>
- <!-- 'targetSchema' is an expression in some of the change-logs due
- to a bug in the MySQL driver. When creating triggers, the driver won't default
- to the current schema, so objects need to be qualified. -->
- <expressionVars>
- <property>
- <name>targetSchema</name>
- <value>${database.webservice.targetSchema}</value>
- </property>
- </expressionVars>
- <verbose>true</verbose>
- <promptOnNonLocalDatabase>false</promptOnNonLocalDatabase>
- </configuration>
- <executions>
- <execution>
- <id>apply-db-changelog</id>
- <phase>generate-resources</phase>
- <goals>
- <goal>update</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>com.deltabasics</groupId>
- <artifactId>myproduct_model</artifactId>
- <version>${version-myproduct_model}</version>
- <classifier>liquibase</classifier>
- </dependency>
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>${version-postgresql-driver}</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- <profiles>
- <profile>
- <id>copy_login_module_dependencies</id>
- <dependencies>
- <dependency>
- <groupId>com.deltabasics</groupId>
- <artifactId>login_module-model-ejb</artifactId>
- <version>${version-login_module-ear}</version>
- <type>jar</type>
- </dependency>
- <dependency>
- <groupId>com.deltabasics</groupId>
- <artifactId>login_module-api-ejb</artifactId>
- <version>${version-login_module-ear}</version>
- <type>jar</type>
- </dependency>
- <dependency>
- <groupId>org.mindrot</groupId>
- <artifactId>jbcrypt</artifactId>
- <version>${version-login_module-jbcrypt}</version>
- <type>jar</type>
- </dependency>
- <!--<dependency>-->
- <!--<groupId>commons-httpclient</groupId>-->
- <!--<artifactId>commons-httpclient</artifactId>-->
- <!--<version>${version-login_module-commons-httpclient}</version>-->
- <!--<type>jar</type>-->
- <!--</dependency>-->
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>${version-login_module-commons-httpcomponents}</version>
- <type>jar</type>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore</artifactId>
- <version>${version-login_module-commons-httpcomponents}</version>
- <type>jar</type>
- </dependency>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>${version-login_module-gson}</version>
- <type>jar</type>
- </dependency>
- <dependency>
- <groupId>org.glassfish</groupId>
- <artifactId>javax.json</artifactId>
- <version>${version-login_module-javax.json}</version>
- <type>jar</type>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>${version-login_module-commons-ioutils}</version>
- <type>jar</type>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.8</version>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/login_module_artifacts</outputDirectory>
- <stripVersion>true</stripVersion>
- <includeGroupIds>org.mindrot,com.deltabasics,org.glassfish,org.apache.httpcomponents,com.google.code.gson,commons-io</includeGroupIds> <!-- ,commons-httpclien
- t -->
- <includeArtifactIds>login_module-model-ejb,login_module-api-ejb,jbcrypt,javax.json,httpclient,httpcore,gson,commons-io</includeArtifactIds> <!-- commons-httpc
- lient, -->
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>copy_dependencies</id>
- <dependencies>
- <dependency>
- <groupId>com.deltabasics</groupId>
- <artifactId>gb_services_api-web</artifactId>
- <classifier>static-html</classifier>
- <type>tar.gz</type>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.8</version>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/deployment_artifacts</outputDirectory>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>true</overWriteSnapshots>
- <excludeTransitive>true</excludeTransitive>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement