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> |
| 25 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 26 | <artifactId>gshell</artifactId> |
| 27 | <version>1.2.0-SNAPSHOT</version> |
| 28 | </parent> |
| 29 | |
| 30 | <groupId>org.apache.servicemix.kernel.gshell</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> |
| 33 | <version>1.2.0-SNAPSHOT</version> |
Guillaume Nodet | 5906117 | 2009-04-29 16:35:06 +0000 | [diff] [blame^] | 34 | <name>Apache ServiceMix Kernel :: 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> |
| 41 | <dependency> |
Guillaume Nodet | 5906117 | 2009-04-29 16:35:06 +0000 | [diff] [blame^] | 42 | <groupId>org.apache.felix</groupId> |
| 43 | <artifactId>org.apache.felix.framework</artifactId> |
| 44 | <version>1.0.0</version> |
| 45 | </dependency> |
| 46 | <dependency> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 47 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 48 | <artifactId>org.apache.servicemix.kernel.gshell.core</artifactId> |
| 49 | <scope>test</scope> |
| 50 | </dependency> |
| 51 | <dependency> |
| 52 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 53 | <artifactId>org.apache.servicemix.kernel.gshell.log</artifactId> |
| 54 | <scope>test</scope> |
| 55 | </dependency> |
| 56 | <dependency> |
| 57 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 58 | <artifactId>org.apache.servicemix.kernel.gshell.osgi</artifactId> |
| 59 | <scope>test</scope> |
| 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>org.apache.servicemix.kernel.jaas</groupId> |
| 63 | <artifactId>org.apache.servicemix.kernel.jaas.boot</artifactId> |
| 64 | <scope>test</scope> |
| 65 | </dependency> |
| 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> |
| 90 | </dependency> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 91 | </dependencies> |
| 92 | |
Guillaume Nodet | 5906117 | 2009-04-29 16:35:06 +0000 | [diff] [blame^] | 93 | <repositories> |
| 94 | <repository> |
| 95 | <id>ops4j.releases</id> |
| 96 | <url>http://repository.ops4j.org/maven2</url> |
| 97 | </repository> |
| 98 | <repository> |
| 99 | <id>ops4j.snapshots</id> |
| 100 | <url>http://repository.ops4j.org/mvn-snapshots</url> |
| 101 | </repository> |
| 102 | </repositories> |
| 103 | <pluginRepositories> |
| 104 | <pluginRepository> |
| 105 | <id>ops4j.releases</id> |
| 106 | <url>http://repository.ops4j.org/maven2</url> |
| 107 | <snapshots> |
| 108 | <enabled>true</enabled> |
| 109 | </snapshots> |
| 110 | </pluginRepository> |
| 111 | </pluginRepositories> |
| 112 | |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 113 | <build> |
| 114 | <plugins> |
| 115 | <plugin> |
| 116 | <artifactId>maven-resources-plugin</artifactId> |
| 117 | <executions> |
| 118 | <execution> |
| 119 | <id>copy-resources</id> |
| 120 | <phase>validate</phase> |
| 121 | <goals> |
| 122 | <goal>copy-resources</goal> |
| 123 | </goals> |
| 124 | <configuration> |
| 125 | <outputDirectory>${pom.basedir}/target/test-classes/</outputDirectory> |
| 126 | <resources> |
| 127 | <resource> |
| 128 | <directory>${pom.basedir}/src/test/filtered-resources</directory> |
| 129 | <filtering>true</filtering> |
| 130 | </resource> |
| 131 | </resources> |
| 132 | </configuration> |
| 133 | </execution> |
| 134 | </executions> |
| 135 | </plugin> |
| 136 | <!-- generate dependencies versions --> |
| 137 | <plugin> |
| 138 | <groupId>org.apache.servicemix.tooling</groupId> |
| 139 | <artifactId>depends-maven-plugin</artifactId> |
| 140 | <executions> |
| 141 | <execution> |
| 142 | <id>generate-depends-file</id> |
| 143 | <goals> |
| 144 | <goal>generate-depends-file</goal> |
| 145 | </goals> |
| 146 | </execution> |
| 147 | </executions> |
| 148 | </plugin> |
| 149 | </plugins> |
| 150 | </build> |
| 151 | |
| 152 | <profiles> |
| 153 | <profile> |
| 154 | <id>ci-build-profile</id> |
| 155 | <activation> |
| 156 | <property> |
| 157 | <name>maven.repo.local</name> |
| 158 | </property> |
| 159 | </activation> |
| 160 | <build> |
| 161 | <plugins> |
| 162 | <plugin> |
| 163 | <groupId>org.apache.maven.plugins</groupId> |
| 164 | <artifactId>maven-surefire-plugin</artifactId> |
| 165 | <configuration> |
| 166 | <!-- when the local repo location has been specified, we need to pass on this information to PAX mvn url --> |
| 167 | <argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine> |
| 168 | </configuration> |
| 169 | </plugin> |
| 170 | </plugins> |
| 171 | </build> |
| 172 | </profile> |
| 173 | <profile> |
| 174 | <activation> |
| 175 | <os> |
| 176 | <family>Windows</family> |
| 177 | </os> |
| 178 | </activation> |
| 179 | <build> |
| 180 | <plugins> |
| 181 | <plugin> |
| 182 | <groupId>org.apache.maven.plugins</groupId> |
| 183 | <artifactId>maven-surefire-plugin</artifactId> |
| 184 | <configuration> |
| 185 | <skip>true</skip> |
| 186 | </configuration> |
| 187 | </plugin> |
| 188 | </plugins> |
| 189 | </build> |
| 190 | </profile> |
| 191 | </profiles> |
| 192 | |
| 193 | </project> |