-
Notifications
You must be signed in to change notification settings - Fork 2
/
pom.xml
192 lines (171 loc) · 5.54 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<?xml version="1.0"?>
<!-- * Copyright 2009 Sjukvardsradgivningen * * This library is free software;
you can redistribute it and/or modify * it under the terms of version 2.1
of the GNU Lesser General Public * License as published by the Free Software
Foundation. * * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public
License for more details. * * You should have received a copy of the GNU
Lesser General Public * License along with this library; if not, write to
the * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston,
MA 02111-1307 USA -->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>se.skl.skltpservices.takecare</groupId>
<artifactId>TakeCareIntegrationComponent-system</artifactId>
<version>1.0.3-SNAPSHOT</version>
</parent>
<artifactId>TakeCareTestProducer</artifactId>
<name>TakeCareTestProducer</name>
<url>http://maven.apache.org</url>
<packaging>mule</packaging>
<properties>
<cxf.version>2.6.1</cxf.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<dependencies>
<!-- schema dependency -->
<dependency>
<groupId>se.skl.skltpservices.takecare</groupId>
<artifactId>TakeCare-schemas</artifactId>
<version>1.0</version>
</dependency>
<!--soitoolkit -->
<dependency>
<groupId>org.soitoolkit.commons.components</groupId>
<artifactId>soitoolkit-commons-mule</artifactId>
<version>${soitoolkit.version}</version>
</dependency>
<dependency>
<groupId>org.soitoolkit.commons.poms</groupId>
<artifactId>soitoolkit-test-dependencies</artifactId>
<version>${soitoolkit.version}</version>
<type>pom</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.soitoolkit.commons.poms.mule-dependencies</groupId>
<artifactId>soitoolkit-mule-3.2.1-dependencies</artifactId>
<version>${soitoolkit.version}</version>
<type>pom</type>
</dependency>
<!-- CXF -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<version>${cxf.version}</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
</resource>
<resource>
<directory>${basedir}/src/main/app</directory>
</resource>
</resources>
<plugins>
<plugin>
<!-- Add mule-nature to the eclipse-.project-file -->
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<additionalProjectnatures>
<projectnature>org.mule.tooling.core.muleNature</projectnature>
</additionalProjectnatures>
</configuration>
</plugin>
<plugin>
<groupId>org.mule.tools</groupId>
<artifactId>maven-mule-plugin</artifactId>
<extensions>true</extensions>
<!-- Include mule-dependencies that doesn't come with Mule 3.x otherwise
we can't install to a vanilla Mule 3.x installation -->
<configuration>
<inclusions>
<inclusion>
<groupId>org.mule.modules</groupId>
<artifactId>commonretrypolicies</artifactId>
</inclusion>
<inclusion>
<groupId>org.mule.transports</groupId>
<artifactId>mule-transport-restlet</artifactId>
</inclusion>
<inclusion>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-rest</artifactId>
</inclusion>
<inclusion>
<groupId>org.mule.modules</groupId>
<artifactId>devkit</artifactId>
</inclusion>
</inclusions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<classifier>core</classifier>
<excludes>
<exclude>log4j.xml</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>muleServer</id>
<!-- Start mule server with the command "mvn -PmuleServer" or "mvn -PmuleServer
-Dexec.args="${artifaceId}-config.xml"" if you want to override the default
config-file -->
<build>
<defaultGoal>test</defaultGoal>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>java</goal>
</goals>
<configuration>
<mainClass>se.skl.skltpservices.takecare.takecaretestproducer.TakeCareTestProducerMuleServer</mainClass>
<classpathScope>test</classpathScope>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>