blob: d1b36f1c2149ee999780712065226bcc3cd8dcf0 [file] [log] [blame]
Clement Escoffierfb9045d2008-10-14 10:44:18 +00001<!--
Clement Escoffierbfa74d02009-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 Escoffier0b93f382009-07-03 13:16:24 +00009
Clement Escoffierbfa74d02009-07-19 16:25:18 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffier0b93f382009-07-03 13:16:24 +000011
Clement Escoffierbfa74d02009-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 Escoffierfb9045d2008-10-14 10:44:18 +000018-->
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 Escoffierbfa74d02009-07-19 16:25:18 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
Clement Escoffier86215df2010-04-16 13:54:16 +000023 <version>1.2.1</version>
Clement Escoffierbfa74d02009-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>
Clement Escoffier6aee0262011-01-17 08:19:07 +000030 <version>1.9.0-SNAPSHOT</version>
Clement Escoffier0b93f382009-07-03 13:16:24 +000031
Clement Escoffierbfa74d02009-07-19 16:25:18 +000032 <properties>
Clement Escoffier2fd18232011-10-05 14:03:33 +000033 <!--
34 * 1.8.1 : change in the MethodInterceptor interface (FELIX-3144)
35 -->
36 <ipojo.package.version>1.8.1</ipojo.package.version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000037 </properties>
Clement Escoffier6191b082010-08-29 09:05:18 +000038
Clement Escoffierbfa74d02009-07-19 16:25:18 +000039 <description>
40 iPOJO Core bundle
41 </description>
42 <url>
43 http://ipojo.org
44 </url>
Clement Escoffier0b93f382009-07-03 13:16:24 +000045
Clement Escoffierbfa74d02009-07-19 16:25:18 +000046 <dependencies>
47 <dependency>
Clement Escoffier86215df2010-04-16 13:54:16 +000048 <groupId>org.osgi</groupId>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000049 <artifactId>org.osgi.core</artifactId>
Clement Escoffierc097abc2011-10-19 15:07:26 +000050 <version>4.3.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000051 </dependency>
52 <dependency>
Clement Escoffier86215df2010-04-16 13:54:16 +000053 <groupId>org.osgi</groupId>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000054 <artifactId>org.osgi.compendium</artifactId>
Clement Escoffier86215df2010-04-16 13:54:16 +000055 <version>4.0.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000056 </dependency>
57 <dependency>
58 <groupId>org.apache.felix</groupId>
59 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffier737b16b2011-09-25 10:58:16 +000060 <version>1.5.0-SNAPSHOT</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000061 </dependency>
Clement Escoffier769c9942009-12-26 11:15:42 +000062 <dependency>
63 <groupId>asm</groupId>
64 <artifactId>asm-all</artifactId>
Clement Escoffiera6725432011-10-05 14:55:48 +000065 <version>3.3.1</version>
Clement Escoffier769c9942009-12-26 11:15:42 +000066 <exclusions>
67 <exclusion>
68 <groupId>asm</groupId>
69 <artifactId>asm-tree</artifactId>
70 </exclusion>
71 </exclusions>
72 </dependency>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000073 </dependencies>
74 <build>
75 <plugins>
76 <plugin>
Clement Escoffierc097abc2011-10-19 15:07:26 +000077 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-compiler-plugin</artifactId>
79 <configuration>
80 <target>jsr14</target>
81 <source>1.5</source>
82 </configuration>
83 </plugin>
84 <plugin>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000085 <groupId>org.apache.felix</groupId>
86 <artifactId>maven-bundle-plugin</artifactId>
87 <version>1.4.3</version>
88 <extensions>true</extensions>
89 <configuration>
90 <instructions>
91 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
92 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
93 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
94 <Bundle-Description> iPOJO Core Framework </Bundle-Description>
95 <Bundle-Activator> org.apache.felix.ipojo.Extender
96 </Bundle-Activator>
97 <Bundle-DocURL>
98 http://felix.apache.org/site/apache-felix-ipojo.html
99 </Bundle-DocURL>
100 <IPOJO-Extension>
101 component:org.apache.felix.ipojo.ComponentFactory,
102 handler:org.apache.felix.ipojo.HandlerManagerFactory
103 </IPOJO-Extension>
104 <Import-Package>
105 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
106 org.osgi.service.cm,
107 org.osgi.service.log,
108 !net.sourceforge.cobertura.* <!-- To support code coverage -->
109 </Import-Package>
110 <Private-Package>
111 org.apache.felix.ipojo.handlers.architecture,
112 org.apache.felix.ipojo.handlers.lifecycle.callback,
113 org.apache.felix.ipojo.handlers.lifecycle.controller
114 </Private-Package>
115 <Export-Package>
116 org.apache.felix.ipojo; version="${ipojo.package.version}",
117 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
118 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
119 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
120 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
121 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
Clement Escoffier029880f2009-11-24 19:39:00 +0000122 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000123 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
124 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
125 org.osgi.service.cm,
Clement Escoffier769c9942009-12-26 11:15:42 +0000126 org.osgi.service.log,
Clement Escoffiera6725432011-10-05 14:55:48 +0000127 org.objectweb.asm; version=3.3.1
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000128 </Export-Package>
129 <Include-Resource>
130 META-INF/LICENSE=LICENSE,
Clement Escoffier1593ef52010-07-14 18:31:13 +0000131 META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm,
132 META-INF/DEPENDENCIES=DEPENDENCIES
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000133 </Include-Resource>
134 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
135 </instructions>
136 </configuration>
137 </plugin>
138 <plugin>
139 <groupId>org.apache.felix</groupId>
140 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffierb2c5b4b2011-01-17 08:17:08 +0000141 <version>1.8.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000142 <executions>
143 <execution>
144 <goals>
145 <goal>ipojo-bundle</goal>
146 </goals>
147 <configuration>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000148 <ignoreAnnotations>true</ignoreAnnotations>
149 </configuration>
150 </execution>
151 </executions>
152 </plugin>
153 <plugin>
154 <groupId>org.codehaus.mojo</groupId>
155 <artifactId>rat-maven-plugin</artifactId>
156 <configuration>
157 <excludeSubProjects>false</excludeSubProjects>
158 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
159 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
160 <excludes>
161 <param>doc/**/*</param>
162 <param>maven-eclipse.xml</param>
163 <param>.checkstyle</param>
164 <param>.externalToolBuilders/*</param>
165 <param>LICENSE.asm</param>
166 <param>.fbprefs</param>
Clement Escoffier6191b082010-08-29 09:05:18 +0000167 <param>DEPENDENCIES</param>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000168 </excludes>
169 </configuration>
170 </plugin>
171 <plugin>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-checkstyle-plugin</artifactId>
174 <configuration>
175 <enableRulesSummary>false</enableRulesSummary>
176 <violationSeverity>warning</violationSeverity>
177 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
178 </configuration>
179 </plugin>
180 </plugins>
Clement Escoffier6191b082010-08-29 09:05:18 +0000181
182 <resources>
Clement Escoffier737b16b2011-09-25 10:58:16 +0000183 <resource>
184 <directory>src/main/resources</directory>
185 </resource>
186 <resource>
187 <directory>.</directory>
188 <targetPath>META-INF</targetPath>
189 <includes>
190 <include>LICENSE*</include>
191 <include>NOTICE*</include>
192 <include>DEPENDENCIES*</include>
193 </includes>
194 </resource>
195 </resources>
Clement Escoffier6191b082010-08-29 09:05:18 +0000196
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000197 </build>
198</project>