blob: a47db9e021571470a0cbef958544c6898098b884 [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 Escoffierc608f452010-05-16 15:01:42 +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 Escoffierdd7c1152010-07-14 18:31:13 +0000121 META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm,
122 META-INF/DEPENDENCIES=DEPENDENCIES
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000123 </Include-Resource>
124 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
125 </instructions>
126 </configuration>
127 </plugin>
128 <plugin>
129 <groupId>org.apache.felix</groupId>
130 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffierc534b9c2010-05-16 15:00:25 +0000131 <version>1.6.0</version>
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000132 <executions>
133 <execution>
134 <goals>
135 <goal>ipojo-bundle</goal>
136 </goals>
137 <configuration>
138 <metadata>metadata.xml</metadata>
139 <ignoreAnnotations>true</ignoreAnnotations>
140 </configuration>
141 </execution>
142 </executions>
143 </plugin>
144 <plugin>
145 <groupId>org.codehaus.mojo</groupId>
146 <artifactId>rat-maven-plugin</artifactId>
147 <configuration>
148 <excludeSubProjects>false</excludeSubProjects>
149 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
150 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
151 <excludes>
152 <param>doc/**/*</param>
153 <param>maven-eclipse.xml</param>
154 <param>.checkstyle</param>
155 <param>.externalToolBuilders/*</param>
156 <param>LICENSE.asm</param>
157 <param>.fbprefs</param>
158 </excludes>
159 </configuration>
160 </plugin>
161 <plugin>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-checkstyle-plugin</artifactId>
164 <configuration>
165 <enableRulesSummary>false</enableRulesSummary>
166 <violationSeverity>warning</violationSeverity>
167 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
168 </configuration>
169 </plugin>
170 </plugins>
171 </build>
172</project>