blob: 7592ab3f6d8a61fed84d87995ad2fc74948cc998 [file] [log] [blame]
Clement Escoffier8aa13cb2008-10-14 10:44:18 +00001<!--
Clement Escoffier0630c6b2009-07-19 16:25:18 +00002 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 Escoffierc80b73d2009-07-03 13:16:24 +00009
Clement Escoffier0630c6b2009-07-19 16:25:18 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffierc80b73d2009-07-03 13:16:24 +000011
Clement Escoffier0630c6b2009-07-19 16:25: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.
Clement Escoffier8aa13cb2008-10-14 10:44:18 +000018-->
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 Escoffier0630c6b2009-07-19 16:25:18 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
Clement Escoffier5ab0b442010-04-16 13:54:16 +000023 <version>1.2.1</version>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000024 <relativePath>../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <packaging>bundle</packaging>
28 <name>Apache Felix iPOJO</name>
29 <artifactId>org.apache.felix.ipojo</artifactId>
30 <groupId>org.apache.felix</groupId>
Clement Escoffier25cb5dd2010-04-16 14:22:34 +000031 <version>1.7.0-SNAPSHOT</version>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000032
Clement Escoffier0630c6b2009-07-19 16:25:18 +000033 <properties>
Clement Escoffier4cb4ff32009-08-14 12:11:19 +000034 <ipojo.package.version>1.6.0</ipojo.package.version>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000035 </properties>
36
37 <description>
38 iPOJO Core bundle
39 </description>
40 <url>
41 http://ipojo.org
42 </url>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000043
Clement Escoffier0630c6b2009-07-19 16:25:18 +000044 <dependencies>
45 <dependency>
Clement Escoffier5ab0b442010-04-16 13:54:16 +000046 <groupId>org.osgi</groupId>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000047 <artifactId>org.osgi.core</artifactId>
Clement Escoffier5ab0b442010-04-16 13:54:16 +000048 <version>4.0.0</version>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000049 </dependency>
50 <dependency>
Clement Escoffier5ab0b442010-04-16 13:54:16 +000051 <groupId>org.osgi</groupId>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000052 <artifactId>org.osgi.compendium</artifactId>
Clement Escoffier5ab0b442010-04-16 13:54:16 +000053 <version>4.0.0</version>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000054 </dependency>
55 <dependency>
56 <groupId>org.apache.felix</groupId>
57 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffier14bbbb22010-04-12 06:27:58 +000058 <version>1.4.0</version>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000059 </dependency>
Clement Escoffier6e5fb602009-12-26 11:15:42 +000060 <dependency>
61 <groupId>asm</groupId>
62 <artifactId>asm-all</artifactId>
63 <version>3.0</version>
64 <exclusions>
65 <exclusion>
66 <groupId>asm</groupId>
67 <artifactId>asm-tree</artifactId>
68 </exclusion>
69 </exclusions>
70 </dependency>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000071 </dependencies>
72 <build>
73 <plugins>
74 <plugin>
75 <groupId>org.apache.felix</groupId>
76 <artifactId>maven-bundle-plugin</artifactId>
77 <version>1.4.3</version>
78 <extensions>true</extensions>
79 <configuration>
80 <instructions>
81 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
82 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
83 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
84 <Bundle-Description> iPOJO Core Framework </Bundle-Description>
85 <Bundle-Activator> org.apache.felix.ipojo.Extender
86 </Bundle-Activator>
87 <Bundle-DocURL>
88 http://felix.apache.org/site/apache-felix-ipojo.html
89 </Bundle-DocURL>
90 <IPOJO-Extension>
91 component:org.apache.felix.ipojo.ComponentFactory,
92 handler:org.apache.felix.ipojo.HandlerManagerFactory
93 </IPOJO-Extension>
94 <Import-Package>
95 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
96 org.osgi.service.cm,
97 org.osgi.service.log,
98 !net.sourceforge.cobertura.* <!-- To support code coverage -->
99 </Import-Package>
100 <Private-Package>
101 org.apache.felix.ipojo.handlers.architecture,
102 org.apache.felix.ipojo.handlers.lifecycle.callback,
103 org.apache.felix.ipojo.handlers.lifecycle.controller
104 </Private-Package>
105 <Export-Package>
106 org.apache.felix.ipojo; version="${ipojo.package.version}",
107 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
108 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
109 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
110 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
111 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
Clement Escoffierd1def082009-11-24 19:39:00 +0000112 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000113 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
114 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
115 org.osgi.service.cm,
Clement Escoffier6e5fb602009-12-26 11:15:42 +0000116 org.osgi.service.log,
117 org.objectweb.asm; version=3.0
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000118 </Export-Package>
119 <Include-Resource>
120 META-INF/LICENSE=LICENSE,
Clement Escoffier6e5fb602009-12-26 11:15:42 +0000121 META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000122 </Include-Resource>
123 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
124 </instructions>
125 </configuration>
126 </plugin>
127 <plugin>
128 <groupId>org.apache.felix</groupId>
129 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffierfe606902010-05-01 10:46:02 +0000130 <version>${project.version}</version>
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000131 <executions>
132 <execution>
133 <goals>
134 <goal>ipojo-bundle</goal>
135 </goals>
136 <configuration>
137 <metadata>metadata.xml</metadata>
138 <ignoreAnnotations>true</ignoreAnnotations>
139 </configuration>
140 </execution>
141 </executions>
142 </plugin>
143 <plugin>
144 <groupId>org.codehaus.mojo</groupId>
145 <artifactId>rat-maven-plugin</artifactId>
146 <configuration>
147 <excludeSubProjects>false</excludeSubProjects>
148 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
149 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
150 <excludes>
151 <param>doc/**/*</param>
152 <param>maven-eclipse.xml</param>
153 <param>.checkstyle</param>
154 <param>.externalToolBuilders/*</param>
155 <param>LICENSE.asm</param>
156 <param>.fbprefs</param>
157 </excludes>
158 </configuration>
159 </plugin>
160 <plugin>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-checkstyle-plugin</artifactId>
163 <configuration>
164 <enableRulesSummary>false</enableRulesSummary>
165 <violationSeverity>warning</violationSeverity>
166 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
167 </configuration>
168 </plugin>
169 </plugins>
170 </build>
171</project>