blob: 1c0b46069c2bde5a00f09e07cdab07a73687d2cc [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
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 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 Escoffier7d116ff2008-03-29 15:04:02 +000022 <artifactId>felix</artifactId>
23 <version>1.0.2</version>
24 <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 Escoffier25137e32009-01-14 14:07:17 +000032
33 <properties>
Clement Escoffierdc4c1182009-01-19 11:15:34 +000034 <ipojo.package.version>1.2.0</ipojo.package.version>
Clement Escoffier25137e32009-01-14 14:07:17 +000035 </properties>
36
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 Escoffier9af6e7f2009-01-19 14:24:57 +000051 <version>1.3.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000052 </dependency>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000053 </dependencies>
54 <build>
55 <plugins>
56 <plugin>
57 <groupId>org.apache.felix</groupId>
58 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffier2e9f4b32008-10-14 13:55:56 +000059 <version>1.4.3</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000060 <extensions>true</extensions>
61 <configuration>
62 <instructions>
Clement Escoffier8d888352008-12-10 12:29:41 +000063 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
Clement Escoffier31f25df2008-11-20 15:51:56 +000064 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
65 <Bundle-SymbolicName> org.apache.felix.ipojo
Clement Escoffierc9e6d252008-06-11 15:11:13 +000066 </Bundle-SymbolicName>
Clement Escoffier31f25df2008-11-20 15:51:56 +000067 <Bundle-Description> iPOJO Core Framework </Bundle-Description>
68 <Bundle-Activator> org.apache.felix.ipojo.Extender
Clement Escoffierce0e1e52008-03-28 15:33:36 +000069 </Bundle-Activator>
Clement Escoffier2ae452a2008-08-13 14:14:55 +000070 <Bundle-DocURL>
Clement Escoffier31f25df2008-11-20 15:51:56 +000071 http://felix.apache.org/site/apache-felix-ipojo.html
Clement Escoffier2ae452a2008-08-13 14:14:55 +000072 </Bundle-DocURL>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000073 <IPOJO-Extension>
74 component:org.apache.felix.ipojo.ComponentFactory,
Clement Escoffier31f25df2008-11-20 15:51:56 +000075 handler:org.apache.felix.ipojo.HandlerManagerFactory
Clement Escoffierce0e1e52008-03-28 15:33:36 +000076 </IPOJO-Extension>
Clement Escoffier25137e32009-01-14 14:07:17 +000077 <Import-Package>
78 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
79 org.osgi.service.cm,
80 org.osgi.service.log,
81 !net.sourceforge.cobertura.* <!-- To support code coverage -->
82 </Import-Package>
83 <Private-Package>
84 org.apache.felix.ipojo.handlers.architecture,
Clement Escoffierce0e1e52008-03-28 15:33:36 +000085 org.apache.felix.ipojo.handlers.lifecycle.callback,
Clement Escoffier31f25df2008-11-20 15:51:56 +000086 org.apache.felix.ipojo.handlers.lifecycle.controller
Clement Escoffierce0e1e52008-03-28 15:33:36 +000087 </Private-Package>
Clement Escoffier25137e32009-01-14 14:07:17 +000088 <Export-Package>
89 org.apache.felix.ipojo; version="${ipojo.package.version}",
90 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
91 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
92 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
93 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
94 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
95 org.apache.felix.ipojo.handlers.providedservice; version="${ipojo.package.version}",
96 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
97 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
98 org.osgi.service.cm,
99 org.osgi.service.log
100 </Export-Package>
Clement Escoffier31f25df2008-11-20 15:51:56 +0000101 <Include-Resource> META-INF/LICENCE=LICENSE,
102 META-INF/NOTICE=NOTICE </Include-Resource>
103 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
Clement Escoffierce0e1e52008-03-28 15:33:36 +0000104 </instructions>
105 </configuration>
106 </plugin>
107 <plugin>
108 <groupId>org.apache.felix</groupId>
109 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffier9af6e7f2009-01-19 14:24:57 +0000110 <version>1.3.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +0000111 <executions>
112 <execution>
113 <goals>
114 <goal>ipojo-bundle</goal>
115 </goals>
116 <configuration>
117 <metadata>metadata.xml</metadata>
118 <ignoreAnnotations>true</ignoreAnnotations>
119 </configuration>
120 </execution>
121 </executions>
122 </plugin>
Clement Escoffier31f25df2008-11-20 15:51:56 +0000123 <plugin>
124 <groupId>org.codehaus.mojo</groupId>
125 <artifactId>rat-maven-plugin</artifactId>
126 <configuration>
127 <excludeSubProjects>false</excludeSubProjects>
128 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
129 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
130 <excludes>
131 <param>doc/**/*</param>
132 <param>maven-eclipse.xml</param>
133 <param>.checkstyle</param>
134 <param>.externalToolBuilders/*</param>
135 <param>LICENSE.asm</param>
136 <param>.fbprefs</param>
137 </excludes>
138 </configuration>
139 </plugin>
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-checkstyle-plugin</artifactId>
143 <configuration>
144 <enableRulesSummary>false</enableRulesSummary>
145 <violationSeverity>warning</violationSeverity>
146 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
147 </configuration>
148 </plugin>
Clement Escoffierce0e1e52008-03-28 15:33:36 +0000149 </plugins>
150 </build>
Clement Escoffier451525d2008-10-14 10:42:54 +0000151</project>