Guillaume Nodet | 05fac96 | 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 | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 25 | <groupId>org.apache.felix.karaf</groupId> |
Guillaume Nodet | 60dbfd7 | 2009-05-11 14:33:35 +0000 | [diff] [blame] | 26 | <artifactId>karaf</artifactId> |
Guillaume Nodet | adc9d28 | 2009-08-25 09:03:55 +0000 | [diff] [blame] | 27 | <version>0.9.0-SNAPSHOT</version> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 28 | </parent> |
| 29 | |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 30 | <groupId>org.apache.felix.karaf</groupId> |
Guillaume Nodet | 5906117 | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 31 | <artifactId>itests</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 32 | <packaging>jar</packaging> |
Guillaume Nodet | adc9d28 | 2009-08-25 09:03:55 +0000 | [diff] [blame] | 33 | <version>0.9.0-SNAPSHOT</version> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 34 | <name>Apache Felix Karaf :: ITests</name> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 35 | |
| 36 | <description> |
Guillaume Nodet | 5906117 | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 37 | Integration tests |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 38 | </description> |
| 39 | |
| 40 | <dependencies> |
Guillaume Nodet | cbb5cb5 | 2009-04-30 07:04:50 +0000 | [diff] [blame] | 41 | <!-- This is required to be first so that pax-exam classloader is not messed up with a newer version of felix |
| 42 | which would lead to java.lang.NoSuchMethodError: org.apache.felix.framework.Logger.<init>(I)V --> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 43 | <dependency> |
Guillaume Nodet | 5906117 | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 44 | <groupId>org.apache.felix</groupId> |
| 45 | <artifactId>org.apache.felix.framework</artifactId> |
| 46 | <version>1.0.0</version> |
| 47 | </dependency> |
Guillaume Nodet | cbb5cb5 | 2009-04-30 07:04:50 +0000 | [diff] [blame] | 48 | <!-- This is required to be first so that pax-exam classloader is not messed up with a newer version of felix |
| 49 | which would lead to java.lang.RuntimeException: Could not create [service.obr] --> |
Guillaume Nodet | 5906117 | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 50 | <dependency> |
Guillaume Nodet | cbb5cb5 | 2009-04-30 07:04:50 +0000 | [diff] [blame] | 51 | <groupId>org.apache.felix</groupId> |
| 52 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
| 53 | <version>1.2.1</version> |
| 54 | </dependency> |
| 55 | |
| 56 | <!-- The assembly and all the dependencies --> |
| 57 | <dependency> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 58 | <groupId>org.apache.felix.karaf</groupId> |
| 59 | <artifactId>apache-felix-karaf</artifactId> |
Guillaume Nodet | cbb5cb5 | 2009-04-30 07:04:50 +0000 | [diff] [blame] | 60 | <type>xml</type> |
| 61 | <classifier>features</classifier> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 62 | <scope>test</scope> |
| 63 | </dependency> |
Guillaume Nodet | cbb5cb5 | 2009-04-30 07:04:50 +0000 | [diff] [blame] | 64 | |
| 65 | <!-- Pax EXAM --> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 66 | <dependency> |
Guillaume Nodet | 5906117 | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 67 | <groupId>org.ops4j.pax.exam</groupId> |
| 68 | <artifactId>pax-exam</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 69 | <scope>test</scope> |
| 70 | </dependency> |
| 71 | <dependency> |
Guillaume Nodet | 5906117 | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 72 | <groupId>org.ops4j.pax.exam</groupId> |
| 73 | <artifactId>pax-exam-junit</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 74 | <scope>test</scope> |
| 75 | </dependency> |
Guillaume Nodet | 5906117 | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 76 | <dependency> |
| 77 | <groupId>org.ops4j.pax.exam</groupId> |
| 78 | <artifactId>pax-exam-container-default</artifactId> |
| 79 | <scope>test</scope> |
| 80 | </dependency> |
| 81 | <dependency> |
| 82 | <groupId>org.ops4j.pax.exam</groupId> |
| 83 | <artifactId>pax-exam-junit-extender-impl</artifactId> |
| 84 | <scope>test</scope> |
| 85 | </dependency> |
| 86 | <dependency> |
| 87 | <groupId>junit</groupId> |
| 88 | <artifactId>junit</artifactId> |
| 89 | <version>4.5</version> |
Guillaume Nodet | cbb5cb5 | 2009-04-30 07:04:50 +0000 | [diff] [blame] | 90 | <scope>test</scope> |
Guillaume Nodet | 5906117 | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 91 | </dependency> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 92 | </dependencies> |
| 93 | |
Guillaume Nodet | 5906117 | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 94 | <repositories> |
| 95 | <repository> |
| 96 | <id>ops4j.releases</id> |
| 97 | <url>http://repository.ops4j.org/maven2</url> |
| 98 | </repository> |
Guillaume Nodet | 5906117 | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 99 | </repositories> |
| 100 | <pluginRepositories> |
| 101 | <pluginRepository> |
| 102 | <id>ops4j.releases</id> |
| 103 | <url>http://repository.ops4j.org/maven2</url> |
Guillaume Nodet | 5906117 | 2009-04-29 16:35:06 +0000 | [diff] [blame] | 104 | </pluginRepository> |
| 105 | </pluginRepositories> |
| 106 | |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 107 | <build> |
| 108 | <plugins> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 109 | <!-- generate dependencies versions --> |
| 110 | <plugin> |
| 111 | <groupId>org.apache.servicemix.tooling</groupId> |
| 112 | <artifactId>depends-maven-plugin</artifactId> |
Guillaume Nodet | 6b6a83a | 2009-04-30 20:37:00 +0000 | [diff] [blame] | 113 | <version>1.2-SNAPSHOT</version> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 114 | <executions> |
| 115 | <execution> |
| 116 | <id>generate-depends-file</id> |
| 117 | <goals> |
| 118 | <goal>generate-depends-file</goal> |
| 119 | </goals> |
| 120 | </execution> |
| 121 | </executions> |
| 122 | </plugin> |
| 123 | </plugins> |
| 124 | </build> |
| 125 | |
| 126 | <profiles> |
| 127 | <profile> |
| 128 | <id>ci-build-profile</id> |
| 129 | <activation> |
| 130 | <property> |
| 131 | <name>maven.repo.local</name> |
| 132 | </property> |
| 133 | </activation> |
| 134 | <build> |
| 135 | <plugins> |
| 136 | <plugin> |
| 137 | <groupId>org.apache.maven.plugins</groupId> |
| 138 | <artifactId>maven-surefire-plugin</artifactId> |
| 139 | <configuration> |
| 140 | <!-- when the local repo location has been specified, we need to pass on this information to PAX mvn url --> |
| 141 | <argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine> |
| 142 | </configuration> |
| 143 | </plugin> |
| 144 | </plugins> |
| 145 | </build> |
| 146 | </profile> |
| 147 | <profile> |
| 148 | <activation> |
| 149 | <os> |
| 150 | <family>Windows</family> |
| 151 | </os> |
| 152 | </activation> |
| 153 | <build> |
| 154 | <plugins> |
| 155 | <plugin> |
| 156 | <groupId>org.apache.maven.plugins</groupId> |
| 157 | <artifactId>maven-surefire-plugin</artifactId> |
| 158 | <configuration> |
| 159 | <skip>true</skip> |
| 160 | </configuration> |
| 161 | </plugin> |
| 162 | </plugins> |
| 163 | </build> |
| 164 | </profile> |
| 165 | </profiles> |
| 166 | |
| 167 | </project> |