-
Notifications
You must be signed in to change notification settings - Fork 75
/
maven-dependencies.rhamt.test.xml
83 lines (83 loc) · 3.73 KB
/
maven-dependencies.rhamt.test.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
<?xml version="1.0"?>
<ruletest id="maven-dependencies-tests"
xmlns="http://windup.jboss.org/schema/jboss-ruleset"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://windup.jboss.org/schema/jboss-ruleset http://windup.jboss.org/schema/jboss-ruleset/windup-jboss-ruleset.xsd">
<testDataPath>data/maven-dependencies</testDataPath>
<rulePath>../maven-dependencies.rhamt.xml</rulePath>
<ruleset>
<rules>
<rule id="maven-dependencies-00000-test">
<when>
<not>
<iterable-filter size="1">
<hint-exists message="`javax.activation` Maven dependency missing*"/>
</iterable-filter>
</not>
</when>
<perform>
<fail message="[maven-dependencies] 'javax.activation' Maven dependency missing hint was not found!" />
</perform>
</rule>
<rule id="maven-dependencies-00001-test">
<when>
<not>
<iterable-filter size="1">
<hint-exists message="`jaxb-api` Maven dependency missing*"/>
</iterable-filter>
</not>
</when>
<perform>
<fail message="[maven-dependencies] 'jaxb-api' Maven dependency missing hint was not found!" />
</perform>
</rule>
<rule id="maven-dependencies-00002-test">
<when>
<not>
<iterable-filter size="1">
<hint-exists message="`jaxb-core` Maven dependency missing*"/>
</iterable-filter>
</not>
</when>
<perform>
<fail message="[maven-dependencies] 'jaxb-core' Maven dependency missing hint was not found!" />
</perform>
</rule>
<rule id="maven-dependencies-00003-test">
<when>
<not>
<iterable-filter size="1">
<hint-exists message="`jaxb-impl` Maven dependency missing*"/>
</iterable-filter>
</not>
</when>
<perform>
<fail message="[maven-dependencies] 'jaxb-impl' Maven dependency missing hint was not found!" />
</perform>
</rule>
<rule id="maven-dependencies-00004-test">
<when>
<not>
<iterable-filter size="1">
<hint-exists message="`org.apache.camel:camel-linkedin` artifact has been removed in Apache Camel 3 so it won't be available"/>
</iterable-filter>
</not>
</when>
<perform>
<fail message="[maven-dependencies] 'camel-linkedin' dependency removed hint was not found!" />
</perform>
</rule>
<rule id="maven-dependencies-00005-test">
<when>
<not>
<iterable-filter size="1">
<hint-exists message="`org.apache.camel:camel-http4` artifact has been moved in Apache Camel 3 to `org.apache.camel:camel-http` artifact"/>
</iterable-filter>
</not>
</when>
<perform>
<fail message="[maven-dependencies] 'camel-http4' dependency moved hint was not found!" />
</perform>
</rule>
</rules>
</ruleset>
</ruletest>