blob: f55cf05edcb2f2daff3051f35e91928cd079f4f2 [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>
Ceki Gulcu83c405e2007-02-25 16:55:12 +00009 <version>1.3.1-SNAPSHOT</version>
John E. Conlonb5ad0142007-02-07 16:07:47 +000010 </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 -->
Ceki Gulcu34499462007-02-22 21:15:18 +000026
John E. Conlonc120c342007-02-25 03:06:20 +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>
John E. Conlonb5ad0142007-02-07 16:07:47 +000034
John E. Conlonc120c342007-02-25 03:06:20 +000035 <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
79
80 <dependency>
81 <groupId>org.springframework.osgi</groupId>
82 <artifactId>spring-mock</artifactId>
83 <version>2.1-SNAPSHOT</version>
84 <type>jar</type>
85 <scope>test</scope>
86 </dependency>
87 <dependency>
88 <groupId>org.springframework.osgi</groupId>
89 <artifactId>jcl104-over-slf4j.osgi</artifactId>
90 <version>1.1.0</version>
91 <scope>provided</scope>
92 </dependency>
93 <dependency>
94 <groupId>org.slf4j</groupId>
95 <artifactId>slf4j-log4j-full</artifactId>
96 <version>1.1.0</version>
97 <scope>provided</scope>
98 </dependency>
99 <dependency>
100 <groupId>org.springframework.osgi</groupId>
101 <artifactId>log4j.osgi</artifactId>
102 <version>1.2.13-SNAPSHOT</version>
103 <scope>test</scope>
104 </dependency>
105 <dependency>
106 <groupId>org.springframework.osgi</groupId>
107 <artifactId>backport-util-concurrent</artifactId>
108 <version>3.0-SNAPSHOT</version>
109 <scope>test</scope>
110 </dependency>
111 </dependencies>
112
113
114 <build>
John E. Conlonb5ad0142007-02-07 16:07:47 +0000115 <plugins>
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-compiler-plugin</artifactId>
119 <configuration>
120 <source>1.5</source>
121 <target>1.5</target>
122 </configuration>
123 </plugin>
124 <!-- run tests during the integration-test phase, not the normal test phase -->
125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-surefire-plugin</artifactId>
128 <configuration>
129 <skip>true</skip>
130 <systemProperties>
131 <property>
132 <name>org.springframework.osgi.test.framework</name>
133 <value>${osgi.test.platform}</value>
134 </property>
135 <property>
136 <name>org.osgi.framework.system.packages</name>
137 <value>${osgi.test.system.packages}</value>
138 </property>
139 <!--
140 <property>
141 <name>org.osgi.vendor.framework</name>
142 <value>${org.osgi.vendor.framework}</value>
143 </property>
144 -->
145 </systemProperties>
146 </configuration>
147 <executions>
148 <execution>
149 <id>default</id>
150 <phase>test</phase>
151 <goals></goals>
152 </execution>
153 <execution>
154 <id>integration-test</id>
155 <phase>integration-test</phase>
156 <goals>
157 <goal>test</goal>
158 </goals>
159 <configuration>
160 <skip>false</skip>
161 <forkMode>pertest</forkMode>
162 </configuration>
163 </execution>
164 </executions>
165 </plugin>
166 </plugins>
167 </build>
168 <profiles>
169 <profile>
170 <id>equinox</id>
171 <activation>
172 <activeByDefault>true</activeByDefault>
173 </activation>
174 <dependencies>
175 <dependency>
176 <groupId>org.eclipse.equinox</groupId>
177 <artifactId>org.eclipse.osgi</artifactId>
178 <version>3.2.0</version>
179 <type>jar</type>
180 <scope>provided</scope>
181 </dependency>
182 </dependencies>
183 <properties>
184 <osgi.test.system.packages>org.xml.sax, org.w3c.dom, javax.xml.parsers, javax.naming, javax.management</osgi.test.system.packages>
185 <osgi.test.platform>equinox</osgi.test.platform>
186 </properties>
187 </profile>
188 <profile>
189 <id>knopflerfish</id>
190 <dependencies>
191 <dependency>
192 <groupId>org.knopflerfish</groupId>
193 <artifactId>framework</artifactId>
194 <version>2.0.1</version>
195 <type>jar</type>
196 <scope>provided</scope>
197 </dependency>
198 </dependencies>
199 <properties>
200 <!-- knopflerfish testing requires that the system property
201 org.osgi.framework.system.packages be set with a list
202 system packages that are to be imported on the kf classpath.
203 This property is a placeholder for the list. See the surefire
204 plugin configuration systemProperties referenced above to see
205 the mapping to this element. -->
206 <osgi.test.system.packages>org.xml.sax, org.w3c.dom, javax.xml.parsers, javax.naming, javax.management</osgi.test.system.packages>
207 <osgi.test.platform>knopflerfish</osgi.test.platform>
208 </properties>
209 </profile>
210 <profile>
211 <id>felix</id>
212 <dependencies>
213 <dependency>
214 <groupId>org.apache.felix</groupId>
215 <artifactId>org.apache.felix.framework</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.apache.felix.main</artifactId>
223 <version>0.8.0-SNAPSHOT</version>
224 <type>jar</type>
225 <scope>provided</scope>
226 </dependency>
227 <dependency>
228 <groupId>org.apache.felix</groupId>
229 <artifactId>org.osgi.core</artifactId>
230 <version>0.8.0-SNAPSHOT</version>
231 <type>jar</type>
232 <scope>runtime</scope>
233 </dependency>
234 </dependencies>
235 <properties>
236 <osgi.test.platform>felix</osgi.test.platform>
237 <!-- <org.osgi.vendor.framework>org.apache.felix.framework</org.osgi.vendor.framework> -->
238 </properties>
239 </profile>
240 </profiles>
241</project>