blob: d67cdfff5eb1a3621018be520ed59f8c9848750f [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 Escoffierb8fe1372008-11-20 15:51:56 +000019<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 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 +000021 <parent>
Clement Escoffiere50ede52008-03-28 15:33:36 +000022 <groupId>org.apache.felix</groupId>
Clement Escoffiera4142112008-03-29 15:04:02 +000023 <artifactId>felix</artifactId>
24 <version>1.0.2</version>
25 <relativePath>../../pom/pom.xml</relativePath>
Clement Escoffiere50ede52008-03-28 15:33:36 +000026 </parent>
27 <modelVersion>4.0.0</modelVersion>
28 <packaging>bundle</packaging>
29 <name>Apache Felix iPOJO</name>
30 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffiera4142112008-03-29 15:04:02 +000031 <groupId>org.apache.felix</groupId>
Clement Escoffier818e6922008-10-14 13:55:56 +000032 <version>1.1.0-SNAPSHOT</version>
Clement Escoffiera6be7932009-01-14 14:07:17 +000033
34 <properties>
Clement Escoffier9a97d702009-01-19 11:15:34 +000035 <ipojo.package.version>1.2.0</ipojo.package.version>
Clement Escoffiera6be7932009-01-14 14:07:17 +000036 </properties>
37
Clement Escoffiere50ede52008-03-28 15:33:36 +000038 <dependencies>
39 <dependency>
Clement Escoffier65fd7342008-04-07 13:29:34 +000040 <groupId>org.apache.felix</groupId>
Clement Escoffiere50ede52008-03-28 15:33:36 +000041 <artifactId>org.osgi.core</artifactId>
Clement Escoffierb8fe1372008-11-20 15:51:56 +000042 <version>1.0.1</version>
Clement Escoffiere50ede52008-03-28 15:33:36 +000043 </dependency>
44 <dependency>
Clement Escoffier65fd7342008-04-07 13:29:34 +000045 <groupId>org.apache.felix</groupId>
Clement Escoffiere50ede52008-03-28 15:33:36 +000046 <artifactId>org.osgi.compendium</artifactId>
Clement Escoffier818e6922008-10-14 13:55:56 +000047 <version>1.2.0</version>
Clement Escoffiere50ede52008-03-28 15:33:36 +000048 </dependency>
49 <dependency>
Clement Escoffier65fd7342008-04-07 13:29:34 +000050 <groupId>org.apache.felix</groupId>
Clement Escoffiere50ede52008-03-28 15:33:36 +000051 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffier818e6922008-10-14 13:55:56 +000052 <version>1.1.0-SNAPSHOT</version>
Clement Escoffiere50ede52008-03-28 15:33:36 +000053 </dependency>
Clement Escoffiere50ede52008-03-28 15:33:36 +000054 </dependencies>
55 <build>
56 <plugins>
57 <plugin>
58 <groupId>org.apache.felix</groupId>
59 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffier818e6922008-10-14 13:55:56 +000060 <version>1.4.3</version>
Clement Escoffiere50ede52008-03-28 15:33:36 +000061 <extensions>true</extensions>
62 <configuration>
63 <instructions>
Clement Escoffier23e4adf2008-12-10 12:29:41 +000064 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
Clement Escoffierb8fe1372008-11-20 15:51:56 +000065 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
66 <Bundle-SymbolicName> org.apache.felix.ipojo
Clement Escoffier4ed3b5d2008-06-11 15:11:13 +000067 </Bundle-SymbolicName>
Clement Escoffierb8fe1372008-11-20 15:51:56 +000068 <Bundle-Description> iPOJO Core Framework </Bundle-Description>
69 <Bundle-Activator> org.apache.felix.ipojo.Extender
Clement Escoffiere50ede52008-03-28 15:33:36 +000070 </Bundle-Activator>
Clement Escoffier06c1d312008-08-13 14:14:55 +000071 <Bundle-DocURL>
Clement Escoffierb8fe1372008-11-20 15:51:56 +000072 http://felix.apache.org/site/apache-felix-ipojo.html
Clement Escoffier06c1d312008-08-13 14:14:55 +000073 </Bundle-DocURL>
Clement Escoffiere50ede52008-03-28 15:33:36 +000074 <IPOJO-Extension>
75 component:org.apache.felix.ipojo.ComponentFactory,
Clement Escoffierb8fe1372008-11-20 15:51:56 +000076 handler:org.apache.felix.ipojo.HandlerManagerFactory
Clement Escoffiere50ede52008-03-28 15:33:36 +000077 </IPOJO-Extension>
Clement Escoffiera6be7932009-01-14 14:07:17 +000078 <Import-Package>
79 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
80 org.osgi.service.cm,
81 org.osgi.service.log,
82 !net.sourceforge.cobertura.* <!-- To support code coverage -->
83 </Import-Package>
84 <Private-Package>
85 org.apache.felix.ipojo.handlers.architecture,
Clement Escoffiere50ede52008-03-28 15:33:36 +000086 org.apache.felix.ipojo.handlers.lifecycle.callback,
Clement Escoffierb8fe1372008-11-20 15:51:56 +000087 org.apache.felix.ipojo.handlers.lifecycle.controller
Clement Escoffiere50ede52008-03-28 15:33:36 +000088 </Private-Package>
Clement Escoffiera6be7932009-01-14 14:07:17 +000089 <Export-Package>
90 org.apache.felix.ipojo; version="${ipojo.package.version}",
91 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
92 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
93 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
94 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
95 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
96 org.apache.felix.ipojo.handlers.providedservice; version="${ipojo.package.version}",
97 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
98 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
99 org.osgi.service.cm,
100 org.osgi.service.log
101 </Export-Package>
Clement Escoffierb8fe1372008-11-20 15:51:56 +0000102 <Include-Resource> META-INF/LICENCE=LICENSE,
103 META-INF/NOTICE=NOTICE </Include-Resource>
104 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
Clement Escoffiere50ede52008-03-28 15:33:36 +0000105 </instructions>
106 </configuration>
107 </plugin>
108 <plugin>
109 <groupId>org.apache.felix</groupId>
110 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffier818e6922008-10-14 13:55:56 +0000111 <version>1.1.0-SNAPSHOT</version>
Clement Escoffiere50ede52008-03-28 15:33:36 +0000112 <executions>
113 <execution>
114 <goals>
115 <goal>ipojo-bundle</goal>
116 </goals>
117 <configuration>
118 <metadata>metadata.xml</metadata>
119 <ignoreAnnotations>true</ignoreAnnotations>
120 </configuration>
121 </execution>
122 </executions>
123 </plugin>
Clement Escoffierb8fe1372008-11-20 15:51:56 +0000124 <plugin>
125 <groupId>org.codehaus.mojo</groupId>
126 <artifactId>rat-maven-plugin</artifactId>
127 <configuration>
128 <excludeSubProjects>false</excludeSubProjects>
129 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
130 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
131 <excludes>
132 <param>doc/**/*</param>
133 <param>maven-eclipse.xml</param>
134 <param>.checkstyle</param>
135 <param>.externalToolBuilders/*</param>
136 <param>LICENSE.asm</param>
137 <param>.fbprefs</param>
138 </excludes>
139 </configuration>
140 </plugin>
141 <plugin>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-checkstyle-plugin</artifactId>
144 <configuration>
145 <enableRulesSummary>false</enableRulesSummary>
146 <violationSeverity>warning</violationSeverity>
147 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
148 </configuration>
149 </plugin>
Clement Escoffiere50ede52008-03-28 15:33:36 +0000150 </plugins>
151 </build>
Clement Escoffierb5244f72008-10-14 10:42:54 +0000152</project>