-
Notifications
You must be signed in to change notification settings - Fork 3
/
pom.xml
90 lines (83 loc) · 3.37 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<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>ch.ivyteam.ivy.project.demo.ci.deploy.application</groupId>
<artifactId>maven.config</artifactId>
<version>11.3.0-SNAPSHOT</version>
<relativePath>maven/config</relativePath>
</parent>
<artifactId>application</artifactId>
<version>11.3.0-SNAPSHOT</version>
<packaging>pom</packaging>
<scm>
<connection>scm:git:[email protected]:axonivy/project-build-examples.git</connection>
</scm>
<modules>
<module>base</module>
<module>solution</module>
<module>customer</module>
</modules>
<distributionManagement>
<snapshotRepository>
<id>repo.axonivy.com</id>
<name>Axon Ivy Repository</name>
<url>https://repo.axonivy.com/artifactory/libs-snapshot-local</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.7.1</version>
<configuration>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>create.app</id>
<goals><goal>single</goal></goals>
<phase>generate-resources</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.axonivy.ivy.ci</groupId>
<artifactId>project-build-plugin</artifactId>
<version>${project-build-plugin}</version>
<extensions>true</extensions>
<executions>
<execution>
<id>test.engine.starter</id>
<phase>pre-integration-test</phase>
<goals><goal>start-test-engine</goal></goals>
</execution>
<execution>
<id>test.app.deploy</id>
<phase>pre-integration-test</phase>
<goals><goal>deploy-to-engine</goal></goals>
<configuration>
<deployFile>${project.build.directory}/${project.artifactId}-${project.version}.zip</deployFile>
<deployToEngineApplication>MyApplication</deployToEngineApplication>
<!-- <deployOptionsFile>${basedir}/deploy.options.yaml</deployOptionsFile> -->
<!-- The following parameters can instead be configured in a yaml file like above.
Comment out the below parameters and uncomment the deployOptionsFile parameter
if you want to use the yaml file instead.
If the deployOptionsFile is configured, the parameters get ignored (no merge). -->
<deployTestUsers>false</deployTestUsers>
<deployTargetVersion>AUTO</deployTargetVersion>
<deployTargetState>ACTIVE_AND_RELEASED</deployTargetState>
</configuration>
</execution>
<execution>
<id>test.engine.stopper</id>
<phase>post-integration-test</phase>
<goals><goal>stop-test-engine</goal></goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>