blob: 1e3cf7f9129033dcad72695579a071bbfe158e40 [file] [log] [blame]
John E. Conlonb5ad0142007-02-07 16:07:47 +00001<project
2 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/maven-v4_0_0.xsd">
5
6 <parent>
7 <groupId>org.slf4j</groupId>
8 <artifactId>slf4j-parent</artifactId>
9 <version>1.3.0-SNAPSHOT</version>
10 </parent>
11
12 <modelVersion>4.0.0</modelVersion>
13
14 <groupId>org.slf4j</groupId>
15 <artifactId>slf4j-osgi-integration-test</artifactId>
16 <version>${parent.version}</version>
17 <packaging>jar</packaging>
18 <name>SLF4J OSGi Integration Test</name>
19
20 <url>http://www.slf4j.org</url>
21 <description>
22 OSGi integration tests for the slf4j.
23 </description>
Ceki Gulcu34499462007-02-22 21:15:18 +000024 <!-- These dependencies are deceptive they are only for the springframework testing env.
25 bundles being tested are specified in the -->
John E. Conlonb5ad0142007-02-07 16:07:47 +000026
Ceki Gulcu34499462007-02-22 21:15:18 +000027 <dependencies>
28 <dependency>
29 <groupId>org.apache.felix</groupId>
30 <artifactId>javax.servlet</artifactId>
31 <version>0.8.0-SNAPSHOT</version>
32 <scope>test</scope>
33 </dependency>
34
35 <dependency>
36 <groupId>org.osgi</groupId>
37 <artifactId>org.osgi.compendium</artifactId>
38 <version>4.0</version>
39 <scope>provided</scope>
40 </dependency>
41
42 <dependency>
43 <groupId>junit</groupId>
44 <artifactId>junit</artifactId>
45 <version>3.8.1</version>
46 <scope>test</scope>
47 </dependency>
48 <dependency>
49 <groupId>org.slf4j</groupId>
50 <artifactId>slf4j-osgi-test-bundle</artifactId>
51 <version>${parent.version}</version>
52 <scope>test</scope>
53 </dependency>
54 <dependency>
55 <groupId>org.springframework.osgi</groupId>
56 <artifactId>org.springframework.osgi.test</artifactId>
57 <version>1.0-SNAPSHOT</version>
58 <scope>provided</scope>
59 </dependency>
60 <dependency>
61 <groupId>org.springframework.osgi</groupId>
62 <artifactId>spring-core</artifactId>
63 <version>2.1-SNAPSHOT</version>
64 <scope>provided</scope>
65 </dependency>
66 <dependency>
67 <groupId>org.springframework.osgi</groupId>
68 <artifactId>spring-context</artifactId>
69 <version>2.1-SNAPSHOT</version>
70 <scope>provided</scope>
71 </dependency>
72 <dependency>
73 <groupId>org.springframework.osgi</groupId>
74 <artifactId>spring-beans</artifactId>
75 <version>2.1-SNAPSHOT</version>
76 <scope>provided</scope>
77 </dependency>
78 <dependency>
79 <groupId>org.springframework.osgi</groupId>
80 <artifactId>jcl104-over-slf4j.osgi</artifactId>
81 <version>1.1.0</version>
82 <scope>provided</scope>
83 </dependency>
84
85 <dependency>
86 <groupId>org.slf4j</groupId>
87 <artifactId>slf4j-log4j-full</artifactId>
88 <version>1.1.0</version>
89 <scope>provided</scope>
90 </dependency>
91
92 <dependency>
93 <groupId>org.springframework.osgi</groupId>
94 <artifactId>log4j.osgi</artifactId>
95 <version>1.2.13-SNAPSHOT</version>
96 <scope>test</scope>
97 </dependency>
98 <dependency>
99 <groupId>org.springframework.osgi</groupId>
100 <artifactId>backport-util-concurrent</artifactId>
101 <version>3.0-SNAPSHOT</version>
102 <scope>test</scope>
103 </dependency>
104 </dependencies>
John E. Conlonb5ad0142007-02-07 16:07:47 +0000105
106
107 <build>
108 <plugins>
109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-compiler-plugin</artifactId>
112 <configuration>
113 <source>1.5</source>
114 <target>1.5</target>
115 </configuration>
116 </plugin>
117 <!-- run tests during the integration-test phase, not the normal test phase -->
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-surefire-plugin</artifactId>
121 <configuration>
122 <skip>true</skip>
123 <systemProperties>
124 <property>
125 <name>org.springframework.osgi.test.framework</name>
126 <value>${osgi.test.platform}</value>
127 </property>
128 <property>
129 <name>org.osgi.framework.system.packages</name>
130 <value>${osgi.test.system.packages}</value>
131 </property>
132 <!--
133 <property>
134 <name>org.osgi.vendor.framework</name>
135 <value>${org.osgi.vendor.framework}</value>
136 </property>
137 -->
138 </systemProperties>
139 </configuration>
140 <executions>
141 <execution>
142 <id>default</id>
143 <phase>test</phase>
144 <goals></goals>
145 </execution>
146 <execution>
147 <id>integration-test</id>
148 <phase>integration-test</phase>
149 <goals>
150 <goal>test</goal>
151 </goals>
152 <configuration>
153 <skip>false</skip>
154 <forkMode>pertest</forkMode>
155 </configuration>
156 </execution>
157 </executions>
158 </plugin>
159 </plugins>
160 </build>
161 <profiles>
162 <profile>
163 <id>equinox</id>
164 <activation>
165 <activeByDefault>true</activeByDefault>
166 </activation>
167 <dependencies>
168 <dependency>
169 <groupId>org.eclipse.equinox</groupId>
170 <artifactId>org.eclipse.osgi</artifactId>
171 <version>3.2.0</version>
172 <type>jar</type>
173 <scope>provided</scope>
174 </dependency>
175 </dependencies>
176 <properties>
177 <osgi.test.system.packages>org.xml.sax, org.w3c.dom, javax.xml.parsers, javax.naming, javax.management</osgi.test.system.packages>
178 <osgi.test.platform>equinox</osgi.test.platform>
179 </properties>
180 </profile>
181 <profile>
182 <id>knopflerfish</id>
183 <dependencies>
184 <dependency>
185 <groupId>org.knopflerfish</groupId>
186 <artifactId>framework</artifactId>
187 <version>2.0.1</version>
188 <type>jar</type>
189 <scope>provided</scope>
190 </dependency>
191 </dependencies>
192 <properties>
193 <!-- knopflerfish testing requires that the system property
194 org.osgi.framework.system.packages be set with a list
195 system packages that are to be imported on the kf classpath.
196 This property is a placeholder for the list. See the surefire
197 plugin configuration systemProperties referenced above to see
198 the mapping to this element. -->
199 <osgi.test.system.packages>org.xml.sax, org.w3c.dom, javax.xml.parsers, javax.naming, javax.management</osgi.test.system.packages>
200 <osgi.test.platform>knopflerfish</osgi.test.platform>
201 </properties>
202 </profile>
203 <profile>
204 <id>felix</id>
205 <dependencies>
206 <dependency>
207 <groupId>org.apache.felix</groupId>
208 <artifactId>org.apache.felix.framework</artifactId>
209 <version>0.8.0-SNAPSHOT</version>
210 <type>jar</type>
211 <scope>provided</scope>
212 </dependency>
213 <dependency>
214 <groupId>org.apache.felix</groupId>
215 <artifactId>org.apache.felix.main</artifactId>
216 <version>0.8.0-SNAPSHOT</version>
217 <type>jar</type>
218 <scope>provided</scope>
219 </dependency>
220 <dependency>
221 <groupId>org.apache.felix</groupId>
222 <artifactId>org.osgi.core</artifactId>
223 <version>0.8.0-SNAPSHOT</version>
224 <type>jar</type>
225 <scope>runtime</scope>
226 </dependency>
227 </dependencies>
228 <properties>
229 <osgi.test.platform>felix</osgi.test.platform>
230 <!-- <org.osgi.vendor.framework>org.apache.felix.framework</org.osgi.vendor.framework> -->
231 </properties>
232 </profile>
233 </profiles>
234</project>