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 | 16defd2 | 2009-07-21 18:31:22 +0000 | [diff] [blame] | 31 | <version>1.5.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 | 4cb4ff3 | 2009-08-14 12:11:19 +0000 | [diff] [blame] | 34 | <ipojo.package.version>1.6.0</ipojo.package.version> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 35 | </properties> |
| 36 | |
| 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 | 6e5fb60 | 2009-12-26 11:15:42 +0000 | [diff] [blame] | 121 | META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 122 | </Include-Resource> |
| 123 | <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy> |
| 124 | </instructions> |
| 125 | </configuration> |
| 126 | </plugin> |
| 127 | <plugin> |
| 128 | <groupId>org.apache.felix</groupId> |
| 129 | <artifactId>maven-ipojo-plugin</artifactId> |
Clement Escoffier | dad5c13 | 2009-07-21 18:34:21 +0000 | [diff] [blame] | 130 | <version>${pom.version}</version> |
Clement Escoffier | 0630c6b | 2009-07-19 16:25:18 +0000 | [diff] [blame] | 131 | <executions> |
| 132 | <execution> |
| 133 | <goals> |
| 134 | <goal>ipojo-bundle</goal> |
| 135 | </goals> |
| 136 | <configuration> |
| 137 | <metadata>metadata.xml</metadata> |
| 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> |
| 157 | </excludes> |
| 158 | </configuration> |
| 159 | </plugin> |
| 160 | <plugin> |
| 161 | <groupId>org.apache.maven.plugins</groupId> |
| 162 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 163 | <configuration> |
| 164 | <enableRulesSummary>false</enableRulesSummary> |
| 165 | <violationSeverity>warning</violationSeverity> |
| 166 | <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation> |
| 167 | </configuration> |
| 168 | </plugin> |
| 169 | </plugins> |
| 170 | </build> |
| 171 | </project> |