logback-classic-1.2.3.pom 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  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. <parent>
  7. <groupId>ch.qos.logback</groupId>
  8. <artifactId>logback-parent</artifactId>
  9. <version>1.2.3</version>
  10. </parent>
  11. <artifactId>logback-classic</artifactId>
  12. <packaging>jar</packaging>
  13. <name>Logback Classic Module</name>
  14. <description>logback-classic module</description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>ch.qos.logback</groupId>
  18. <artifactId>logback-core</artifactId>
  19. <scope>compile</scope>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.slf4j</groupId>
  23. <artifactId>slf4j-api</artifactId>
  24. <version>${slf4j.version}</version>
  25. <scope>compile</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.slf4j</groupId>
  29. <artifactId>slf4j-ext</artifactId>
  30. <version>${slf4j.version}</version>
  31. <scope>test</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>ch.qos.cal10n.plugins</groupId>
  35. <artifactId>maven-cal10n-plugin</artifactId>
  36. <version>${cal10n.version}</version>
  37. <scope>test</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.slf4j</groupId>
  41. <artifactId>slf4j-api</artifactId>
  42. <type>test-jar</type>
  43. <version>${slf4j.version}</version>
  44. <scope>test</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.slf4j</groupId>
  48. <artifactId>log4j-over-slf4j</artifactId>
  49. <version>${slf4j.version}</version>
  50. <scope>test</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.slf4j</groupId>
  54. <artifactId>jul-to-slf4j</artifactId>
  55. <version>${slf4j.version}</version>
  56. <scope>test</scope>
  57. </dependency>
  58. <!-- Must be after log4j-over-slf4j:
  59. * we want to use the classes from log4j-over-slf4j (so it must come first);
  60. * we want to use log4j.dtd from log4j. -->
  61. <dependency>
  62. <groupId>log4j</groupId>
  63. <artifactId>log4j</artifactId>
  64. <version>1.2.17</version>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>dom4j</groupId>
  69. <artifactId>dom4j</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.hsqldb</groupId>
  74. <artifactId>hsqldb</artifactId>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.h2database</groupId>
  79. <artifactId>h2</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>postgresql</groupId>
  84. <artifactId>postgresql</artifactId>
  85. <scope>test</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>mysql</groupId>
  89. <artifactId>mysql-connector-java</artifactId>
  90. <scope>test</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>javax.mail</groupId>
  94. <artifactId>mail</artifactId>
  95. <scope>compile</scope>
  96. <optional>true</optional>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.codehaus.janino</groupId>
  100. <artifactId>janino</artifactId>
  101. <scope>compile</scope>
  102. <optional>true</optional>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.codehaus.groovy</groupId>
  106. <artifactId>groovy-all</artifactId>
  107. <scope>compile</scope>
  108. <optional>true</optional>
  109. </dependency>
  110. <dependency>
  111. <groupId>ch.qos.logback</groupId>
  112. <artifactId>logback-core</artifactId>
  113. <type>test-jar</type>
  114. <scope>test</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.slf4j</groupId>
  118. <artifactId>integration</artifactId>
  119. <version>${slf4j.version}</version>
  120. <scope>test</scope>
  121. </dependency>
  122. <dependency>
  123. <groupId>javax.servlet</groupId>
  124. <artifactId>javax.servlet-api</artifactId>
  125. <scope>compile</scope>
  126. <optional>true</optional>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.icegreen</groupId>
  130. <artifactId>greenmail</artifactId>
  131. <version>1.3</version>
  132. <scope>test</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.subethamail</groupId>
  136. <artifactId>subethasmtp</artifactId>
  137. <version>2.1.0</version>
  138. <scope>test</scope>
  139. <exclusions>
  140. <exclusion>
  141. <groupId>org.slf4j</groupId>
  142. <artifactId>slf4j-api</artifactId>
  143. </exclusion>
  144. </exclusions>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.felix</groupId>
  148. <artifactId>org.apache.felix.main</artifactId>
  149. <version>2.0.2</version>
  150. <scope>test</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.mockito</groupId>
  154. <artifactId>mockito-core</artifactId>
  155. <scope>test</scope>
  156. </dependency>
  157. </dependencies>
  158. <build>
  159. <resources>
  160. <resource>
  161. <directory>src/main/groovy</directory>
  162. <includes>
  163. <include>**/EvaluatorTemplate.groovy</include>
  164. <include>**/*.groovy</include>
  165. </includes>
  166. </resource>
  167. <resource>
  168. <directory>src/main/resources</directory>
  169. </resource>
  170. </resources>
  171. <plugins>
  172. <plugin>
  173. <groupId>org.codehaus.gmavenplus</groupId>
  174. <artifactId>gmavenplus-plugin</artifactId>
  175. <version>1.5</version>
  176. <executions>
  177. <execution>
  178. <goals>
  179. <goal>generateStubs</goal>
  180. <goal>compile</goal>
  181. <goal>testGenerateStubs</goal>
  182. <goal>testCompile</goal>
  183. </goals>
  184. </execution>
  185. </executions>
  186. </plugin>
  187. <plugin>
  188. <groupId>org.apache.maven.plugins</groupId>
  189. <artifactId>maven-jar-plugin</artifactId>
  190. <configuration>
  191. <archive>
  192. <manifestFile>
  193. ${project.build.outputDirectory}/META-INF/MANIFEST.MF
  194. </manifestFile>
  195. </archive>
  196. </configuration>
  197. <executions>
  198. <execution>
  199. <id>bundle-test-jar</id>
  200. <phase>package</phase>
  201. <goals>
  202. <goal>jar</goal>
  203. <goal>test-jar</goal>
  204. </goals>
  205. </execution>
  206. </executions>
  207. </plugin>
  208. <plugin>
  209. <groupId>org.apache.maven.plugins</groupId>
  210. <artifactId>maven-antrun-plugin</artifactId>
  211. <version>1.8</version>
  212. <dependencies>
  213. <dependency>
  214. <groupId>org.apache.ant</groupId>
  215. <artifactId>ant-junit</artifactId>
  216. <version>1.8.1</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>junit</groupId>
  220. <artifactId>junit</artifactId>
  221. <version>${junit.version}</version>
  222. </dependency>
  223. </dependencies>
  224. <executions>
  225. <execution>
  226. <id>ant-osgi-test</id>
  227. <phase>package</phase>
  228. <configuration>
  229. <target>
  230. <property name="currentVersion" value="${project.version}"/>
  231. <property name="slf4j.version" value="${slf4j.version}"/>
  232. <property name="basedir" value="${basedir}"/>
  233. <ant antfile="${basedir}/osgi-build.xml"/>
  234. </target>
  235. </configuration>
  236. <goals>
  237. <goal>run</goal>
  238. </goals>
  239. </execution>
  240. <execution>
  241. <id>ant-integration-test</id>
  242. <phase>package</phase>
  243. <configuration>
  244. <target>
  245. <property name="slf4j.version" value="${slf4j.version}"/>
  246. <ant antfile="${basedir}/integration.xml"/>
  247. </target>
  248. </configuration>
  249. <goals>
  250. <goal>run</goal>
  251. </goals>
  252. </execution>
  253. </executions>
  254. </plugin>
  255. <plugin>
  256. <groupId>org.apache.maven.plugins</groupId>
  257. <artifactId>maven-surefire-plugin</artifactId>
  258. <configuration>
  259. <!-- once, never, pertest, always -->
  260. <!--<forkMode>once</forkMode>-->
  261. <forkCount>1C</forkCount>
  262. <reuseForks>false</reuseForks>
  263. <reportFormat>plain</reportFormat>
  264. <trimStackTrace>false</trimStackTrace>
  265. <excludes>
  266. <exclude>**/AllClassicTest.java</exclude>
  267. <exclude>**/PackageTest.java</exclude>
  268. <exclude>**/TestConstants.java</exclude>
  269. <exclude>**/test_osgi/BundleTest.java</exclude>
  270. <exclude>**/ch/qos/logback/classic/util/InitializationIntegrationTest.java</exclude>
  271. <!-- skip performance tests -->
  272. <exclude>**/*PerfTest.java</exclude>
  273. </excludes>
  274. </configuration>
  275. </plugin>
  276. <plugin>
  277. <groupId>org.apache.felix</groupId>
  278. <artifactId>maven-bundle-plugin</artifactId>
  279. <extensions>true</extensions>
  280. <executions>
  281. <execution>
  282. <id>bundle-manifest</id>
  283. <phase>process-classes</phase>
  284. <goals>
  285. <goal>manifest</goal>
  286. </goals>
  287. </execution>
  288. </executions>
  289. <configuration>
  290. <instructions>
  291. <Export-Package>ch.qos.logback.classic*, org.slf4j.impl;version=${slf4j.version}</Export-Package>
  292. <!-- LB-CLASSIC It is necessary to specify the rolling
  293. file packages as classes are created via IOC (xml
  294. config files). They won't be found by Bnd's analysis
  295. of java code. -->
  296. <Import-Package>
  297. sun.reflect;resolution:=optional,
  298. javax.*;resolution:=optional,
  299. org.xml.*;resolution:=optional,
  300. org.slf4j,
  301. org.slf4j.event,
  302. ch.qos.logback.core.rolling,
  303. ch.qos.logback.core.rolling.helper,
  304. ch.qos.logback.core.util,
  305. ch.qos.logback.core.read,
  306. org.codehaus.groovy.*;resolution:=optional,
  307. groovy.lang.*;resolution:=optional,
  308. *
  309. </Import-Package>
  310. <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
  311. </instructions>
  312. </configuration>
  313. </plugin>
  314. </plugins>
  315. <pluginManagement>
  316. <plugins>
  317. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  318. <plugin>
  319. <groupId>org.eclipse.m2e</groupId>
  320. <artifactId>lifecycle-mapping</artifactId>
  321. <version>1.0.0</version>
  322. <configuration>
  323. <lifecycleMappingMetadata>
  324. <pluginExecutions>
  325. <pluginExecution>
  326. <pluginExecutionFilter>
  327. <groupId>org.codehaus.gmavenplus</groupId>
  328. <artifactId>gmavenplus-plugin</artifactId>
  329. <versionRange>[1.5,)</versionRange>
  330. <goals>
  331. <goal>testGenerateStubs</goal>
  332. <goal>generateStubs</goal>
  333. <goal>testCompile</goal>
  334. <goal>compile</goal>
  335. </goals>
  336. </pluginExecutionFilter>
  337. <action>
  338. <ignore></ignore>
  339. </action>
  340. </pluginExecution>
  341. </pluginExecutions>
  342. </lifecycleMappingMetadata>
  343. </configuration>
  344. </plugin>
  345. </plugins>
  346. </pluginManagement>
  347. </build>
  348. <profiles>
  349. <profile>
  350. <!-- Integration tests require the host-orion profile -->
  351. <id>host-orion</id>
  352. <dependencies>
  353. <!-- locally installed artifact -->
  354. <dependency>
  355. <groupId>com.microsoft.sqlserver</groupId>
  356. <artifactId>sqljdbc4</artifactId>
  357. <version>2.0</version>
  358. <scope>test</scope>
  359. </dependency>
  360. <!-- locally installed artifact -->
  361. <dependency>
  362. <groupId>com.oracle</groupId>
  363. <artifactId>ojdbc14</artifactId>
  364. <version>10.2.0.1</version>
  365. <scope>test</scope>
  366. </dependency>
  367. </dependencies>
  368. </profile>
  369. <profile>
  370. <!-- Integration tests require the host-hora profile -->
  371. <id>host-hora</id>
  372. <dependencies>
  373. <!-- locally installed artifact -->
  374. <dependency>
  375. <groupId>com.oracle</groupId>
  376. <artifactId>ojdbc14</artifactId>
  377. <version>10.2.0.1</version>
  378. <scope>test</scope>
  379. </dependency>
  380. </dependencies>
  381. </profile>
  382. </profiles>
  383. </project>