Guillaume Nodet | 916f28a | 2009-09-22 09:11:12 +0000 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 2 | |
| 3 | <!-- |
| 4 | |
| 5 | Licensed to the Apache Software Foundation (ASF) under one or more |
| 6 | contributor license agreements. See the NOTICE file distributed with |
| 7 | this work for additional information regarding copyright ownership. |
| 8 | The ASF licenses this file to You under the Apache License, Version 2.0 |
| 9 | (the "License"); you may not use this file except in compliance with |
| 10 | the License. You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | --> |
| 20 | |
| 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | |
| 23 | <parent> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 24 | <groupId>org.apache.felix.karaf</groupId> |
Guillaume Nodet | b9103c8 | 2009-05-11 14:33:35 +0000 | [diff] [blame] | 25 | <artifactId>karaf</artifactId> |
Guillaume Nodet | 6392dfe | 2009-11-27 12:32:26 +0000 | [diff] [blame] | 26 | <version>1.3.0-SNAPSHOT</version> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 27 | </parent> |
| 28 | |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 29 | <groupId>org.apache.felix.karaf</groupId> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 30 | <artifactId>itests</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 31 | <packaging>jar</packaging> |
Guillaume Nodet | 6392dfe | 2009-11-27 12:32:26 +0000 | [diff] [blame] | 32 | <version>1.3.0-SNAPSHOT</version> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 33 | <name>Apache Felix Karaf :: ITests</name> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 34 | |
| 35 | <description> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 36 | Integration tests |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 37 | </description> |
| 38 | |
Guillaume Nodet | c0d9772 | 2009-09-18 20:25:06 +0000 | [diff] [blame] | 39 | <properties> |
| 40 | <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory> |
| 41 | </properties> |
| 42 | |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 43 | <dependencies> |
Guillaume Nodet | f201501 | 2009-04-30 07:04:50 +0000 | [diff] [blame] | 44 | <!-- This is required to be first so that pax-exam classloader is not messed up with a newer version of felix |
| 45 | which would lead to java.lang.NoSuchMethodError: org.apache.felix.framework.Logger.<init>(I)V --> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 46 | <dependency> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 47 | <groupId>org.apache.felix</groupId> |
| 48 | <artifactId>org.apache.felix.framework</artifactId> |
| 49 | <version>1.0.0</version> |
| 50 | </dependency> |
Guillaume Nodet | f201501 | 2009-04-30 07:04:50 +0000 | [diff] [blame] | 51 | <!-- This is required to be first so that pax-exam classloader is not messed up with a newer version of felix |
| 52 | which would lead to java.lang.RuntimeException: Could not create [service.obr] --> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 53 | <dependency> |
Guillaume Nodet | f201501 | 2009-04-30 07:04:50 +0000 | [diff] [blame] | 54 | <groupId>org.apache.felix</groupId> |
| 55 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
| 56 | <version>1.2.1</version> |
| 57 | </dependency> |
| 58 | |
| 59 | <!-- The assembly and all the dependencies --> |
| 60 | <dependency> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 61 | <groupId>org.apache.felix.karaf</groupId> |
| 62 | <artifactId>apache-felix-karaf</artifactId> |
Guillaume Nodet | f201501 | 2009-04-30 07:04:50 +0000 | [diff] [blame] | 63 | <type>xml</type> |
| 64 | <classifier>features</classifier> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 65 | <scope>test</scope> |
| 66 | </dependency> |
Guillaume Nodet | f201501 | 2009-04-30 07:04:50 +0000 | [diff] [blame] | 67 | |
Guillaume Nodet | a9a1b5e | 2010-02-03 12:23:27 +0000 | [diff] [blame^] | 68 | <dependency> |
| 69 | <groupId>org.apache.felix.karaf.tooling</groupId> |
| 70 | <artifactId>org.apache.felix.karaf.tooling.testing</artifactId> |
| 71 | <scope>test</scope> |
| 72 | </dependency> |
| 73 | |
Guillaume Nodet | f201501 | 2009-04-30 07:04:50 +0000 | [diff] [blame] | 74 | <!-- Pax EXAM --> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 75 | <dependency> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 76 | <groupId>org.ops4j.pax.exam</groupId> |
| 77 | <artifactId>pax-exam</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 78 | <scope>test</scope> |
| 79 | </dependency> |
| 80 | <dependency> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 81 | <groupId>org.ops4j.pax.exam</groupId> |
| 82 | <artifactId>pax-exam-junit</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 83 | <scope>test</scope> |
| 84 | </dependency> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 85 | <dependency> |
| 86 | <groupId>org.ops4j.pax.exam</groupId> |
| 87 | <artifactId>pax-exam-container-default</artifactId> |
| 88 | <scope>test</scope> |
| 89 | </dependency> |
| 90 | <dependency> |
| 91 | <groupId>org.ops4j.pax.exam</groupId> |
| 92 | <artifactId>pax-exam-junit-extender-impl</artifactId> |
| 93 | <scope>test</scope> |
| 94 | </dependency> |
| 95 | <dependency> |
| 96 | <groupId>junit</groupId> |
| 97 | <artifactId>junit</artifactId> |
| 98 | <version>4.5</version> |
Guillaume Nodet | f201501 | 2009-04-30 07:04:50 +0000 | [diff] [blame] | 99 | <scope>test</scope> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 100 | </dependency> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 101 | </dependencies> |
| 102 | |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 103 | <repositories> |
| 104 | <repository> |
| 105 | <id>ops4j.releases</id> |
| 106 | <url>http://repository.ops4j.org/maven2</url> |
| 107 | </repository> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 108 | </repositories> |
| 109 | <pluginRepositories> |
| 110 | <pluginRepository> |
| 111 | <id>ops4j.releases</id> |
| 112 | <url>http://repository.ops4j.org/maven2</url> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 113 | </pluginRepository> |
| 114 | </pluginRepositories> |
| 115 | |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 116 | <build> |
| 117 | <plugins> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 118 | <!-- generate dependencies versions --> |
| 119 | <plugin> |
| 120 | <groupId>org.apache.servicemix.tooling</groupId> |
| 121 | <artifactId>depends-maven-plugin</artifactId> |
Guillaume Nodet | 4705d54 | 2009-09-21 08:05:12 +0000 | [diff] [blame] | 122 | <version>1.1</version> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 123 | <executions> |
| 124 | <execution> |
| 125 | <id>generate-depends-file</id> |
| 126 | <goals> |
| 127 | <goal>generate-depends-file</goal> |
| 128 | </goals> |
| 129 | </execution> |
| 130 | </executions> |
| 131 | </plugin> |
| 132 | </plugins> |
| 133 | </build> |
| 134 | |
| 135 | <profiles> |
| 136 | <profile> |
| 137 | <id>ci-build-profile</id> |
| 138 | <activation> |
| 139 | <property> |
| 140 | <name>maven.repo.local</name> |
| 141 | </property> |
| 142 | </activation> |
| 143 | <build> |
| 144 | <plugins> |
| 145 | <plugin> |
| 146 | <groupId>org.apache.maven.plugins</groupId> |
| 147 | <artifactId>maven-surefire-plugin</artifactId> |
| 148 | <configuration> |
| 149 | <!-- when the local repo location has been specified, we need to pass on this information to PAX mvn url --> |
| 150 | <argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine> |
| 151 | </configuration> |
| 152 | </plugin> |
| 153 | </plugins> |
| 154 | </build> |
| 155 | </profile> |
Guillaume Nodet | 7ac6a8c | 2009-10-15 16:41:09 +0000 | [diff] [blame] | 156 | <!-- |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 157 | <profile> |
| 158 | <activation> |
| 159 | <os> |
| 160 | <family>Windows</family> |
| 161 | </os> |
| 162 | </activation> |
| 163 | <build> |
| 164 | <plugins> |
| 165 | <plugin> |
| 166 | <groupId>org.apache.maven.plugins</groupId> |
| 167 | <artifactId>maven-surefire-plugin</artifactId> |
| 168 | <configuration> |
| 169 | <skip>true</skip> |
| 170 | </configuration> |
| 171 | </plugin> |
| 172 | </plugins> |
| 173 | </build> |
| 174 | </profile> |
Guillaume Nodet | 7ac6a8c | 2009-10-15 16:41:09 +0000 | [diff] [blame] | 175 | --> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 176 | </profiles> |
| 177 | |
| 178 | </project> |