-
Notifications
You must be signed in to change notification settings - Fork 0
/
archetype-mule.xml
86 lines (77 loc) · 3.11 KB
/
archetype-mule.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
<archetype>
<id>maven-archetype-mule-project</id>
<variables>
<variable>
<name>description</name>
<description>Provide a description of what the project does:</description>
<!-- Note that you always need a <defValue> element for -Dinteractive=false to work -->
<defvalue/>
</variable>
<variable>
<name>muleVersion</name>
<description>Which version of Mule is this project targeted at?</description>
<defvalue>${muleVersion}</defvalue>
</variable>
<variable>
<name>forgeRepo</name>
<description>Will this example be hosted in the MuleForge Maven repository? [y] or [n]</description>
<defvalue>y</defvalue>
</variable>
<variable>
<name>package</name>
<description>What is the base Java package path for this project? (i.e. com/mycompany/project):</description>
<defvalue/>
</variable>
<variable>
<name>transports</name>
<description>
Which Mule transports do you want to include in this project?
(options: ajax, ejb, file, ftp, http, https, imap, imaps, jbpm, jdbc,
jetty, jetty-ssl, jms, jnp, multicast, pop3, pop3s, quartz, rmi, servlet,
smtp, smtps, ssl, tls, stdio, tcp, udp, vm, xmpp):
</description>
<defvalue>file,http,jdbc,jms,vm</defvalue>
</variable>
<variable>
<name>modules</name>
<description>Which Mule modules do you want to include in this project?
(options: annotations, atom, boot, builders, client, cxf, doc, guice,
jaas, jbossts, jersey, json, management, ognl, pgp, rss, scripting,
spring-extras, spring-security, sxc, xml):
</description>
<defvalue>client,cxf,management,scripting,sxc,xml</defvalue>
</variable>
</variables>
<templates>
<!-- the template README should be run first since it sets up other variables and is always included -->
<template>
<file>README.vm</file>
<output>MULE-README.txt</output>
</template>
<template>
<file>pom.vm</file>
<output>pom.xml</output>
</template>
<template>
<file>src/main/app/mule-config.xml.vm</file>
<output>src/main/app/mule-config.xml</output>
</template>
<template>
<file>src/main/java/package.vm</file>
<output>src/main/java/${package}/${ModuleNameLower}/package.html</output>
</template>
<!-- Test Cases -->
<template>
<file>src/test/java/org/mule/modules/FunctionalTestCase.vm</file>
<output>
src/test/java/${package}/${ModuleNameLower}/${ModuleName}TestCase.java
</output>
</template>
<template>
<file>src/test/resources/functional-test-config.xml.vm</file>
<output>
src/test/resources/${ModuleNameLower}-functional-test-config.xml
</output>
</template>
</templates>
</archetype>