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 | 058a083 | 2012-04-21 16:06:42 +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) |
| 37 | --> |
| 38 | <ipojo.package.version>1.8.2</ipojo.package.version> |
Clement Escoffier | 6191b08 | 2010-08-29 09:05:18 +0000 | [diff] [blame] | 39 | |
Clement Escoffier | 2f1e948 | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 40 | <!-- Embedded manipulator version --> |
| 41 | <ipojo.manipulator.version>1.8.0</ipojo.manipulator.version> |
| 42 | </properties> |
Clement Escoffier | 6191b08 | 2010-08-29 09:05:18 +0000 | [diff] [blame] | 43 | |
Clement Escoffier | 2f1e948 | 2012-04-21 16:04:33 +0000 | [diff] [blame] | 44 | <description> |
| 45 | iPOJO Core bundle |
| 46 | </description> |
| 47 | <url> |
| 48 | http://ipojo.org |
| 49 | </url> |
| 50 | |
| 51 | <dependencies> |
| 52 | <dependency> |
| 53 | <groupId>org.osgi</groupId> |
| 54 | <artifactId>org.osgi.core</artifactId> |
| 55 | <version>4.3.0</version> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.osgi</groupId> |
| 59 | <artifactId>org.osgi.compendium</artifactId> |
| 60 | <version>4.0.0</version> |
| 61 | </dependency> |
| 62 | <dependency> |
| 63 | <groupId>org.apache.felix</groupId> |
| 64 | <artifactId>org.apache.felix.ipojo.metadata</artifactId> |
| 65 | <version>1.6.0</version> |
| 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>org.apache.felix</groupId> |
| 69 | <artifactId>org.apache.felix.ipojo.manipulator</artifactId> |
| 70 | <version>${ipojo.manipulator.version}</version> |
| 71 | <!-- Switching to 1.8.2 breaks the junit4osgi tests...--> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>asm</groupId> |
| 75 | <artifactId>asm-all</artifactId> |
| 76 | <version>3.3.1</version> |
| 77 | <exclusions> |
| 78 | <exclusion> |
| 79 | <groupId>asm</groupId> |
| 80 | <artifactId>asm-tree</artifactId> |
| 81 | </exclusion> |
| 82 | </exclusions> |
| 83 | </dependency> |
| 84 | </dependencies> |
| 85 | <build> |
| 86 | <plugins> |
| 87 | <plugin> |
| 88 | <groupId>org.apache.maven.plugins</groupId> |
| 89 | <artifactId>maven-compiler-plugin</artifactId> |
| 90 | <configuration> |
| 91 | <target>jsr14</target> |
| 92 | <source>1.5</source> |
| 93 | </configuration> |
| 94 | </plugin> |
| 95 | <plugin> |
| 96 | <groupId>org.apache.felix</groupId> |
| 97 | <artifactId>maven-bundle-plugin</artifactId> |
| 98 | <version>1.4.3</version> |
| 99 | <extensions>true</extensions> |
| 100 | <configuration> |
| 101 | <instructions> |
| 102 | <Bundle-Name>Apache Felix iPOJO</Bundle-Name> |
| 103 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
| 104 | <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName> |
| 105 | <Bundle-Description>iPOJO Core Framework</Bundle-Description> |
| 106 | <Bundle-Activator>org.apache.felix.ipojo.Extender |
| 107 | </Bundle-Activator> |
| 108 | <Bundle-DocURL> |
| 109 | http://felix.apache.org/site/apache-felix-ipojo.html |
| 110 | </Bundle-DocURL> |
| 111 | <IPOJO-Extension> |
| 112 | component:org.apache.felix.ipojo.ComponentFactory, |
| 113 | handler:org.apache.felix.ipojo.HandlerManagerFactory |
| 114 | </IPOJO-Extension> |
| 115 | <Import-Package> |
| 116 | org.osgi.framework;version=1.3, <!-- To support KF 2 --> |
| 117 | org.osgi.service.cm, |
| 118 | org.osgi.service.log, |
| 119 | !org.objectweb.asm.tree, |
| 120 | !sun.io, |
| 121 | !net.sourceforge.cobertura.*, <!-- To support code coverage --> |
| 122 | |
| 123 | <!-- |
| 124 | Packages used for the online-manipulator. |
| 125 | They are optionals |
| 126 | --> |
| 127 | javax.xml.parsers;resolution:=optional, |
| 128 | org.osgi.service.url;resolution:=optional, |
| 129 | org.w3c.dom;resolution:=optional, |
| 130 | org.xml.sax;resolution:=optional, |
| 131 | org.xml.sax.helpers;resolution:=optional |
| 132 | </Import-Package> |
| 133 | <Private-Package> |
| 134 | org.apache.felix.ipojo.handlers.architecture, |
| 135 | org.apache.felix.ipojo.handlers.lifecycle.callback, |
| 136 | org.apache.felix.ipojo.handlers.lifecycle.controller, |
| 137 | <!-- ASM (Manipulator dependencies) --> |
| 138 | org.objectweb.asm.commons, |
| 139 | org.objectweb.asm.signature, |
| 140 | org.objectweb.asm |
| 141 | </Private-Package> |
| 142 | <Export-Package> |
| 143 | org.apache.felix.ipojo; version="${ipojo.package.version}", |
| 144 | org.apache.felix.ipojo.metadata; version="${ipojo.package.version}", |
| 145 | org.apache.felix.ipojo.architecture; version="${ipojo.package.version}", |
| 146 | org.apache.felix.ipojo.parser; version="${ipojo.package.version}", |
| 147 | org.apache.felix.ipojo.util; version="${ipojo.package.version}", |
| 148 | org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}", |
| 149 | org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}", |
| 150 | org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}", |
| 151 | org.apache.felix.ipojo.context; version="${ipojo.package.version}", |
| 152 | <!-- Embedded manipulator --> |
| 153 | org.apache.felix.ipojo.manipulator; version="${ipojo.manipulator.version}", |
| 154 | org.apache.felix.ipojo.xml.parser; version="${ipojo.manipulator.version}", |
| 155 | org.apache.felix.ipojo.*; version="${ipojo.manipulator.version}", |
| 156 | <!-- Compendium packages --> |
| 157 | org.osgi.service.cm, |
| 158 | org.osgi.service.log |
| 159 | </Export-Package> |
| 160 | <Include-Resource> |
| 161 | META-INF/LICENSE=LICENSE, |
| 162 | META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm, |
| 163 | META-INF/DEPENDENCIES=DEPENDENCIES |
| 164 | </Include-Resource> |
| 165 | <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy> |
| 166 | </instructions> |
| 167 | </configuration> |
| 168 | </plugin> |
| 169 | <plugin> |
| 170 | <groupId>org.apache.felix</groupId> |
| 171 | <artifactId>maven-ipojo-plugin</artifactId> |
| 172 | <version>1.8.4</version> |
| 173 | <executions> |
| 174 | <execution> |
| 175 | <goals> |
| 176 | <goal>ipojo-bundle</goal> |
| 177 | </goals> |
| 178 | <configuration> |
| 179 | <ignoreAnnotations>true</ignoreAnnotations> |
| 180 | </configuration> |
| 181 | </execution> |
| 182 | </executions> |
| 183 | </plugin> |
| 184 | <plugin> |
| 185 | <groupId>org.codehaus.mojo</groupId> |
| 186 | <artifactId>rat-maven-plugin</artifactId> |
| 187 | <configuration> |
| 188 | <excludeSubProjects>false</excludeSubProjects> |
| 189 | <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes> |
| 190 | <useMavenDefaultExcludes>true</useMavenDefaultExcludes> |
| 191 | <excludes> |
| 192 | <param>doc/**/*</param> |
| 193 | <param>maven-eclipse.xml</param> |
| 194 | <param>.checkstyle</param> |
| 195 | <param>.externalToolBuilders/*</param> |
| 196 | <param>LICENSE.asm</param> |
| 197 | <param>.fbprefs</param> |
| 198 | <param>DEPENDENCIES</param> |
| 199 | </excludes> |
| 200 | </configuration> |
| 201 | </plugin> |
| 202 | <plugin> |
| 203 | <groupId>org.apache.maven.plugins</groupId> |
| 204 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 205 | <configuration> |
| 206 | <enableRulesSummary>false</enableRulesSummary> |
| 207 | <violationSeverity>warning</violationSeverity> |
| 208 | <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation> |
| 209 | </configuration> |
| 210 | </plugin> |
| 211 | </plugins> |
| 212 | |
| 213 | <resources> |
| 214 | <resource> |
| 215 | <directory>src/main/resources</directory> |
| 216 | </resource> |
| 217 | <resource> |
| 218 | <directory>.</directory> |
| 219 | <targetPath>META-INF</targetPath> |
| 220 | <includes> |
| 221 | <include>LICENSE*</include> |
| 222 | <include>NOTICE*</include> |
| 223 | <include>DEPENDENCIES*</include> |
| 224 | </includes> |
| 225 | </resource> |
| 226 | </resources> |
| 227 | |
| 228 | </build> |
Clement Escoffier | bfa74d0 | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 229 | </project> |