blob: bba8e7924c81c660fe4b0dbd29d8dcc96b4a3766 [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 Escoffier9e3df082009-02-12 16:11:53 +000034 <ipojo.package.version>1.3.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>
Clement Escoffier7e4250d2009-03-19 16:29:08 +000065 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
Clement Escoffier31f25df2008-11-20 15:51:56 +000066 <Bundle-Description> iPOJO Core Framework </Bundle-Description>
67 <Bundle-Activator> org.apache.felix.ipojo.Extender
Clement Escoffierce0e1e52008-03-28 15:33:36 +000068 </Bundle-Activator>
Clement Escoffier2ae452a2008-08-13 14:14:55 +000069 <Bundle-DocURL>
Clement Escoffier31f25df2008-11-20 15:51:56 +000070 http://felix.apache.org/site/apache-felix-ipojo.html
Clement Escoffier2ae452a2008-08-13 14:14:55 +000071 </Bundle-DocURL>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000072 <IPOJO-Extension>
73 component:org.apache.felix.ipojo.ComponentFactory,
Clement Escoffier31f25df2008-11-20 15:51:56 +000074 handler:org.apache.felix.ipojo.HandlerManagerFactory
Clement Escoffierce0e1e52008-03-28 15:33:36 +000075 </IPOJO-Extension>
Clement Escoffier25137e32009-01-14 14:07:17 +000076 <Import-Package>
77 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
78 org.osgi.service.cm,
79 org.osgi.service.log,
80 !net.sourceforge.cobertura.* <!-- To support code coverage -->
81 </Import-Package>
82 <Private-Package>
83 org.apache.felix.ipojo.handlers.architecture,
Clement Escoffierce0e1e52008-03-28 15:33:36 +000084 org.apache.felix.ipojo.handlers.lifecycle.callback,
Clement Escoffier31f25df2008-11-20 15:51:56 +000085 org.apache.felix.ipojo.handlers.lifecycle.controller
Clement Escoffierce0e1e52008-03-28 15:33:36 +000086 </Private-Package>
Clement Escoffier25137e32009-01-14 14:07:17 +000087 <Export-Package>
88 org.apache.felix.ipojo; version="${ipojo.package.version}",
89 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
90 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
91 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
92 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
93 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
94 org.apache.felix.ipojo.handlers.providedservice; version="${ipojo.package.version}",
95 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
96 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
97 org.osgi.service.cm,
98 org.osgi.service.log
99 </Export-Package>
Clement Escoffier31f25df2008-11-20 15:51:56 +0000100 <Include-Resource> META-INF/LICENCE=LICENSE,
101 META-INF/NOTICE=NOTICE </Include-Resource>
102 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
Clement Escoffierce0e1e52008-03-28 15:33:36 +0000103 </instructions>
104 </configuration>
105 </plugin>
106 <plugin>
107 <groupId>org.apache.felix</groupId>
108 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffier9af6e7f2009-01-19 14:24:57 +0000109 <version>1.3.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +0000110 <executions>
111 <execution>
112 <goals>
113 <goal>ipojo-bundle</goal>
114 </goals>
115 <configuration>
116 <metadata>metadata.xml</metadata>
117 <ignoreAnnotations>true</ignoreAnnotations>
118 </configuration>
119 </execution>
120 </executions>
121 </plugin>
Clement Escoffier31f25df2008-11-20 15:51:56 +0000122 <plugin>
123 <groupId>org.codehaus.mojo</groupId>
124 <artifactId>rat-maven-plugin</artifactId>
125 <configuration>
126 <excludeSubProjects>false</excludeSubProjects>
127 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
128 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
129 <excludes>
130 <param>doc/**/*</param>
131 <param>maven-eclipse.xml</param>
132 <param>.checkstyle</param>
133 <param>.externalToolBuilders/*</param>
134 <param>LICENSE.asm</param>
135 <param>.fbprefs</param>
136 </excludes>
137 </configuration>
138 </plugin>
139 <plugin>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-checkstyle-plugin</artifactId>
142 <configuration>
143 <enableRulesSummary>false</enableRulesSummary>
144 <violationSeverity>warning</violationSeverity>
145 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
146 </configuration>
147 </plugin>
Clement Escoffierce0e1e52008-03-28 15:33:36 +0000148 </plugins>
149 </build>
Clement Escoffier451525d2008-10-14 10:42:54 +0000150</project>