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 | fd285ea | 2009-01-19 14:22:40 +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 | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 20 | <parent> |
| 21 | <groupId>org.apache.felix</groupId> |
| 22 | <artifactId>felix-parent</artifactId> |
Clement Escoffier | 5ab0b44 | 2010-04-16 13:54:16 +0000 | [diff] [blame] | 23 | <version>1.2.1</version> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 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> |
| 30 | <groupId>org.apache.felix</groupId> |
Clement Escoffier | 78007c6 | 2011-01-17 08:19:07 +0000 | [diff] [blame] | 31 | <version>1.9.0-SNAPSHOT</version> |
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 32 | |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 33 | <properties> |
Clement Escoffier | d5c5b93 | 2011-01-16 20:09:13 +0000 | [diff] [blame] | 34 | <ipojo.package.version>1.8.0</ipojo.package.version> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 35 | </properties> |
Clement Escoffier | 8563afc | 2010-08-29 09:05:18 +0000 | [diff] [blame] | 36 | |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 37 | <description> |
| 38 | iPOJO Core bundle |
| 39 | </description> |
| 40 | <url> |
| 41 | http://ipojo.org |
| 42 | </url> |
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 43 | |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 44 | <dependencies> |
| 45 | <dependency> |
Clement Escoffier | 5ab0b44 | 2010-04-16 13:54:16 +0000 | [diff] [blame] | 46 | <groupId>org.osgi</groupId> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 47 | <artifactId>org.osgi.core</artifactId> |
Clement Escoffier | 5ab0b44 | 2010-04-16 13:54:16 +0000 | [diff] [blame] | 48 | <version>4.0.0</version> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 49 | </dependency> |
| 50 | <dependency> |
Clement Escoffier | 5ab0b44 | 2010-04-16 13:54:16 +0000 | [diff] [blame] | 51 | <groupId>org.osgi</groupId> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 52 | <artifactId>org.osgi.compendium</artifactId> |
Clement Escoffier | 5ab0b44 | 2010-04-16 13:54:16 +0000 | [diff] [blame] | 53 | <version>4.0.0</version> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 54 | </dependency> |
| 55 | <dependency> |
| 56 | <groupId>org.apache.felix</groupId> |
| 57 | <artifactId>org.apache.felix.ipojo.metadata</artifactId> |
Clement Escoffier | 14bbbb2 | 2010-04-12 06:27:58 +0000 | [diff] [blame] | 58 | <version>1.4.0</version> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 59 | </dependency> |
Clement Escoffier | 6e5fb60 | 2009-12-26 11:15:42 +0000 | [diff] [blame] | 60 | <dependency> |
| 61 | <groupId>asm</groupId> |
| 62 | <artifactId>asm-all</artifactId> |
| 63 | <version>3.0</version> |
| 64 | <exclusions> |
| 65 | <exclusion> |
| 66 | <groupId>asm</groupId> |
| 67 | <artifactId>asm-tree</artifactId> |
| 68 | </exclusion> |
| 69 | </exclusions> |
| 70 | </dependency> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 71 | </dependencies> |
| 72 | <build> |
| 73 | <plugins> |
| 74 | <plugin> |
| 75 | <groupId>org.apache.felix</groupId> |
| 76 | <artifactId>maven-bundle-plugin</artifactId> |
| 77 | <version>1.4.3</version> |
| 78 | <extensions>true</extensions> |
| 79 | <configuration> |
| 80 | <instructions> |
| 81 | <Bundle-Name>Apache Felix iPOJO</Bundle-Name> |
| 82 | <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor> |
| 83 | <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName> |
| 84 | <Bundle-Description> iPOJO Core Framework </Bundle-Description> |
| 85 | <Bundle-Activator> org.apache.felix.ipojo.Extender |
| 86 | </Bundle-Activator> |
| 87 | <Bundle-DocURL> |
| 88 | http://felix.apache.org/site/apache-felix-ipojo.html |
| 89 | </Bundle-DocURL> |
| 90 | <IPOJO-Extension> |
| 91 | component:org.apache.felix.ipojo.ComponentFactory, |
| 92 | handler:org.apache.felix.ipojo.HandlerManagerFactory |
| 93 | </IPOJO-Extension> |
| 94 | <Import-Package> |
| 95 | org.osgi.framework;version=1.3, <!-- To support KF 2 --> |
| 96 | org.osgi.service.cm, |
| 97 | org.osgi.service.log, |
| 98 | !net.sourceforge.cobertura.* <!-- To support code coverage --> |
| 99 | </Import-Package> |
| 100 | <Private-Package> |
| 101 | org.apache.felix.ipojo.handlers.architecture, |
| 102 | org.apache.felix.ipojo.handlers.lifecycle.callback, |
| 103 | org.apache.felix.ipojo.handlers.lifecycle.controller |
| 104 | </Private-Package> |
| 105 | <Export-Package> |
| 106 | org.apache.felix.ipojo; version="${ipojo.package.version}", |
| 107 | org.apache.felix.ipojo.metadata; version="${ipojo.package.version}", |
| 108 | org.apache.felix.ipojo.architecture; version="${ipojo.package.version}", |
| 109 | org.apache.felix.ipojo.parser; version="${ipojo.package.version}", |
| 110 | org.apache.felix.ipojo.util; version="${ipojo.package.version}", |
| 111 | org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}", |
Clement Escoffier | d1def08 | 2009-11-24 19:39:00 +0000 | [diff] [blame] | 112 | org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}", |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 113 | org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}", |
| 114 | org.apache.felix.ipojo.context; version="${ipojo.package.version}", |
| 115 | org.osgi.service.cm, |
Clement Escoffier | 6e5fb60 | 2009-12-26 11:15:42 +0000 | [diff] [blame] | 116 | org.osgi.service.log, |
| 117 | org.objectweb.asm; version=3.0 |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 118 | </Export-Package> |
| 119 | <Include-Resource> |
| 120 | META-INF/LICENSE=LICENSE, |
Clement Escoffier | dd7c115 | 2010-07-14 18:31:13 +0000 | [diff] [blame] | 121 | META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm, |
| 122 | META-INF/DEPENDENCIES=DEPENDENCIES |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 123 | </Include-Resource> |
| 124 | <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy> |
| 125 | </instructions> |
| 126 | </configuration> |
| 127 | </plugin> |
| 128 | <plugin> |
| 129 | <groupId>org.apache.felix</groupId> |
| 130 | <artifactId>maven-ipojo-plugin</artifactId> |
Clement Escoffier | ed91f55 | 2011-01-17 08:17:08 +0000 | [diff] [blame] | 131 | <version>1.8.0</version> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 132 | <executions> |
| 133 | <execution> |
| 134 | <goals> |
| 135 | <goal>ipojo-bundle</goal> |
| 136 | </goals> |
| 137 | <configuration> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 138 | <ignoreAnnotations>true</ignoreAnnotations> |
| 139 | </configuration> |
| 140 | </execution> |
| 141 | </executions> |
| 142 | </plugin> |
| 143 | <plugin> |
| 144 | <groupId>org.codehaus.mojo</groupId> |
| 145 | <artifactId>rat-maven-plugin</artifactId> |
| 146 | <configuration> |
| 147 | <excludeSubProjects>false</excludeSubProjects> |
| 148 | <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes> |
| 149 | <useMavenDefaultExcludes>true</useMavenDefaultExcludes> |
| 150 | <excludes> |
| 151 | <param>doc/**/*</param> |
| 152 | <param>maven-eclipse.xml</param> |
| 153 | <param>.checkstyle</param> |
| 154 | <param>.externalToolBuilders/*</param> |
| 155 | <param>LICENSE.asm</param> |
| 156 | <param>.fbprefs</param> |
Clement Escoffier | 8563afc | 2010-08-29 09:05:18 +0000 | [diff] [blame] | 157 | <param>DEPENDENCIES</param> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 158 | </excludes> |
| 159 | </configuration> |
| 160 | </plugin> |
| 161 | <plugin> |
| 162 | <groupId>org.apache.maven.plugins</groupId> |
| 163 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 164 | <configuration> |
| 165 | <enableRulesSummary>false</enableRulesSummary> |
| 166 | <violationSeverity>warning</violationSeverity> |
| 167 | <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation> |
| 168 | </configuration> |
| 169 | </plugin> |
| 170 | </plugins> |
Clement Escoffier | 8563afc | 2010-08-29 09:05:18 +0000 | [diff] [blame] | 171 | |
| 172 | <resources> |
| 173 | <resource> |
| 174 | <directory>src/main/resources</directory> |
| 175 | </resource> |
| 176 | <resource> |
| 177 | <directory>.</directory> |
| 178 | <targetPath>META-INF</targetPath> |
| 179 | <includes> |
| 180 | <include>LICENSE*</include> |
| 181 | <include>NOTICE*</include> |
| 182 | <include>DEPENDENCIES*</include> |
| 183 | </includes> |
| 184 | </resource> |
| 185 | </resources> |
| 186 | |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 187 | </build> |
| 188 | </project> |