-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpom.xml
115 lines (108 loc) · 3.89 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>ch.ivyteam.ivy.project.demo.ci</groupId>
<artifactId>deploy-single</artifactId>
<version>11.3.0-SNAPSHOT</version>
<packaging>iar</packaging>
<properties>
<!-- Skip maven artifact deployment -->
<maven.deploy.skip>true</maven.deploy.skip>
<project-build-plugin>12.0.2-SNAPSHOT</project-build-plugin>
</properties>
<pluginRepositories>
<!--
Releases of our project-build-plugin are available over maven central.
However, *-SNAPSHOT release are not. Therefore, we configure this sonatype
repository where *-SNAPSHOT releases of the project-build-plugin are available.
We strongly recommend that you do not use *-SNAPSHOT releases for productive environments!
If you do not use *-SNAPSHOT release you can remove this configuration
-->
<pluginRepository>
<id>central.snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
<profiles>
<profile>
<id>env-dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<engine.deploy.directory>C:\dev-engines\AxonIvyEngine</engine.deploy.directory>
</properties>
</profile>
<profile>
<id>env-prd</id>
<properties>
<engine.deploy.directory>C:\engines\AxonIvyEngine</engine.deploy.directory>
</properties>
</profile>
</profiles>
<build>
<plugins>
<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.download</id>
<phase>validate</phase>
<goals><goal>installEngine</goal></goals>
</execution>
<execution>
<id>test.engine.starter</id>
<phase>pre-integration-test</phase>
<goals><goal>start-test-engine</goal></goals>
</execution>
<execution>
<id>deploy.to.development.server</id>
<phase>pre-integration-test</phase>
<goals>
<goal>deploy-to-engine</goal>
</goals>
<configuration>
<deployFile>${project.build.directory}/${project.artifactId}-${project.version}.iar</deployFile>
<deployToEngineApplication>MyApplication</deployToEngineApplication>
</configuration>
</execution>
<execution>
<id>test.engine.stopper</id>
<phase>post-integration-test</phase>
<goals><goal>stop-test-engine</goal></goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.3</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>