forked from bpmn-miwg/bpmn-miwg-test-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
149 lines (142 loc) · 5 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<?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>
<groupId>org.omg.bpmn.miwg</groupId>
<artifactId>test-suite</artifactId>
<version>0.4-SNAPSHOT</version>
<name>BPMN 2.0 MIWG Test Suite</name>
<description>Reference BPMN files and various vendor's implementations of the same.</description>
<packaging>jar</packaging>
<properties>
<java.version>1.6</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bpmn-miwg-tools.version>0.3</bpmn-miwg-tools.version>
<!-- Use this property to name just one tool to be tested
<project.bpmn.application>Yaoqiang BPMN Editor 2.2.18</project.bpmn.application>
-->
<!-- staging area for subsequent commit and push -->
<local-mvn-repo.snapshot.directory>file:${user.home}/bpmn-miwg-mvn-repo/snapshots</local-mvn-repo.snapshot.directory>
</properties>
<repositories>
<repository>
<id>bpmn-miwg-snapshot-repo</id>
<url>https://github.com/bpmn-miwg/bpmn-miwg-tools/raw/mvn-repo/org/omg/bpmn/miwg/schema-tool</url>
<releases>
<enabled>false</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>bpmn-miwg-snapshot-plugin-repo</id>
<url>https://github.com/bpmn-miwg/bpmn-miwg-tools/raw/mvn-repo/org/omg/bpmn/miwg/schema-tool</url>
<releases>
<enabled>false</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<resources>
<resource>
<filtering>false</filtering>
<directory>${basedir}</directory>
<includes>
<!-- include only files that follow the naming conventions and are thus understood by the tools -->
<include>Reference/*.bpmn</include>
<include>Reference/*.png</include>
<include>**/*-export.bpmn</include>
<include>**/*-roundtrip.bpmn</include>
<include>**/*-import.png</include>
<include>**/*-export.png</include>
<include>*.json</include>
<include>LICENSE.txt</include>
</includes>
<excludes>
<exclude>.*</exclude><!-- ignore hidden files from Git & Eclipse -->
<exclude>.*/**/*</exclude><!-- ignore hidden folders from Git & Eclipse -->
<exclude>target/**/*</exclude><!-- ignore Maven build dir -->
<exclude>Work in Progress/**/*</exclude><!-- ignore unfinished test cases -->
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<altDeploymentRepository>internal.repo::default::${local-mvn-repo.snapshot.directory}</altDeploymentRepository>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>reference-only</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>reference-only</classifier>
<includes>
<include>Reference/*.bpmn</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>analysis</id>
<build>
<plugins>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.4</version>
<executions>
<!-- jar BPMN MIWG analysis reports as part of the build's normal 'install' phase -->
<execution>
<goals>
<goal>jar</goal>
</goals>
<phase>install</phase>
</execution>
</executions>
</plugin>
<!-- This binds the BPMN MIWG analysis tools to the test phase of the Maven lifecycle -->
<plugin>
<groupId>org.omg.bpmn.miwg</groupId>
<artifactId>bpmn-miwg-maven-plugin</artifactId>
<version>${bpmn-miwg-tools.version}</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>