xref: /aosp_15_r20/external/slf4j/integration/pom.xml (revision d4cc4a21ff30dee54251e974d02850809c70b030)
1<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
5  <modelVersion>4.0.0</modelVersion>
6
7  <parent>
8    <groupId>org.slf4j</groupId>
9    <artifactId>slf4j-parent</artifactId>
10    <version>2.0.12</version>
11    <relativePath>../parent/pom.xml</relativePath>
12  </parent>
13
14  <artifactId>integration</artifactId>
15  <packaging>jar</packaging>
16  <name>SLF4J Integration tests</name>
17
18  <url>http://www.slf4j.org</url>
19  <description>SLF4J integration tests</description>
20
21  <properties>
22    <junit.version>4.10</junit.version>
23    <!-- 1.9.1 does not work. Do not update lightly -->
24    <ant-junit.version>1.9.0</ant-junit.version>
25    <antrun-plugin.version>1.8</antrun-plugin.version>
26  </properties>
27
28
29  <dependencies>
30    <dependency>
31      <groupId>org.slf4j</groupId>
32      <artifactId>slf4j-api</artifactId>
33    </dependency>
34
35    <!-- declaration to circumvent  http://jira.codehaus.org/browse/MANTRUN-95 -->
36    <!--
37    <dependency>
38      <groupId>junit</groupId>
39      <artifactId>junit</artifactId>
40      <version>${junit3.version}</version>
41    </dependency>
42    -->
43    <!-- declaration to circumvent  http://jira.codehaus.org/browse/MANTRUN-95 -->
44    <!--
45    <dependency>
46      <groupId>ant</groupId>
47      <artifactId>ant-junit</artifactId>
48      <version>${ant-junit.version}</version>
49    </dependency>
50    -->
51
52    <!-- some test run Felix in hosted mode -->
53    <dependency>
54      <groupId>org.apache.felix</groupId>
55      <artifactId>org.apache.felix.main</artifactId>
56      <version>5.6.1</version>
57      <!--<version>2.0.2</version>-->
58    </dependency>
59  </dependencies>
60
61  <build>
62    <plugins>
63      <plugin>
64        <artifactId>maven-antrun-plugin</artifactId>
65        <version>${antrun-plugin.version}</version>
66        <dependencies>
67          <dependency>
68            <groupId>junit</groupId>
69            <artifactId>junit</artifactId>
70            <version>${junit.version}</version>
71          </dependency>
72          <dependency>
73            <groupId>org.apache.ant</groupId>
74            <artifactId>ant-junit</artifactId>
75            <version>${ant-junit.version}</version>
76          </dependency>
77        </dependencies>
78        <executions>
79          <execution>
80            <id>ant-test</id>
81            <phase>package</phase>
82            <configuration>
83              <tasks>
84                <property name="currentVersion" value="${project.version}"/>
85                <property name="compile_classpath" refid="maven.compile.classpath"/>
86                <property name="runtime_classpath" refid="maven.runtime.classpath"/>
87                <property name="test_classpath" refid="maven.test.classpath"/>
88                <property name="plugin_classpath" refid="maven.plugin.classpath"/>
89                <ant antfile="${basedir}/build.xml"/>
90              </tasks>
91            </configuration>
92            <goals>
93              <goal>run</goal>
94            </goals>
95          </execution>
96          <!-- OSGI integration with ServiceLoader mechanism fails at this stage
97          <execution>
98            <id>ant-osgi-test</id>
99            <phase>package</phase>
100            <configuration>
101              <tasks>
102                <property name="currentVersion" value="${project.version}"/>
103                <property name="test_classpath" refid="maven.test.classpath"/>
104                <property name="basedir" value="${basedir}"/>
105                <ant antfile="${basedir}/osgi-build.xml"/>
106              </tasks>
107            </configuration>
108            <goals>
109              <goal>run</goal>
110            </goals>
111          </execution>
112          -->
113        </executions>
114      </plugin>
115
116      <plugin>
117        <groupId>org.apache.maven.plugins</groupId>
118        <artifactId>maven-surefire-plugin</artifactId>
119        <configuration>
120          <forkMode>once</forkMode>
121          <reportFormat>plain</reportFormat>
122          <trimStackTrace>false</trimStackTrace>
123          <excludes>
124            <exclude>**/*Test.java</exclude>
125          </excludes>
126        </configuration>
127      </plugin>
128
129      <plugin>
130        <groupId>org.apache.maven.plugins</groupId>
131        <artifactId>maven-deploy-plugin</artifactId>
132        <configuration>
133          <skip>true</skip>
134        </configuration>
135      </plugin>
136
137
138    </plugins>
139
140
141  </build>
142
143</project>
144