blob: 8debd71b3f6ece67b2b447e386ba14b9dc84e481 [file] [log] [blame]
Clement Escoffier8aa13cb2008-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
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
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.
18-->
Clement Escoffierfd285ea2009-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 Escoffiere50ede52008-03-28 15:33:36 +000020 <parent>
Clement Escoffiere50ede52008-03-28 15:33:36 +000021 <groupId>org.apache.felix</groupId>
Clement Escoffierce123392009-04-30 14:00:40 +000022 <artifactId>felix-parent</artifactId>
23 <version>1.2.0</version>
Clement Escoffiera4142112008-03-29 15:04:02 +000024 <relativePath>../../pom/pom.xml</relativePath>
Clement Escoffiere50ede52008-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 Escoffiera4142112008-03-29 15:04:02 +000030 <groupId>org.apache.felix</groupId>
Clement Escoffier521f93e2009-01-19 14:23:07 +000031 <version>1.3.0-SNAPSHOT</version>
Clement Escoffiera6be7932009-01-14 14:07:17 +000032
33 <properties>
Clement Escoffierb7145db2009-02-12 16:11:53 +000034 <ipojo.package.version>1.3.0</ipojo.package.version>
Clement Escoffiera6be7932009-01-14 14:07:17 +000035 </properties>
36
Clement Escoffiere50ede52008-03-28 15:33:36 +000037 <dependencies>
38 <dependency>
Clement Escoffier65fd7342008-04-07 13:29:34 +000039 <groupId>org.apache.felix</groupId>
Clement Escoffiere50ede52008-03-28 15:33:36 +000040 <artifactId>org.osgi.core</artifactId>
Clement Escoffierb8fe1372008-11-20 15:51:56 +000041 <version>1.0.1</version>
Clement Escoffiere50ede52008-03-28 15:33:36 +000042 </dependency>
43 <dependency>
Clement Escoffier65fd7342008-04-07 13:29:34 +000044 <groupId>org.apache.felix</groupId>
Clement Escoffiere50ede52008-03-28 15:33:36 +000045 <artifactId>org.osgi.compendium</artifactId>
Clement Escoffier818e6922008-10-14 13:55:56 +000046 <version>1.2.0</version>
Clement Escoffiere50ede52008-03-28 15:33:36 +000047 </dependency>
48 <dependency>
Clement Escoffier65fd7342008-04-07 13:29:34 +000049 <groupId>org.apache.felix</groupId>
Clement Escoffiere50ede52008-03-28 15:33:36 +000050 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffierdd09f192009-01-19 14:24:57 +000051 <version>1.3.0-SNAPSHOT</version>
Clement Escoffiere50ede52008-03-28 15:33:36 +000052 </dependency>
Clement Escoffierce123392009-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 Escoffiere50ede52008-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 Escoffier818e6922008-10-14 13:55:56 +000070 <version>1.4.3</version>
Clement Escoffiere50ede52008-03-28 15:33:36 +000071 <extensions>true</extensions>
72 <configuration>
73 <instructions>
Clement Escoffier23e4adf2008-12-10 12:29:41 +000074 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
Clement Escoffierb8fe1372008-11-20 15:51:56 +000075 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
Clement Escoffierc77310c2009-03-19 16:29:08 +000076 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
Clement Escoffierb8fe1372008-11-20 15:51:56 +000077 <Bundle-Description> iPOJO Core Framework </Bundle-Description>
78 <Bundle-Activator> org.apache.felix.ipojo.Extender
Clement Escoffiere50ede52008-03-28 15:33:36 +000079 </Bundle-Activator>
Clement Escoffier06c1d312008-08-13 14:14:55 +000080 <Bundle-DocURL>
Clement Escoffierb8fe1372008-11-20 15:51:56 +000081 http://felix.apache.org/site/apache-felix-ipojo.html
Clement Escoffier06c1d312008-08-13 14:14:55 +000082 </Bundle-DocURL>
Clement Escoffiere50ede52008-03-28 15:33:36 +000083 <IPOJO-Extension>
84 component:org.apache.felix.ipojo.ComponentFactory,
Clement Escoffierb8fe1372008-11-20 15:51:56 +000085 handler:org.apache.felix.ipojo.HandlerManagerFactory
Clement Escoffiere50ede52008-03-28 15:33:36 +000086 </IPOJO-Extension>
Clement Escoffiera6be7932009-01-14 14:07:17 +000087 <Import-Package>
88 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
89 org.osgi.service.cm,
90 org.osgi.service.log,
91 !net.sourceforge.cobertura.* <!-- To support code coverage -->
92 </Import-Package>
93 <Private-Package>
94 org.apache.felix.ipojo.handlers.architecture,
Clement Escoffiere50ede52008-03-28 15:33:36 +000095 org.apache.felix.ipojo.handlers.lifecycle.callback,
Clement Escoffierce123392009-04-30 14:00:40 +000096 org.apache.felix.ipojo.handlers.lifecycle.controller,
97 org.objectweb.asm
Clement Escoffiere50ede52008-03-28 15:33:36 +000098 </Private-Package>
Clement Escoffiera6be7932009-01-14 14:07:17 +000099 <Export-Package>
100 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}",
109 org.osgi.service.cm,
110 org.osgi.service.log
111 </Export-Package>
Clement Escoffierce123392009-04-30 14:00:40 +0000112 <Include-Resource>
113 META-INF/LICENCE=LICENSE,
114 META-INF/NOTICE=NOTICE
115 </Include-Resource>
Clement Escoffierb8fe1372008-11-20 15:51:56 +0000116 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
Clement Escoffiere50ede52008-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 Escoffierdd09f192009-01-19 14:24:57 +0000123 <version>1.3.0-SNAPSHOT</version>
Clement Escoffiere50ede52008-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 Escoffierb8fe1372008-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 Escoffiere50ede52008-03-28 15:33:36 +0000162 </plugins>
163 </build>
Clement Escoffierb5244f72008-10-14 10:42:54 +0000164</project>