Clement Escoffier | fb9045d | 2008-10-14 10:44:18 +0000 | [diff] [blame] | 1 | <!-- |
Clement Escoffier | bfa74d0 | 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 | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 9 | |
Clement Escoffier | bfa74d0 | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 10 | http://www.apache.org/licenses/LICENSE-2.0 |
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 11 | |
Clement Escoffier | bfa74d0 | 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 | fb9045d | 2008-10-14 10:44:18 +0000 | [diff] [blame] | 18 | --> |
Clement Escoffier | 3beb604 | 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 | 2f1e948 | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 20 | <parent> |
Clement Escoffier | bfa74d0 | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 21 | <groupId>org.apache.felix</groupId> |
Clement Escoffier | 2f1e948 | 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 | 27df38e | 2012-12-18 09:53:35 +0000 | [diff] [blame] | 30 | <version>1.9.0-SNAPSHOT</version> |
Clement Escoffier | 4b5d3d5 | 2011-12-03 10:23:24 +0000 | [diff] [blame] | 31 | |
Clement Escoffier | 2f1e948 | 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 | c8bbc37 | 2012-10-28 15:20:17 +0000 | [diff] [blame] | 37 | |
| 38 | 1.8.4: |
| 39 | * change in ComponentTypeDescription (FELIX-3560) |
Clement Escoffier | 2f1e948 | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 40 | --> |
Clement Escoffier | c8bbc37 | 2012-10-28 15:20:17 +0000 | [diff] [blame] | 41 | <ipojo.package.version>1.8.4</ipojo.package.version> |
Clement Escoffier | 6191b08 | 2010-08-29 09:05:18 +0000 | [diff] [blame] | 42 | |
Clement Escoffier | 2f1e948 | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 43 | <!-- Embedded manipulator version --> |
Clement Escoffier | 0da375f | 2012-12-18 09:51:11 +0000 | [diff] [blame] | 44 | <ipojo.manipulator.version>1.8.6</ipojo.manipulator.version> |
Clement Escoffier | 2f1e948 | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 45 | </properties> |
Clement Escoffier | 6191b08 | 2010-08-29 09:05:18 +0000 | [diff] [blame] | 46 | |
Clement Escoffier | 2f1e948 | 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 | f16462f | 2012-11-07 11:13:42 +0000 | [diff] [blame] | 58 | <version>4.3.1</version> |
Clement Escoffier | 2f1e948 | 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 | 2f1e948 | 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 | a18fef2 | 2012-11-08 09:02:19 +0000 | [diff] [blame] | 139 | META-INF.services.*, |
Clement Escoffier | 2f1e948 | 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 | c8bbc37 | 2012-10-28 15:20:17 +0000 | [diff] [blame] | 143 | org.objectweb.asm, |
| 144 | org.objectweb.asm.tree |
Clement Escoffier | 2f1e948 | 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 --> |
Clement Escoffier | fe66664 | 2012-12-13 15:07:20 +0000 | [diff] [blame] | 157 | org.apache.felix.ipojo.manipulation*; version="${ipojo.manipulator.version}", |
Clement Escoffier | 2f1e948 | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 158 | org.apache.felix.ipojo.xml.parser; version="${ipojo.manipulator.version}", |
Clement Escoffier | fe66664 | 2012-12-13 15:07:20 +0000 | [diff] [blame] | 159 | org.apache.felix.ipojo.manipulator*; version="${ipojo.manipulator.version}", |
| 160 | org.apache.felix.ipojo.annotations*; version="${ipojo.package.version}", |
Clement Escoffier | 2f1e948 | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 161 | <!-- Compendium packages --> |
| 162 | org.osgi.service.cm, |
| 163 | org.osgi.service.log |
| 164 | </Export-Package> |
| 165 | <Include-Resource> |
| 166 | META-INF/LICENSE=LICENSE, |
| 167 | META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm, |
| 168 | META-INF/DEPENDENCIES=DEPENDENCIES |
| 169 | </Include-Resource> |
| 170 | <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy> |
| 171 | </instructions> |
| 172 | </configuration> |
| 173 | </plugin> |
| 174 | <plugin> |
| 175 | <groupId>org.apache.felix</groupId> |
| 176 | <artifactId>maven-ipojo-plugin</artifactId> |
| 177 | <version>1.8.4</version> |
| 178 | <executions> |
| 179 | <execution> |
| 180 | <goals> |
| 181 | <goal>ipojo-bundle</goal> |
| 182 | </goals> |
| 183 | <configuration> |
| 184 | <ignoreAnnotations>true</ignoreAnnotations> |
| 185 | </configuration> |
| 186 | </execution> |
| 187 | </executions> |
| 188 | </plugin> |
| 189 | <plugin> |
| 190 | <groupId>org.codehaus.mojo</groupId> |
| 191 | <artifactId>rat-maven-plugin</artifactId> |
| 192 | <configuration> |
| 193 | <excludeSubProjects>false</excludeSubProjects> |
| 194 | <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes> |
| 195 | <useMavenDefaultExcludes>true</useMavenDefaultExcludes> |
| 196 | <excludes> |
| 197 | <param>doc/**/*</param> |
| 198 | <param>maven-eclipse.xml</param> |
| 199 | <param>.checkstyle</param> |
| 200 | <param>.externalToolBuilders/*</param> |
| 201 | <param>LICENSE.asm</param> |
| 202 | <param>.fbprefs</param> |
| 203 | <param>DEPENDENCIES</param> |
| 204 | </excludes> |
| 205 | </configuration> |
| 206 | </plugin> |
| 207 | <plugin> |
| 208 | <groupId>org.apache.maven.plugins</groupId> |
| 209 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 210 | <configuration> |
| 211 | <enableRulesSummary>false</enableRulesSummary> |
| 212 | <violationSeverity>warning</violationSeverity> |
| 213 | <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation> |
| 214 | </configuration> |
| 215 | </plugin> |
| 216 | </plugins> |
| 217 | |
| 218 | <resources> |
| 219 | <resource> |
| 220 | <directory>src/main/resources</directory> |
| 221 | </resource> |
| 222 | <resource> |
| 223 | <directory>.</directory> |
| 224 | <targetPath>META-INF</targetPath> |
| 225 | <includes> |
| 226 | <include>LICENSE*</include> |
| 227 | <include>NOTICE*</include> |
| 228 | <include>DEPENDENCIES*</include> |
| 229 | </includes> |
| 230 | </resource> |
| 231 | </resources> |
| 232 | |
| 233 | </build> |
Clement Escoffier | bfa74d0 | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 234 | </project> |