-
Notifications
You must be signed in to change notification settings - Fork 54
/
pom.xml
198 lines (187 loc) · 8.18 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
193
194
195
196
197
198
<?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">
<parent>
<artifactId>modules</artifactId>
<groupId>org.motechproject</groupId>
<version>1.3</version>
<relativePath>../</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<version>1.3</version>
<description>OpenHIE Care Services Discovery Module</description>
<artifactId>csd</artifactId>
<name>Care Services Discovery</name>
<packaging>bundle</packaging>
<properties>
<modules.root.dir>${basedir}/..</modules.root.dir>
</properties>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>motech-platform-dataservices</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.motechproject</groupId>
<artifactId>motech-platform-osgi-extender-fragment</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.motechproject</groupId>
<artifactId>motech-platform-web-security</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>motech-admin</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.motechproject</groupId>
<artifactId>motech-scheduler</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.motechproject</groupId>
<artifactId>motech-platform-event</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.spring-oxm</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient-osgi</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore-osgi</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.ws</groupId>
<artifactId>spring-ws-core</artifactId>
</dependency>
<dependency>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
</dependency>
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.saaj-impl</artifactId>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>task-channel.json</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>task-channel.json</exclude>
</excludes>
<filtering>false</filtering>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Blueprint-Enabled>true</Blueprint-Enabled>
<Context-Path>csd</Context-Path>
<Resource-Path>csd/resources</Resource-Path>
<Import-Package>
org.motechproject.mds.service,
org.springframework.cglib.core,
org.springframework.cglib.proxy,
org.springframework.cglib.reflect,
org.springframework.oxm,
org.springframework.transaction,
org.springframework.validation.beanvalidation,
org.springframework.ws.transport,
org.springframework.ws.transport.http,
org.springframework.ws.soap,
org.springframework.ws.soap.saaj,
org.springframework.ws.soap.server,
org.springframework.ws.soap.server.endpoint,
org.springframework.web.servlet.handler,
org.springframework.web.servlet.mvc,
org.springframework.web.servlet.mvc.method.annotation,
org.springframework.oxm.jaxb,
org.springframework.aop,
org.aopalliance.aop,
org.springframework.aop.framework,
*
</Import-Package>
<Export-Package>
org.motechproject.csd.constants;version=${project.version},
org.motechproject.csd.domain;version=${project.version},
org.motechproject.csd.exception;version=${project.version},
org.motechproject.csd.mds;version=${project.version},
org.motechproject.csd.service;version=${project.version},
org.motechproject.csd.util;version=${project.version},
org.motechproject.csd.web;version=${project.version}
</Export-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-bundles</id>
<phase>package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${motech.dir}/bundles</outputDirectory>
<resources>
<resource>
<directory>target</directory>
<includes>
<include>*.jar</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jslint-maven-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
<goals>
<goal>jslint</goal>
</goals>
<configuration>
<sourceJsFolder>${basedir}/src/main/resources/webapp/js</sourceJsFolder>
<disallowIncrAndDecr>true</disallowIncrAndDecr>
<requireUseStrict>true</requireUseStrict>
<predefinedVars>
$, angular, jQuery, parseUri, innerLayout, window, Blob
</predefinedVars>
<failOnIssues>${jslint.enable}</failOnIssues>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>