Clement Escoffier | 699100c | 2013-04-21 11:41:27 +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 | |
| 26 | <groupId>org.apache.felix</groupId> |
| 27 | <artifactId>maven-tutorial</artifactId> |
| 28 | <version>1.9.0-SNAPSHOT</version> |
| 29 | |
| 30 | <packaging>pom</packaging> |
| 31 | |
| 32 | <description> |
| 33 | The iPOJO Maven tutorial |
| 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> |
| 48 | <artifactId>org.apache.felix.ipojo.arch.gogo</artifactId> |
| 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 | <module>hello.service</module> |
| 58 | |
| 59 | <!-- XML --> |
| 60 | <module>xml/hello.impl.xml</module> |
| 61 | <module>xml/hello.client.xml</module> |
| 62 | <module>xml/hello.felix.xml</module> |
| 63 | |
| 64 | <!-- Annotation --> |
| 65 | <module>annotations/hello.impl.annotations</module> |
| 66 | <module>annotations/hello.client.annotations</module> |
| 67 | <module>annotations/hello.felix.annotations</module> |
| 68 | </modules> |
| 69 | |
| 70 | <properties> |
| 71 | <felix.version>4.2.1</felix.version> |
| 72 | </properties> |
| 73 | |
| 74 | <dependencyManagement> |
| 75 | <dependencies> |
| 76 | <dependency> |
| 77 | <groupId>org.apache.felix</groupId> |
| 78 | <artifactId>org.apache.felix.ipojo</artifactId> |
| 79 | <version>1.8.6</version> |
| 80 | </dependency> |
| 81 | <dependency> |
| 82 | <groupId>org.apache.felix</groupId> |
| 83 | <artifactId>org.apache.felix.ipojo.arch.gogo</artifactId> |
| 84 | <version>1.0.1</version> |
| 85 | </dependency> |
| 86 | <dependency> |
| 87 | <groupId>org.apache.felix</groupId> |
| 88 | <artifactId>org.apache.felix.main.distribution</artifactId> |
| 89 | <version>4.2.1</version> |
| 90 | <type>zip</type> |
| 91 | </dependency> |
| 92 | <dependency> |
| 93 | <groupId>org.apache.felix</groupId> |
| 94 | <artifactId>org.apache.felix.ipojo.annotations</artifactId> |
| 95 | <version>1.8.6</version> |
| 96 | </dependency> |
| 97 | </dependencies> |
| 98 | </dependencyManagement> |
| 99 | |
| 100 | <build> |
| 101 | <pluginManagement> |
| 102 | <plugins> |
| 103 | <plugin> |
| 104 | <groupId>org.apache.felix</groupId> |
| 105 | <artifactId>maven-bundle-plugin</artifactId> |
| 106 | <version>2.3.7</version> |
| 107 | </plugin> |
| 108 | <plugin> |
| 109 | <groupId>org.apache.felix</groupId> |
| 110 | <artifactId>maven-ipojo-plugin</artifactId> |
| 111 | <version>1.8.6</version> |
| 112 | </plugin> |
| 113 | <plugin> |
| 114 | <artifactId>maven-assembly-plugin</artifactId> |
| 115 | <version>2.4</version> |
| 116 | </plugin> |
| 117 | </plugins> |
| 118 | </pluginManagement> |
| 119 | |
| 120 | <plugins> |
| 121 | <plugin> |
| 122 | <artifactId>maven-assembly-plugin</artifactId> |
| 123 | <configuration> |
| 124 | <descriptorRefs> |
| 125 | <ref>project</ref> |
| 126 | </descriptorRefs> |
| 127 | <attach>true</attach> |
| 128 | </configuration> |
| 129 | <executions> |
| 130 | <execution> |
| 131 | <goals> |
| 132 | <goal>single</goal> |
| 133 | </goals> |
| 134 | <phase>package</phase> |
| 135 | </execution> |
| 136 | </executions> |
| 137 | </plugin> |
| 138 | </plugins> |
| 139 | </build> |
| 140 | </project> |