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> |
| 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> |
| 31 | <artifactId>org.apache.servicemix.kernel.gshell.itests</artifactId> |
| 32 | <packaging>jar</packaging> |
| 33 | <version>1.2.0-SNAPSHOT</version> |
| 34 | <name>Apache ServiceMix Kernel :: GShell ITests</name> |
| 35 | |
| 36 | <description> |
| 37 | Provides the OSGi GShell commands |
| 38 | </description> |
| 39 | |
| 40 | <dependencies> |
| 41 | <dependency> |
| 42 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 43 | <artifactId>org.apache.servicemix.kernel.gshell.core</artifactId> |
| 44 | <scope>test</scope> |
| 45 | </dependency> |
| 46 | <dependency> |
| 47 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 48 | <artifactId>org.apache.servicemix.kernel.gshell.log</artifactId> |
| 49 | <scope>test</scope> |
| 50 | </dependency> |
| 51 | <dependency> |
| 52 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 53 | <artifactId>org.apache.servicemix.kernel.gshell.osgi</artifactId> |
| 54 | <scope>test</scope> |
| 55 | </dependency> |
| 56 | <dependency> |
| 57 | <groupId>org.apache.servicemix.kernel.jaas</groupId> |
| 58 | <artifactId>org.apache.servicemix.kernel.jaas.boot</artifactId> |
| 59 | <scope>test</scope> |
| 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>org.apache.servicemix.kernel.testing</groupId> |
| 63 | <artifactId>org.apache.servicemix.kernel.testing.support</artifactId> |
| 64 | <scope>test</scope> |
| 65 | </dependency> |
| 66 | <dependency> |
| 67 | <groupId>org.apache.servicemix.bundles</groupId> |
| 68 | <artifactId>org.apache.servicemix.bundles.junit</artifactId> |
| 69 | <scope>test</scope> |
| 70 | </dependency> |
| 71 | </dependencies> |
| 72 | |
| 73 | <build> |
| 74 | <plugins> |
| 75 | <plugin> |
| 76 | <artifactId>maven-resources-plugin</artifactId> |
| 77 | <executions> |
| 78 | <execution> |
| 79 | <id>copy-resources</id> |
| 80 | <phase>validate</phase> |
| 81 | <goals> |
| 82 | <goal>copy-resources</goal> |
| 83 | </goals> |
| 84 | <configuration> |
| 85 | <outputDirectory>${pom.basedir}/target/test-classes/</outputDirectory> |
| 86 | <resources> |
| 87 | <resource> |
| 88 | <directory>${pom.basedir}/src/test/filtered-resources</directory> |
| 89 | <filtering>true</filtering> |
| 90 | </resource> |
| 91 | </resources> |
| 92 | </configuration> |
| 93 | </execution> |
| 94 | </executions> |
| 95 | </plugin> |
| 96 | <!-- generate dependencies versions --> |
| 97 | <plugin> |
| 98 | <groupId>org.apache.servicemix.tooling</groupId> |
| 99 | <artifactId>depends-maven-plugin</artifactId> |
| 100 | <executions> |
| 101 | <execution> |
| 102 | <id>generate-depends-file</id> |
| 103 | <goals> |
| 104 | <goal>generate-depends-file</goal> |
| 105 | </goals> |
| 106 | </execution> |
| 107 | </executions> |
| 108 | </plugin> |
| 109 | </plugins> |
| 110 | </build> |
| 111 | |
| 112 | <profiles> |
| 113 | <profile> |
| 114 | <id>ci-build-profile</id> |
| 115 | <activation> |
| 116 | <property> |
| 117 | <name>maven.repo.local</name> |
| 118 | </property> |
| 119 | </activation> |
| 120 | <build> |
| 121 | <plugins> |
| 122 | <plugin> |
| 123 | <groupId>org.apache.maven.plugins</groupId> |
| 124 | <artifactId>maven-surefire-plugin</artifactId> |
| 125 | <configuration> |
| 126 | <!-- when the local repo location has been specified, we need to pass on this information to PAX mvn url --> |
| 127 | <argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine> |
| 128 | </configuration> |
| 129 | </plugin> |
| 130 | </plugins> |
| 131 | </build> |
| 132 | </profile> |
| 133 | <profile> |
| 134 | <activation> |
| 135 | <os> |
| 136 | <family>Windows</family> |
| 137 | </os> |
| 138 | </activation> |
| 139 | <build> |
| 140 | <plugins> |
| 141 | <plugin> |
| 142 | <groupId>org.apache.maven.plugins</groupId> |
| 143 | <artifactId>maven-surefire-plugin</artifactId> |
| 144 | <configuration> |
| 145 | <skip>true</skip> |
| 146 | </configuration> |
| 147 | </plugin> |
| 148 | </plugins> |
| 149 | </build> |
| 150 | </profile> |
| 151 | </profiles> |
| 152 | |
| 153 | </project> |