326e1b10a1fe8e22bf4984d0bfac9d93e58e6865
[public/netxms.git] / src / java / nxreporting / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6
7 <groupId>com.radensolutions</groupId>
8 <artifactId>nxreporting</artifactId>
9 <version>1.2.17</version>
10
11 <properties>
12 <spring.version>4.1.1.RELEASE</spring.version>
13 <slf4j.version>1.7.7</slf4j.version>
14 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15 </properties>
16
17 <repositories>
18 <repository>
19 <id>codelds</id>
20 <url>https://code.lds.org/nexus/content/groups/main-repo</url>
21 </repository>
22 </repositories>
23
24 <dependencies>
25 <!-- configuration -->
26 <dependency>
27 <groupId>commons-configuration</groupId>
28 <artifactId>commons-configuration</artifactId>
29 <version>1.9</version>
30 </dependency>
31
32 <!-- Spring -->
33 <dependency>
34 <groupId>org.springframework</groupId>
35 <artifactId>spring-core</artifactId>
36 <version>${spring.version}</version>
37 </dependency>
38 <dependency>
39 <groupId>org.springframework</groupId>
40 <artifactId>spring-context</artifactId>
41 <version>${spring.version}</version>
42 <exclusions>
43 <exclusion>
44 <groupId>commons-logging</groupId>
45 <artifactId>commons-logging</artifactId>
46 </exclusion>
47 </exclusions>
48 </dependency>
49 <dependency>
50 <groupId>org.springframework</groupId>
51 <artifactId>spring-context-support</artifactId>
52 <version>${spring.version}</version>
53 </dependency>
54
55 <!-- DB -->
56 <dependency>
57 <groupId>org.springframework</groupId>
58 <artifactId>spring-orm</artifactId>
59 <version>${spring.version}</version>
60 </dependency>
61 <dependency>
62 <groupId>org.hibernate</groupId>
63 <artifactId>hibernate-entitymanager</artifactId>
64 <version>4.3.5.Final</version>
65 <exclusions>
66 <exclusion>
67 <groupId>org.slf4j</groupId>
68 <artifactId>slf4j-api</artifactId>
69 </exclusion>
70 </exclusions>
71 </dependency>
72 <dependency>
73 <groupId>commons-dbcp</groupId>
74 <artifactId>commons-dbcp</artifactId>
75 <version>1.4</version>
76 </dependency>
77 <dependency>
78 <groupId>commons-collections</groupId>
79 <artifactId>commons-collections</artifactId>
80 <version>3.2.1</version>
81 </dependency>
82
83 <!-- logging -->
84 <dependency>
85 <groupId>org.slf4j</groupId>
86 <artifactId>jcl-over-slf4j</artifactId>
87 <version>${slf4j.version}</version>
88 <scope>runtime</scope>
89 </dependency>
90 <dependency>
91 <groupId>ch.qos.logback</groupId>
92 <artifactId>logback-classic</artifactId>
93 <version>1.0.10</version>
94 <scope>runtime</scope>
95 </dependency>
96
97 <!-- Quartz -->
98 <dependency>
99 <groupId>org.quartz-scheduler</groupId>
100 <artifactId>quartz</artifactId>
101 <version>2.2.1</version>
102 </dependency>
103
104 <!-- NetXMS client API -->
105 <dependency>
106 <groupId>org.netxms</groupId>
107 <artifactId>netxms-base</artifactId>
108 <version>${version}</version>
109 <scope>compile</scope>
110 </dependency>
111 <dependency>
112 <groupId>org.netxms</groupId>
113 <artifactId>netxms-client-api</artifactId>
114 <version>${version}</version>
115 <scope>compile</scope>
116 </dependency>
117
118 <!-- Tests related stuff -->
119 <dependency>
120 <groupId>org.springframework</groupId>
121 <artifactId>spring-test</artifactId>
122 <version>${spring.version}</version>
123 <scope>test</scope>
124 </dependency>
125 <dependency>
126 <groupId>junit</groupId>
127 <artifactId>junit</artifactId>
128 <version>4.11</version>
129 <scope>test</scope>
130 </dependency>
131
132
133 <dependency>
134 <groupId>net.sf.jpathwatch</groupId>
135 <artifactId>jpathwatch</artifactId>
136 <version>0.95</version>
137 </dependency>
138
139 <dependency>
140 <groupId>org.codehaus.groovy</groupId>
141 <artifactId>groovy-all</artifactId>
142 <version>2.2.2</version>
143 </dependency>
144 <dependency>
145 <groupId>net.sf.jasperreports</groupId>
146 <artifactId>jasperreports</artifactId>
147 <version>5.5.2</version>
148 </dependency>
149 <dependency>
150 <groupId>org.apache.poi</groupId>
151 <artifactId>poi</artifactId>
152 <version>3.7</version>
153 </dependency>
154
155 <!-- DB Drivers -->
156 <dependency>
157 <groupId>org.postgresql</groupId>
158 <artifactId>postgresql</artifactId>
159 <version>9.3-1101-jdbc4</version>
160 <scope>runtime</scope>
161 </dependency>
162 <dependency>
163 <groupId>com.informix</groupId>
164 <artifactId>ifxjdbc</artifactId>
165 <version>4.10.0</version>
166 </dependency>
167 <dependency>
168 <groupId>com.oracle</groupId>
169 <artifactId>ojdbc6</artifactId>
170 <version>11.2.0.3</version>
171 <scope>runtime</scope>
172 </dependency>
173 <dependency>
174 <groupId>mysql</groupId>
175 <artifactId>mysql-connector-java</artifactId>
176 <version>5.1.31</version>
177 </dependency>
178
179 <dependency>
180 <groupId>javax.mail</groupId>
181 <artifactId>mail</artifactId>
182 <version>1.4.7</version>
183 </dependency>
184
185 <dependency>
186 <groupId>org.netxms</groupId>
187 <artifactId>netxms-client</artifactId>
188 <version>1.2.17</version>
189 </dependency>
190 </dependencies>
191
192 <profiles>
193 <profile>
194 <id>default</id>
195 <activation>
196 <activeByDefault>true</activeByDefault>
197 </activation>
198 <build>
199 <resources>
200 <resource>
201 <directory>src/main/resources</directory>
202 <excludes>
203 <exclude>nxreporting.xml</exclude>
204 <exclude>logback.xml</exclude>
205 </excludes>
206 <filtering>false</filtering>
207 </resource>
208 </resources>
209 </build>
210 </profile>
211 <profile>
212 <id>dev</id>
213 </profile>
214 </profiles>
215
216 <build>
217 <plugins>
218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-compiler-plugin</artifactId>
221 <configuration>
222 <source>1.6</source>
223 <target>1.6</target>
224 </configuration>
225 </plugin>
226 <plugin>
227 <groupId>org.codehaus.mojo</groupId>
228 <artifactId>exec-maven-plugin</artifactId>
229 <version>1.3</version>
230 <configuration>
231 <!--<mainClass>com.radensolutions.reporting.application.StandaloneLauncher</mainClass>-->
232 <mainClass>com.radensolutions.reporting.Launcher</mainClass>
233 </configuration>
234 </plugin>
235
236 <plugin>
237 <groupId>org.apache.maven.plugins</groupId>
238 <artifactId>maven-dependency-plugin</artifactId>
239 <executions>
240 <execution>
241 <id>copy-dependencies</id>
242 <phase>prepare-package</phase>
243 <goals>
244 <goal>copy-dependencies</goal>
245 </goals>
246 <configuration>
247 <outputDirectory>${project.build.directory}/lib</outputDirectory>
248 <overWriteReleases>false</overWriteReleases>
249 <overWriteSnapshots>false</overWriteSnapshots>
250 <overWriteIfNewer>true</overWriteIfNewer>
251 </configuration>
252 </execution>
253 </executions>
254 </plugin>
255 <plugin>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-jar-plugin</artifactId>
258 <configuration>
259 <archive>
260 <manifest>
261 <mainClass>com.radensolutions.reporting.Launcher</mainClass>
262 <addClasspath>true</addClasspath>
263 <classpathPrefix>lib/</classpathPrefix>
264 </manifest>
265 <manifestEntries>
266 <Class-Path>./conf/</Class-Path>
267 </manifestEntries>
268 </archive>
269 </configuration>
270 </plugin>
271 </plugins>
272 <pluginManagement>
273 <plugins>
274 <!-- Ignore/Execute plugin execution -->
275 <plugin>
276 <groupId>org.eclipse.m2e</groupId>
277 <artifactId>lifecycle-mapping</artifactId>
278 <version>1.0.0</version>
279 <configuration>
280 <lifecycleMappingMetadata>
281 <pluginExecutions>
282 <!-- copy-dependency plugin -->
283 <pluginExecution>
284 <pluginExecutionFilter>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-dependency-plugin</artifactId>
287 <versionRange>[1.0.0,)</versionRange>
288 <goals>
289 <goal>copy-dependencies</goal>
290 </goals>
291 </pluginExecutionFilter>
292 <action>
293 <ignore/>
294 </action>
295 </pluginExecution>
296 </pluginExecutions>
297 </lifecycleMappingMetadata>
298 </configuration>
299 </plugin>
300 </plugins>
301 </pluginManagement>
302 </build>
303 </project>