Clement Escoffier | 8aa13cb | 2008-10-14 10:44:18 +0000 | [diff] [blame] | 1 | <!-- |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 2 | Licensed to the Apache Software Foundation (ASF) under one |
| 3 | or more contributor license agreements. See the NOTICE file |
| 4 | distributed with this work for additional information |
| 5 | regarding copyright ownership. The ASF licenses this file |
| 6 | to you under the Apache License, Version 2.0 (the |
| 7 | "License"); you may not use this file except in compliance |
| 8 | with the License. You may obtain a copy of the License at |
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 9 | |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 10 | http://www.apache.org/licenses/LICENSE-2.0 |
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 11 | |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 12 | Unless required by applicable law or agreed to in writing, |
| 13 | software distributed under the License is distributed on an |
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | KIND, either express or implied. See the License for the |
| 16 | specific language governing permissions and limitations |
| 17 | under the License. |
Clement Escoffier | 8aa13cb | 2008-10-14 10:44:18 +0000 | [diff] [blame] | 18 | --> |
Clement Escoffier | 82d9390 | 2012-04-21 16:06:23 +0000 | [diff] [blame] | 19 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
Clement Escoffier | d2f47ea | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 20 | <parent> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 21 | <groupId>org.apache.felix</groupId> |
Clement Escoffier | d2f47ea | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 22 | <artifactId>felix-parent</artifactId> |
| 23 | <version>1.2.1</version> |
| 24 | <relativePath>../../../pom/pom.xml</relativePath> |
| 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <packaging>bundle</packaging> |
| 28 | <name>Apache Felix iPOJO</name> |
| 29 | <artifactId>org.apache.felix.ipojo</artifactId> |
Clement Escoffier | 2618b3c | 2012-10-28 15:34:26 +0000 | [diff] [blame] | 30 | <version>1.9.0-SNAPSHOT</version> |
Clement Escoffier | b5255aa | 2011-12-03 10:23:24 +0000 | [diff] [blame] | 31 | |
Clement Escoffier | d2f47ea | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 32 | <properties> |
| 33 | <!-- |
| 34 | 1.8.2: |
| 35 | * change in the MethodInterceptor interface (FELIX-3144) |
| 36 | * change in the Factory interface (FELIX-3190) |
Clement Escoffier | ea2507f | 2012-10-28 15:20:17 +0000 | [diff] [blame] | 37 | |
| 38 | 1.8.4: |
| 39 | * change in ComponentTypeDescription (FELIX-3560) |
Clement Escoffier | d2f47ea | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 40 | --> |
Clement Escoffier | ea2507f | 2012-10-28 15:20:17 +0000 | [diff] [blame] | 41 | <ipojo.package.version>1.8.4</ipojo.package.version> |
Clement Escoffier | 8563afc | 2010-08-29 09:05:18 +0000 | [diff] [blame] | 42 | |
Clement Escoffier | d2f47ea | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 43 | <!-- Embedded manipulator version --> |
Clement Escoffier | a6f011c | 2012-11-08 09:02:19 +0000 | [diff] [blame] | 44 | <ipojo.manipulator.version>1.9.0-SNAPSHOT</ipojo.manipulator.version> |
Clement Escoffier | d2f47ea | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 45 | </properties> |
Clement Escoffier | 8563afc | 2010-08-29 09:05:18 +0000 | [diff] [blame] | 46 | |
Clement Escoffier | d2f47ea | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 47 | <description> |
| 48 | iPOJO Core bundle |
| 49 | </description> |
| 50 | <url> |
| 51 | http://ipojo.org |
| 52 | </url> |
| 53 | |
| 54 | <dependencies> |
| 55 | <dependency> |
| 56 | <groupId>org.osgi</groupId> |
| 57 | <artifactId>org.osgi.core</artifactId> |
Clement Escoffier | b0e3ac5 | 2012-11-07 11:13:42 +0000 | [diff] [blame] | 58 | <version>4.3.1</version> |
Clement Escoffier | d2f47ea | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>org.osgi</groupId> |
| 62 | <artifactId>org.osgi.compendium</artifactId> |
| 63 | <version>4.0.0</version> |
| 64 | </dependency> |
| 65 | <dependency> |
| 66 | <groupId>org.apache.felix</groupId> |
| 67 | <artifactId>org.apache.felix.ipojo.metadata</artifactId> |
| 68 | <version>1.6.0</version> |
| 69 | </dependency> |
| 70 | <dependency> |
| 71 | <groupId>org.apache.felix</groupId> |
| 72 | <artifactId>org.apache.felix.ipojo.manipulator</artifactId> |
| 73 | <version>${ipojo.manipulator.version}</version> |
| 74 | <!-- Switching to 1.8.2 breaks the junit4osgi tests...--> |
| 75 | </dependency> |
| 76 | <dependency> |
| 77 | <groupId>asm</groupId> |
| 78 | <artifactId>asm-all</artifactId> |
| 79 | <version>3.3.1</version> |
| 80 | <exclusions> |
| 81 | <exclusion> |
| 82 | <groupId>asm</groupId> |
| 83 | <artifactId>asm-tree</artifactId> |
| 84 | </exclusion> |
| 85 | </exclusions> |
| 86 | </dependency> |
| 87 | </dependencies> |
| 88 | <build> |
| 89 | <plugins> |
| 90 | <plugin> |
| 91 | <groupId>org.apache.maven.plugins</groupId> |
| 92 | <artifactId>maven-compiler-plugin</artifactId> |
| 93 | <configuration> |
| 94 | <target>jsr14</target> |
| 95 | <source>1.5</source> |
| 96 | </configuration> |
| 97 | </plugin> |
| 98 | <plugin> |
| 99 | <groupId>org.apache.felix</groupId> |
| 100 | <artifactId>maven-bundle-plugin</artifactId> |
| 101 | <version>1.4.3</version> |
| 102 | <extensions>true</extensions> |
| 103 | <configuration> |
| 104 | <instructions> |
| 105 | <Bundle-Name>Apache Felix iPOJO</Bundle-Name> |
| 106 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
| 107 | <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName> |
| 108 | <Bundle-Description>iPOJO Core Framework</Bundle-Description> |
| 109 | <Bundle-Activator>org.apache.felix.ipojo.Extender |
| 110 | </Bundle-Activator> |
| 111 | <Bundle-DocURL> |
| 112 | http://felix.apache.org/site/apache-felix-ipojo.html |
| 113 | </Bundle-DocURL> |
| 114 | <IPOJO-Extension> |
| 115 | component:org.apache.felix.ipojo.ComponentFactory, |
| 116 | handler:org.apache.felix.ipojo.HandlerManagerFactory |
| 117 | </IPOJO-Extension> |
| 118 | <Import-Package> |
| 119 | org.osgi.framework;version=1.3, <!-- To support KF 2 --> |
| 120 | org.osgi.service.cm, |
| 121 | org.osgi.service.log, |
Clement Escoffier | d2f47ea | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 122 | !sun.io, |
| 123 | !net.sourceforge.cobertura.*, <!-- To support code coverage --> |
| 124 | |
| 125 | <!-- |
| 126 | Packages used for the online-manipulator. |
| 127 | They are optionals |
| 128 | --> |
| 129 | javax.xml.parsers;resolution:=optional, |
| 130 | org.osgi.service.url;resolution:=optional, |
| 131 | org.w3c.dom;resolution:=optional, |
| 132 | org.xml.sax;resolution:=optional, |
| 133 | org.xml.sax.helpers;resolution:=optional |
| 134 | </Import-Package> |
| 135 | <Private-Package> |
| 136 | org.apache.felix.ipojo.handlers.architecture, |
| 137 | org.apache.felix.ipojo.handlers.lifecycle.callback, |
| 138 | org.apache.felix.ipojo.handlers.lifecycle.controller, |
Clement Escoffier | a6f011c | 2012-11-08 09:02:19 +0000 | [diff] [blame] | 139 | META-INF.services.*, |
Clement Escoffier | d2f47ea | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 140 | <!-- ASM (Manipulator dependencies) --> |
| 141 | org.objectweb.asm.commons, |
| 142 | org.objectweb.asm.signature, |
Clement Escoffier | ea2507f | 2012-10-28 15:20:17 +0000 | [diff] [blame] | 143 | org.objectweb.asm, |
| 144 | org.objectweb.asm.tree |
Clement Escoffier | d2f47ea | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 145 | </Private-Package> |
| 146 | <Export-Package> |
| 147 | org.apache.felix.ipojo; version="${ipojo.package.version}", |
| 148 | org.apache.felix.ipojo.metadata; version="${ipojo.package.version}", |
| 149 | org.apache.felix.ipojo.architecture; version="${ipojo.package.version}", |
| 150 | org.apache.felix.ipojo.parser; version="${ipojo.package.version}", |
| 151 | org.apache.felix.ipojo.util; version="${ipojo.package.version}", |
| 152 | org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}", |
| 153 | org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}", |
| 154 | org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}", |
| 155 | org.apache.felix.ipojo.context; version="${ipojo.package.version}", |
| 156 | <!-- Embedded manipulator --> |
| 157 | org.apache.felix.ipojo.manipulator; version="${ipojo.manipulator.version}", |
| 158 | org.apache.felix.ipojo.xml.parser; version="${ipojo.manipulator.version}", |
| 159 | org.apache.felix.ipojo.*; version="${ipojo.manipulator.version}", |
| 160 | <!-- Compendium packages --> |
| 161 | org.osgi.service.cm, |
| 162 | org.osgi.service.log |
| 163 | </Export-Package> |
| 164 | <Include-Resource> |
| 165 | META-INF/LICENSE=LICENSE, |
| 166 | META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm, |
| 167 | META-INF/DEPENDENCIES=DEPENDENCIES |
| 168 | </Include-Resource> |
| 169 | <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy> |
| 170 | </instructions> |
| 171 | </configuration> |
| 172 | </plugin> |
| 173 | <plugin> |
| 174 | <groupId>org.apache.felix</groupId> |
| 175 | <artifactId>maven-ipojo-plugin</artifactId> |
| 176 | <version>1.8.4</version> |
| 177 | <executions> |
| 178 | <execution> |
| 179 | <goals> |
| 180 | <goal>ipojo-bundle</goal> |
| 181 | </goals> |
| 182 | <configuration> |
| 183 | <ignoreAnnotations>true</ignoreAnnotations> |
| 184 | </configuration> |
| 185 | </execution> |
| 186 | </executions> |
| 187 | </plugin> |
| 188 | <plugin> |
| 189 | <groupId>org.codehaus.mojo</groupId> |
| 190 | <artifactId>rat-maven-plugin</artifactId> |
| 191 | <configuration> |
| 192 | <excludeSubProjects>false</excludeSubProjects> |
| 193 | <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes> |
| 194 | <useMavenDefaultExcludes>true</useMavenDefaultExcludes> |
| 195 | <excludes> |
| 196 | <param>doc/**/*</param> |
| 197 | <param>maven-eclipse.xml</param> |
| 198 | <param>.checkstyle</param> |
| 199 | <param>.externalToolBuilders/*</param> |
| 200 | <param>LICENSE.asm</param> |
| 201 | <param>.fbprefs</param> |
| 202 | <param>DEPENDENCIES</param> |
| 203 | </excludes> |
| 204 | </configuration> |
| 205 | </plugin> |
| 206 | <plugin> |
| 207 | <groupId>org.apache.maven.plugins</groupId> |
| 208 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 209 | <configuration> |
| 210 | <enableRulesSummary>false</enableRulesSummary> |
| 211 | <violationSeverity>warning</violationSeverity> |
| 212 | <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation> |
| 213 | </configuration> |
| 214 | </plugin> |
| 215 | </plugins> |
| 216 | |
| 217 | <resources> |
| 218 | <resource> |
| 219 | <directory>src/main/resources</directory> |
| 220 | </resource> |
| 221 | <resource> |
| 222 | <directory>.</directory> |
| 223 | <targetPath>META-INF</targetPath> |
| 224 | <includes> |
| 225 | <include>LICENSE*</include> |
| 226 | <include>NOTICE*</include> |
| 227 | <include>DEPENDENCIES*</include> |
| 228 | </includes> |
| 229 | </resource> |
| 230 | </resources> |
| 231 | |
| 232 | </build> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 233 | </project> |