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