Clement Escoffier | b7fd670 | 2013-04-21 09:32:28 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Licensed to the Apache Software Foundation (ASF) under one |
| 4 | ~ or more contributor license agreements. See the NOTICE file |
| 5 | ~ distributed with this work for additional information |
| 6 | ~ regarding copyright ownership. The ASF licenses this file |
| 7 | ~ to you under the Apache License, Version 2.0 (the |
| 8 | ~ "License"); you may not use this file except in compliance |
| 9 | ~ with the License. You may obtain a copy of the License at |
| 10 | ~ |
| 11 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | ~ |
| 13 | ~ Unless required by applicable law or agreed to in writing, |
| 14 | ~ software distributed under the License is distributed on an |
| 15 | ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | ~ KIND, either express or implied. See the License for the |
| 17 | ~ specific language governing permissions and limitations |
| 18 | ~ under the License. |
| 19 | --> |
| 20 | |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 22 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | |
Clement Escoffier | 90c5b7e | 2013-04-21 10:15:29 +0000 | [diff] [blame] | 26 | <groupId>org.apache.felix</groupId> |
Clement Escoffier | b7fd670 | 2013-04-21 09:32:28 +0000 | [diff] [blame] | 27 | <artifactId>ipojo-handler-tutorial</artifactId> |
| 28 | <version>1.9.0-SNAPSHOT</version> |
| 29 | |
| 30 | <packaging>pom</packaging> |
| 31 | |
| 32 | <description> |
| 33 | Build the handlers form the tutorial and distributions to test them |
| 34 | </description> |
| 35 | |
| 36 | <dependencies> |
| 37 | <dependency> |
| 38 | <groupId>org.apache.felix</groupId> |
| 39 | <artifactId>org.apache.felix.main.distribution</artifactId> |
| 40 | <type>zip</type> |
| 41 | </dependency> |
| 42 | <dependency> |
| 43 | <groupId>org.apache.felix</groupId> |
| 44 | <artifactId>org.apache.felix.ipojo</artifactId> |
| 45 | </dependency> |
| 46 | <dependency> |
| 47 | <groupId>org.apache.felix</groupId> |
Clement Escoffier | 4eede51 | 2013-06-30 07:29:15 +0000 | [diff] [blame^] | 48 | <artifactId>org.apache.felix.ipojo.gogo</artifactId> |
Clement Escoffier | b7fd670 | 2013-04-21 09:32:28 +0000 | [diff] [blame] | 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>org.apache.felix</groupId> |
| 52 | <artifactId>org.apache.felix.ipojo.annotations</artifactId> |
| 53 | </dependency> |
| 54 | </dependencies> |
| 55 | |
| 56 | <modules> |
| 57 | <!-- Log Handler tutorial --> |
| 58 | <module>FooService-And-Impl</module> |
| 59 | <module>Log-Handler</module> |
| 60 | <module>Log-Handler-Consumer</module> |
| 61 | <module>Log-Handler-In-Felix</module> |
| 62 | |
| 63 | <!-- Property handler tutorial --> |
| 64 | <module>Property-Handler</module> |
| 65 | <module>Property-Handler-Consumer</module> |
| 66 | <module>Property-Handler-In-Felix</module> |
| 67 | </modules> |
| 68 | |
Clement Escoffier | 90c5b7e | 2013-04-21 10:15:29 +0000 | [diff] [blame] | 69 | <properties> |
| 70 | <felix.version>4.2.1</felix.version> |
| 71 | </properties> |
Clement Escoffier | b7fd670 | 2013-04-21 09:32:28 +0000 | [diff] [blame] | 72 | |
Clement Escoffier | 90c5b7e | 2013-04-21 10:15:29 +0000 | [diff] [blame] | 73 | <dependencyManagement> |
| 74 | <dependencies> |
| 75 | <dependency> |
| 76 | <groupId>org.apache.felix</groupId> |
| 77 | <artifactId>org.apache.felix.ipojo</artifactId> |
Clement Escoffier | 4eede51 | 2013-06-30 07:29:15 +0000 | [diff] [blame^] | 78 | <version>1.10.1</version> |
Clement Escoffier | 90c5b7e | 2013-04-21 10:15:29 +0000 | [diff] [blame] | 79 | </dependency> |
| 80 | <dependency> |
| 81 | <groupId>org.apache.felix</groupId> |
Clement Escoffier | 4eede51 | 2013-06-30 07:29:15 +0000 | [diff] [blame^] | 82 | <artifactId>org.apache.felix.ipojo.gogo</artifactId> |
| 83 | <version>1.10.1</version> |
Clement Escoffier | 90c5b7e | 2013-04-21 10:15:29 +0000 | [diff] [blame] | 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>org.apache.felix</groupId> |
| 87 | <artifactId>org.apache.felix.main.distribution</artifactId> |
| 88 | <version>4.2.1</version> |
| 89 | <type>zip</type> |
| 90 | </dependency> |
| 91 | <dependency> |
| 92 | <groupId>org.apache.felix</groupId> |
| 93 | <artifactId>org.apache.felix.ipojo.annotations</artifactId> |
Clement Escoffier | 4eede51 | 2013-06-30 07:29:15 +0000 | [diff] [blame^] | 94 | <version>1.10.1</version> |
Clement Escoffier | 90c5b7e | 2013-04-21 10:15:29 +0000 | [diff] [blame] | 95 | </dependency> |
| 96 | </dependencies> |
| 97 | </dependencyManagement> |
Clement Escoffier | b7fd670 | 2013-04-21 09:32:28 +0000 | [diff] [blame] | 98 | |
| 99 | <build> |
Clement Escoffier | 90c5b7e | 2013-04-21 10:15:29 +0000 | [diff] [blame] | 100 | <pluginManagement> |
| 101 | <plugins> |
| 102 | <plugin> |
| 103 | <groupId>org.apache.felix</groupId> |
| 104 | <artifactId>maven-bundle-plugin</artifactId> |
| 105 | <version>2.3.7</version> |
| 106 | </plugin> |
| 107 | <plugin> |
| 108 | <groupId>org.apache.felix</groupId> |
| 109 | <artifactId>maven-ipojo-plugin</artifactId> |
| 110 | <version>1.8.6</version> |
| 111 | </plugin> |
| 112 | <plugin> |
| 113 | <artifactId>maven-assembly-plugin</artifactId> |
| 114 | <version>2.4</version> |
| 115 | </plugin> |
| 116 | </plugins> |
| 117 | </pluginManagement> |
| 118 | |
Clement Escoffier | b7fd670 | 2013-04-21 09:32:28 +0000 | [diff] [blame] | 119 | <plugins> |
| 120 | <plugin> |
| 121 | <artifactId>maven-assembly-plugin</artifactId> |
| 122 | <configuration> |
| 123 | <descriptorRefs> |
| 124 | <ref>project</ref> |
| 125 | </descriptorRefs> |
Clement Escoffier | b7fd670 | 2013-04-21 09:32:28 +0000 | [diff] [blame] | 126 | <attach>true</attach> |
| 127 | </configuration> |
| 128 | <executions> |
| 129 | <execution> |
| 130 | <goals> |
| 131 | <goal>single</goal> |
| 132 | </goals> |
| 133 | <phase>package</phase> |
| 134 | </execution> |
| 135 | </executions> |
| 136 | </plugin> |
| 137 | </plugins> |
| 138 | </build> |
| 139 | </project> |