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 | 3b7f876 | 2009-09-22 09:15:21 +0000 | [diff] [blame] | 26 | <version>1.1.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 | 3b7f876 | 2009-09-22 09:15:21 +0000 | [diff] [blame] | 32 | <version>1.1.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 | |
| 68 | <!-- Pax EXAM --> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 69 | <dependency> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 70 | <groupId>org.ops4j.pax.exam</groupId> |
| 71 | <artifactId>pax-exam</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 72 | <scope>test</scope> |
| 73 | </dependency> |
| 74 | <dependency> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 75 | <groupId>org.ops4j.pax.exam</groupId> |
| 76 | <artifactId>pax-exam-junit</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 77 | <scope>test</scope> |
| 78 | </dependency> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 79 | <dependency> |
| 80 | <groupId>org.ops4j.pax.exam</groupId> |
| 81 | <artifactId>pax-exam-container-default</artifactId> |
| 82 | <scope>test</scope> |
| 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>org.ops4j.pax.exam</groupId> |
| 86 | <artifactId>pax-exam-junit-extender-impl</artifactId> |
| 87 | <scope>test</scope> |
| 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>junit</groupId> |
| 91 | <artifactId>junit</artifactId> |
| 92 | <version>4.5</version> |
Guillaume Nodet | f201501 | 2009-04-30 07:04:50 +0000 | [diff] [blame] | 93 | <scope>test</scope> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 94 | </dependency> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 95 | </dependencies> |
| 96 | |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 97 | <repositories> |
| 98 | <repository> |
| 99 | <id>ops4j.releases</id> |
| 100 | <url>http://repository.ops4j.org/maven2</url> |
| 101 | </repository> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 102 | </repositories> |
| 103 | <pluginRepositories> |
| 104 | <pluginRepository> |
| 105 | <id>ops4j.releases</id> |
| 106 | <url>http://repository.ops4j.org/maven2</url> |
Guillaume Nodet | 5c1894e | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 107 | </pluginRepository> |
| 108 | </pluginRepositories> |
| 109 | |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 110 | <build> |
| 111 | <plugins> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 112 | <!-- generate dependencies versions --> |
| 113 | <plugin> |
| 114 | <groupId>org.apache.servicemix.tooling</groupId> |
| 115 | <artifactId>depends-maven-plugin</artifactId> |
Guillaume Nodet | 4705d54 | 2009-09-21 08:05:12 +0000 | [diff] [blame] | 116 | <version>1.1</version> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 117 | <executions> |
| 118 | <execution> |
| 119 | <id>generate-depends-file</id> |
| 120 | <goals> |
| 121 | <goal>generate-depends-file</goal> |
| 122 | </goals> |
| 123 | </execution> |
| 124 | </executions> |
| 125 | </plugin> |
| 126 | </plugins> |
| 127 | </build> |
| 128 | |
| 129 | <profiles> |
| 130 | <profile> |
| 131 | <id>ci-build-profile</id> |
| 132 | <activation> |
| 133 | <property> |
| 134 | <name>maven.repo.local</name> |
| 135 | </property> |
| 136 | </activation> |
| 137 | <build> |
| 138 | <plugins> |
| 139 | <plugin> |
| 140 | <groupId>org.apache.maven.plugins</groupId> |
| 141 | <artifactId>maven-surefire-plugin</artifactId> |
| 142 | <configuration> |
| 143 | <!-- when the local repo location has been specified, we need to pass on this information to PAX mvn url --> |
| 144 | <argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine> |
| 145 | </configuration> |
| 146 | </plugin> |
| 147 | </plugins> |
| 148 | </build> |
| 149 | </profile> |
| 150 | <profile> |
| 151 | <activation> |
| 152 | <os> |
| 153 | <family>Windows</family> |
| 154 | </os> |
| 155 | </activation> |
| 156 | <build> |
| 157 | <plugins> |
| 158 | <plugin> |
| 159 | <groupId>org.apache.maven.plugins</groupId> |
| 160 | <artifactId>maven-surefire-plugin</artifactId> |
| 161 | <configuration> |
| 162 | <skip>true</skip> |
| 163 | </configuration> |
| 164 | </plugin> |
| 165 | </plugins> |
| 166 | </build> |
| 167 | </profile> |
| 168 | </profiles> |
| 169 | |
| 170 | </project> |