blob: d5044a0066f6e49bdc6a7ea9fe73809b0d64e5e7 [file] [log] [blame]
Clement Escoffierfb9045d2008-10-14 10:44:18 +00001<!--
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 Escoffier0b93f382009-07-03 13:16:24 +00009
Clement Escoffierfb9045d2008-10-14 10:44:18 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffier0b93f382009-07-03 13:16:24 +000011
Clement Escoffierfb9045d2008-10-14 10:44:18 +000012 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.
18-->
Clement Escoffierbf692b02009-01-19 14:22:40 +000019<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 Escoffierce0e1e52008-03-28 15:33:36 +000020 <parent>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000021 <groupId>org.apache.felix</groupId>
Clement Escoffiere2591592009-04-30 14:00:40 +000022 <artifactId>felix-parent</artifactId>
23 <version>1.2.0</version>
Clement Escoffier7d116ff2008-03-29 15:04:02 +000024 <relativePath>../../pom/pom.xml</relativePath>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000025 </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 Escoffier7d116ff2008-03-29 15:04:02 +000030 <groupId>org.apache.felix</groupId>
Clement Escoffier00acd532009-01-19 14:23:07 +000031 <version>1.3.0-SNAPSHOT</version>
Clement Escoffier0b93f382009-07-03 13:16:24 +000032
Clement Escoffier25137e32009-01-14 14:07:17 +000033 <properties>
Clement Escoffier0b93f382009-07-03 13:16:24 +000034 <ipojo.package.version>1.4.0</ipojo.package.version>
Clement Escoffier25137e32009-01-14 14:07:17 +000035 </properties>
Clement Escoffier0b93f382009-07-03 13:16:24 +000036
Clement Escoffierce0e1e52008-03-28 15:33:36 +000037 <dependencies>
38 <dependency>
Clement Escoffier4a12e332008-04-07 13:29:34 +000039 <groupId>org.apache.felix</groupId>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000040 <artifactId>org.osgi.core</artifactId>
Clement Escoffier31f25df2008-11-20 15:51:56 +000041 <version>1.0.1</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000042 </dependency>
43 <dependency>
Clement Escoffier4a12e332008-04-07 13:29:34 +000044 <groupId>org.apache.felix</groupId>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000045 <artifactId>org.osgi.compendium</artifactId>
Clement Escoffier2e9f4b32008-10-14 13:55:56 +000046 <version>1.2.0</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000047 </dependency>
48 <dependency>
Clement Escoffier4a12e332008-04-07 13:29:34 +000049 <groupId>org.apache.felix</groupId>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000050 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffier0b93f382009-07-03 13:16:24 +000051 <version>${pom.version}</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000052 </dependency>
Clement Escoffiere2591592009-04-30 14:00:40 +000053 <dependency>
54 <groupId>asm</groupId>
55 <artifactId>asm-all</artifactId>
56 <version>3.0</version>
57 <exclusions>
58 <exclusion>
59 <groupId>asm</groupId>
60 <artifactId>asm-tree</artifactId>
61 </exclusion>
62 </exclusions>
63 </dependency>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000064 </dependencies>
65 <build>
66 <plugins>
67 <plugin>
68 <groupId>org.apache.felix</groupId>
69 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffier2e9f4b32008-10-14 13:55:56 +000070 <version>1.4.3</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000071 <extensions>true</extensions>
72 <configuration>
73 <instructions>
Clement Escoffier8d888352008-12-10 12:29:41 +000074 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
Clement Escoffier31f25df2008-11-20 15:51:56 +000075 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
Clement Escoffier7e4250d2009-03-19 16:29:08 +000076 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
Clement Escoffier31f25df2008-11-20 15:51:56 +000077 <Bundle-Description> iPOJO Core Framework </Bundle-Description>
Clement Escoffier0b93f382009-07-03 13:16:24 +000078 <Bundle-Activator> org.apache.felix.ipojo.Extender
Clement Escoffierce0e1e52008-03-28 15:33:36 +000079 </Bundle-Activator>
Clement Escoffier2ae452a2008-08-13 14:14:55 +000080 <Bundle-DocURL>
Clement Escoffier0b93f382009-07-03 13:16:24 +000081 http://felix.apache.org/site/apache-felix-ipojo.html
Clement Escoffier2ae452a2008-08-13 14:14:55 +000082 </Bundle-DocURL>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000083 <IPOJO-Extension>
84 component:org.apache.felix.ipojo.ComponentFactory,
Clement Escoffier0b93f382009-07-03 13:16:24 +000085 handler:org.apache.felix.ipojo.HandlerManagerFactory
Clement Escoffierce0e1e52008-03-28 15:33:36 +000086 </IPOJO-Extension>
Clement Escoffier0b93f382009-07-03 13:16:24 +000087 <Import-Package>
88 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
Clement Escoffier25137e32009-01-14 14:07:17 +000089 org.osgi.service.cm,
Clement Escoffier0b93f382009-07-03 13:16:24 +000090 org.osgi.service.log,
Clement Escoffier25137e32009-01-14 14:07:17 +000091 !net.sourceforge.cobertura.* <!-- To support code coverage -->
92 </Import-Package>
Clement Escoffier0b93f382009-07-03 13:16:24 +000093 <Private-Package>
Clement Escoffier25137e32009-01-14 14:07:17 +000094 org.apache.felix.ipojo.handlers.architecture,
Clement Escoffierce0e1e52008-03-28 15:33:36 +000095 org.apache.felix.ipojo.handlers.lifecycle.callback,
Clement Escoffiere2591592009-04-30 14:00:40 +000096 org.apache.felix.ipojo.handlers.lifecycle.controller,
97 org.objectweb.asm
Clement Escoffierce0e1e52008-03-28 15:33:36 +000098 </Private-Package>
Clement Escoffier0b93f382009-07-03 13:16:24 +000099 <Export-Package>
Clement Escoffier25137e32009-01-14 14:07:17 +0000100 org.apache.felix.ipojo; version="${ipojo.package.version}",
101 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
102 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
103 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
104 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
105 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
106 org.apache.felix.ipojo.handlers.providedservice; version="${ipojo.package.version}",
107 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
108 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
Clement Escoffier0b93f382009-07-03 13:16:24 +0000109 org.osgi.service.cm,
110 org.osgi.service.log
Clement Escoffier25137e32009-01-14 14:07:17 +0000111 </Export-Package>
Clement Escoffier0b93f382009-07-03 13:16:24 +0000112 <Include-Resource>
Clement Escoffiere2591592009-04-30 14:00:40 +0000113 META-INF/LICENCE=LICENSE,
Clement Escoffier0b93f382009-07-03 13:16:24 +0000114 META-INF/NOTICE=NOTICE
Clement Escoffiere2591592009-04-30 14:00:40 +0000115 </Include-Resource>
Clement Escoffier31f25df2008-11-20 15:51:56 +0000116 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
Clement Escoffierce0e1e52008-03-28 15:33:36 +0000117 </instructions>
118 </configuration>
119 </plugin>
120 <plugin>
121 <groupId>org.apache.felix</groupId>
122 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffier0b93f382009-07-03 13:16:24 +0000123 <version>${pom.version}</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +0000124 <executions>
125 <execution>
126 <goals>
127 <goal>ipojo-bundle</goal>
128 </goals>
129 <configuration>
130 <metadata>metadata.xml</metadata>
131 <ignoreAnnotations>true</ignoreAnnotations>
132 </configuration>
133 </execution>
134 </executions>
135 </plugin>
Clement Escoffier31f25df2008-11-20 15:51:56 +0000136 <plugin>
137 <groupId>org.codehaus.mojo</groupId>
138 <artifactId>rat-maven-plugin</artifactId>
139 <configuration>
140 <excludeSubProjects>false</excludeSubProjects>
141 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
142 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
143 <excludes>
144 <param>doc/**/*</param>
145 <param>maven-eclipse.xml</param>
146 <param>.checkstyle</param>
147 <param>.externalToolBuilders/*</param>
148 <param>LICENSE.asm</param>
149 <param>.fbprefs</param>
150 </excludes>
151 </configuration>
152 </plugin>
153 <plugin>
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-checkstyle-plugin</artifactId>
156 <configuration>
157 <enableRulesSummary>false</enableRulesSummary>
158 <violationSeverity>warning</violationSeverity>
159 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
160 </configuration>
161 </plugin>
Clement Escoffierce0e1e52008-03-28 15:33:36 +0000162 </plugins>
163 </build>
Clement Escoffier451525d2008-10-14 10:42:54 +0000164</project>